XFCE Auto Logon

Forum rules
Before you post please read how to get help

XFCE Auto Logon

Postby jgagnon on 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
jgagnon
Level 1
Level 1
 
Posts: 8
Joined: Thu Jun 06, 2013 1:16 pm

Linux Mint is funded by ads and donations.
 

Re: XFCE Auto Logon

Postby PatH57 on 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
PatH57
Level 13
Level 13
 
Posts: 4603
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

Re: XFCE Auto Logon

Postby jgagnon on 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.
User avatar
jgagnon
Level 1
Level 1
 
Posts: 8
Joined: Thu Jun 06, 2013 1:16 pm

Re: XFCE Auto Logon

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

Re: XFCE Auto Logon

Postby Habitual on 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.
What's a landing but a take off in reverse?
User avatar
Habitual
Level 8
Level 8
 
Posts: 2274
Joined: Sun Nov 21, 2010 8:31 pm
Location: LM17Q-Xfce

Re: XFCE Auto Logon

Postby PatH57 on 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
PatH57
Level 13
Level 13
 
Posts: 4603
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

Re: XFCE Auto Logon

Postby Habitual on 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.
What's a landing but a take off in reverse?
User avatar
Habitual
Level 8
Level 8
 
Posts: 2274
Joined: Sun Nov 21, 2010 8:31 pm
Location: LM17Q-Xfce

Linux Mint is funded by ads and donations.
 

Return to XFCE

Who is online

Users browsing this forum: No registered users and 6 guests