XFCE Auto Logon

Forum rules
Before you post please read how to get help
User avatar
jgagnon
Level 1
Level 1
Posts: 9
Joined: Thu Jun 06, 2013 1:16 pm

XFCE Auto Logon

Postby jgagnon » Wed Aug 13, 2014 11:44 am

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.

User avatar
PatH57
Level 13
Level 13
Posts: 4595
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

Re: XFCE Auto Logon

Postby PatH57 » Wed Aug 13, 2014 11:52 am

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
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.

User avatar
jgagnon
Level 1
Level 1
Posts: 9
Joined: Thu Jun 06, 2013 1:16 pm

Re: XFCE Auto Logon

Postby jgagnon » Wed Aug 13, 2014 12:19 pm

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 1
Level 1
Posts: 39
Joined: Fri May 30, 2014 6:44 pm

Re: XFCE Auto Logon

Postby bjmh46 » Wed Aug 13, 2014 6:30 pm

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

Bob

User avatar
Habitual
Level 12
Level 12
Posts: 4086
Joined: Sun Nov 21, 2010 8:31 pm
Location: Youngstown, Ohio

Re: XFCE Auto Logon

Postby Habitual » Thu Aug 14, 2014 3:17 pm

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.
Windows assumes you're an idiot.
Linux demands proof of it.

User avatar
PatH57
Level 13
Level 13
Posts: 4595
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

Re: XFCE Auto Logon

Postby PatH57 » Thu Aug 14, 2014 4:16 pm

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)
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.

User avatar
Habitual
Level 12
Level 12
Posts: 4086
Joined: Sun Nov 21, 2010 8:31 pm
Location: Youngstown, Ohio

Re: XFCE Auto Logon

Postby Habitual » Fri Aug 15, 2014 1:54 pm

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.
Windows assumes you're an idiot.
Linux demands proof of it.


Return to “XFCE”

Who is online

Users browsing this forum: No registered users and 2 guests