Author Topic: Auto login and lightdm?  (Read 4693 times)

hinto

  • Posts: 85
    • View Profile
Auto login and lightdm?
« 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
"If I have seen further it is by standing on the shoulders of giants." - Sir Isaac Newton

VastOne

  •      v-ger
  • Posts: 4187
    • View Profile
    • VSIDO Community
Re: Auto login and lightdm?
« Reply #1 on: March 01, 2013, 04:40:33 PM »
Have you tried this suggestion from the ArchWiki?
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

hinto

  • Posts: 85
    • View Profile
Re: Auto login and lightdm?
« Reply #2 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
"If I have seen further it is by standing on the shoulders of giants." - Sir Isaac Newton

VastOne

  •      v-ger
  • Posts: 4187
    • View Profile
    • VSIDO Community
Re: Auto login and lightdm?
« Reply #3 on: March 01, 2013, 04:55:57 PM »
Here is one specifically for debian

The comments suggest that it works...  ;D
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

hinto

  • Posts: 85
    • View Profile
Re: Auto login and lightdm?
« Reply #4 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
"If I have seen further it is by standing on the shoulders of giants." - Sir Isaac Newton

hinto

  • Posts: 85
    • View Profile
Re: Auto login and lightdm?
« Reply #5 on: March 01, 2013, 06:30:37 PM »
Nope...
Still get:
Code: [Select]
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
"If I have seen further it is by standing on the shoulders of giants." - Sir Isaac Newton

hinto

  • Posts: 85
    • View Profile
Re: Auto login and lightdm?
« Reply #6 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
"If I have seen further it is by standing on the shoulders of giants." - Sir Isaac Newton

hinto

  • Posts: 85
    • View Profile
Re: Auto login and lightdm?
« Reply #7 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
"If I have seen further it is by standing on the shoulders of giants." - Sir Isaac Newton

hinto

  • Posts: 85
    • View Profile
Re: Auto login and lightdm?
« Reply #8 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
"If I have seen further it is by standing on the shoulders of giants." - Sir Isaac Newton