m-opensolutions

Engineering and IT solutions for everyday life

Skip to content
  • Home
  • About Me
  • Videos
  • Articles
  • Links
  • Contact
m-opensolutions

Linux Mint LMDE Server Setup #2: LTSP Guest Accounts and MATE Desktop setup

Here is how I set up guest accounts and desktop for LTSP ( Look at 25pc.com for the tools and downloads you need) on Linux Mint Debian Edition 64 bit MATE:

1. Edit “/opt/ltsp/i386/etc/lts.conf”. My lts.conf looks like this:

[Default]
LTSP_CONFIG=True
LDM_GUESTLOGIN=True
LDM_PASSWORD=secret

2. Create guest accounts (guest password has to be the same as the value of “LDM_PASSWORD”):

sudo adduser ltsp20
sudo adduser ltsp21
sudo adduser ltsp22
sudo adduser ltsp23
sudo adduser ltsp24
sudo adduser ltsp25

3. In order to refresh guest home and settings every time guest login, we need to create a file “/opt/ltsp/i386/usr/share/ldm/rc.d/S00-guest-sessions”. Put this following text into that file:

case "$LDM_USERNAME" in
    ltsp*)
        ssh -S "$LDM_SOCKET" "$LDM_SERVER" 'cd; rm -rf .* *; rsync -a /etc/skel/ .'
        ;;
esac

4. Set conky to start up automatically on guest login:

4.1. Login as guest:

screenshot-20150208@152915

4.2. Press ALT-F2, type in “mate-session-properties” and click run:

mate_run

4.3. Click insert:

mate_autostart

4.4. Type in conky autostart command parameter “conky -p 15”:

mate_conky

4.5. Copy “~/.config/autostart/conky.desktop” to “/etc/skel/.config/autostart/.”:

$ sudo mkdir /etc/skel/.config/autostart
$ sudo cp ~/.config/autostart/conky.desktop /etc/skel/.config/autostart/.

5. Remove “shutdown” button from system menu and deactivate screen-lock:

5.1. Start menu settings:

system_settings1

5.2. Click System Tab and unselect “lock-screen” and “shutdown”:

system_settings2

5.3. Click close.

5.4. Start MATE Control Center:

system_screensaver1

5.5. Select Screensaver:

system_screensaver2

5.6. Unselect “lock-screen, if screensaver is active”:

system_screensaver3

5.7. Click close.

5.8. Copy “~/.config/dconf” into “/etc/skel/.config/dconf”:

$ sudo cp -R ~/.config/dconf /etc/skel/.config/.

6. Restart computer and that’s it!

This entry was posted in Linux and tagged Debian Edition, Guest Account, Linux Mint, MATE Desktop Menu Configuration on February 22, 2015 by okki.

Post navigation

← Linux Mint LMDE Server Setup #1: Install LTSP Server Linux Mint LMDE Server Setup #3: Epoptes for LTSP →
December 2020
SMTWTFS
 12345
6789101112
13141516171819
20212223242526
2728293031 
« Jun    

Recent Posts

  • LTSP Fat-Client on LMDE 3
  • Interrupter Circuit
  • Installing Printer Brother LH-L2360DN on LinuxMint LMDE2
  • Installing Guacamole on Raspberry Pi
  • HHO Cell – New Design

Archives

  • December 2020
  • June 2020
  • May 2018
  • April 2018
  • February 2017
  • November 2016
  • February 2016
  • December 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • November 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • February 2014
  • January 2014
  • December 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013

Categories

  • Electronic
  • Linux
  • Miscellaneous

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
© Copyright by m-opensolutions