Page 1 of 1

XFCE Auto Logon

Posted: Wed Aug 13, 2014 11:44 am
by jgagnon
I've searched but I'm not finding anything that makes sense to me. Admitedly, I'm too used to KDE.

How do I set up auto logon with XFCE?

Since there is no GUI app for it in XFCE that I've found then I assume I need to modify a configuration file somewhere but I have no clue which one(s) to edit. My system uses MDM as a display manager, if that matters.

Any help would be greatly appreciated.

Re: XFCE Auto Logon

Posted: Wed Aug 13, 2014 11:52 am
by PatH57
Hi,

try this

Code: Select all

sudo gedit /etc/mdm/mdm.conf
AutomaticLoginEnable - Do you want the autologin on or off

AutomaticLogin=<user> - The name of the lucky user

TimedLoginEnable - Do you want to enable auto-login on session restart

TimedLogin=<user> - Name of the user for timed logins

TimedLoginDelay - Delay before entering the session again

Re: XFCE Auto Logon

Posted: Wed Aug 13, 2014 12:19 pm
by jgagnon
I honestly looked in /etc/mdm/mdm.conf but not close enough. It pointed me to /usr/share/mdm/defaults.conf (that details the options you pointed out) which pointed me to /usr/share/mdm/distro.conf.

But after reading into all of that... I found that there is a graphical configuration tool afterall, it just wasn't anywhere I expected it to be. It's not in "All Settings" area of XFCE nor is it in the Settings menu. It's in the System menu under "Login Window" (I was searching for "logon" this whole time, not finding it).

Thank you very much for your time and sorry to have bothered you.

Re: XFCE Auto Logon

Posted: Wed Aug 13, 2014 6:30 pm
by bjmh46
Try menu, system, "users and groups"--I believe this is the gui app ypu're looking for.

Bob

Re: XFCE Auto Logon

Posted: Thu Aug 14, 2014 3:17 pm
by Habitual
PatH57 wrote:

Code: Select all

AutomaticLoginEnable - Do you want the autologin on or off
AutomaticLogin=<user> - The name of the lucky user
TimedLoginEnable - Do you want to enable auto-login on session restart
TimedLogin=<user> - Name of the user for timed logins
TimedLoginDelay - Delay before entering the session again
Yeah, about "that"...

Code: Select all

TimedLoginEnable=false
or 
TimedLoginDelay=0
for no delay, login straight away?

Thanks.

Re: XFCE Auto Logon

Posted: Thu Aug 14, 2014 4:16 pm
by PatH57
TimedLoginEnable=false
or
TimedLoginDelay=0
if you set TimedLoginEnable to false, no need to put TimedloginDelay?? (it's only used if you want a Delay)

Re: XFCE Auto Logon

Posted: Fri Aug 15, 2014 1:54 pm
by Habitual
PatH57 wrote:
TimedLoginEnable=false
or
TimedLoginDelay=0
if you set TimedLoginEnable to false, no need to put TimedloginDelay?? (it's only used if you want a Delay)
Thanks.

Code: Select all

TimedLoginDelay=0 
works also.

Options. I love 'em.