VSIDO Community

VSIDO Support => General Support => Topic started by: hinto on March 01, 2013, 04:37:45 PM

Title: Auto login and lightdm?
Post by: hinto on March 01, 2013, 04:37:45 PM
Has anyone been successful at getting autologin, lightdm, and XFCE working?  I have a Linux machine that I "shadow" with No Machine.  I can't connect unless 1) somehow have lightdm as a registered NX User or 2) start up a session at the machine, then flip over to my workstation and then start up No Machine.  Google doesn't seem to want to provide the goods (or I cannot find the magic incantation)
-Hinto
Title: Re: Auto login and lightdm?
Post by: VastOne on March 01, 2013, 04:40:33 PM
Have you tried this suggestion from the ArchWiki? (https://wiki.archlinux.org/index.php/LightDM#Enabling_Autologin)
Title: Re: Auto login and lightdm?
Post by: hinto on March 01, 2013, 04:44:44 PM
Yeah... but I didn't set the pam settings... It looked a little different than what VSIDO has out of the box.
-Hinto
Title: Re: Auto login and lightdm?
Post by: VastOne on March 01, 2013, 04:55:57 PM
Here is one specifically for debian (http://siripong-computer-tips.blogspot.com/2011/09/enable-lightdm-autologin-debian-wheezy.html)

The comments suggest that it works...  ;D
Title: Re: Auto login and lightdm?
Post by: hinto on March 01, 2013, 04:59:20 PM
Nice... I'll give it a try.
Conversly, I never fully researched why I can ssh -X to the server and bring up Thunar and not be able to mount my external usb drives/mp3 player.  It seems if I am logged into the console (or shadowing/vnc) I can.  I got bogged down in pam there, too.
-Hinto
Title: Re: Auto login and lightdm?
Post by: hinto on March 01, 2013, 06:30:37 PM
Nope...
Still get:

NX> 596 ERROR: Cannot share session of user: lightdm.
NX> 596 ERROR: User: lightdm is not a NX user.
NX> 105 NX> 280 Exiting on signal: 15
Title: Re: Auto login and lightdm?
Post by: hinto on March 04, 2013, 01:35:01 PM
Since lightdm isn't cooperating, I'm going to replace it with gdm.  I know it does auto login.  That's what I ended up doing with siductiom (switching from lightdm to gdm).  Maybe it isn't cut out for mere mortals (like myself ;) ) BTW.. even with my mods, it's still pretty frugal on cpu/mem consumption.
Nice.
-Hinto
Title: Re: Auto login and lightdm?
Post by: hinto on March 04, 2013, 01:39:59 PM
...as soon as I find out why there's no gdm in sid ;)
-H

EDIT: apt-get install gdm3
Title: Re: Auto login and lightdm?
Post by: hinto on March 04, 2013, 05:48:55 PM
That did the trick... installing gdm3 and editing
/etc/gdm3/daemon.conf
[daemon]
# Enabling automatic login
  AutomaticLoginEnable = true
  AutomaticLogin = hinto