XFCE Auto Logon

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
jgagnon
Level 1
Level 1
Posts: 14
Joined: Thu Jun 06, 2013 1:16 pm

XFCE Auto Logon

Post 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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
PatH57

Re: XFCE Auto Logon

Post 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
User avatar
jgagnon
Level 1
Level 1
Posts: 14
Joined: Thu Jun 06, 2013 1:16 pm

Re: XFCE Auto Logon

Post 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.
bjmh46
Level 4
Level 4
Posts: 307
Joined: Fri May 30, 2014 6:44 pm

Re: XFCE Auto Logon

Post by bjmh46 »

Try menu, system, "users and groups"--I believe this is the gui app ypu're looking for.

Bob
Habitual

Re: XFCE Auto Logon

Post 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.
PatH57

Re: XFCE Auto Logon

Post 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)
Habitual

Re: XFCE Auto Logon

Post 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.
Locked

Return to “Xfce”