LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 06-09-2012, 11:01 AM   #1
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,608

Rep: Reputation: 45
autologin in LXDE


hi

I have Wheezy with LXDE installed.
Howto setup autologin for a user in LXDE?
 
Old 06-09-2012, 04:37 PM   #2
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 481

Rep: Reputation: 108Reputation: 108
What login manager do you use?
The simplest and cleanest way, excluding nodm :P, is to install slim and change its conf so as it autologins.
 
Old 06-09-2012, 05:56 PM   #3
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,608

Original Poster
Rep: Reputation: 45
[QUOTE=jim_p;4699651]What login manager do you use?

Login manager is lightdm.
 
Old 06-09-2012, 06:00 PM   #4
rokytnji
Senior Member
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 13 , Various Puppys (MacPup,Slack0),MX-14
Posts: 2,467
Blog Entries: 16

Rep: Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776
Quote:
Howto setup autologin for a user in LXDE?
Quote:
Passwordless X logins (without kdm / gdm)

Display managers like GDM and KDM have a feature that enables you to log in a user automatically. However if you think gdm or kdm take up too much memory (especially if you want to use a twm / openbox / fluxbox / fvwm / lightweight session) you can avoid running a display manager as follows:

Edit /etc/conf.d/local.start and add the lines (replace <username> with your own username)
File: /etc/conf.d/local.start
Code:
# Start X as user if tty7 is free
if ! fuser /dev/tty7 >& /dev/null; then
    su - <username> -l -c 'exec startx -- vt7 >& ~/.xsession-errors' &
fi
From

http://www.gentoo-wiki.info/TIP_Passwordless_Login

You realize of course you are disabling the first measure of Linux security.

If using slim login manager.

Go to /etc/slim.conf and read and edit the file. Always make a backup first before editing and saving /etc/slim.conf in case you bork things and need to restore the original. mc (Midnight Commander console file manager can do this out of X if need be).

I use slim ,but do I not auto login on my LXDE install on AntiX 8.5 core.iso install.

If using LXDM login manager in Debian
http://linux.overshoot.tv/wiki/syste...uto_login#lxdm

Edit: just saw your post in front of mine.

https://wiki.archlinux.org/index.php...ling_Autologin

Last edited by rokytnji; 06-09-2012 at 06:02 PM.
 
Old 06-10-2012, 01:37 AM   #5
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,093

Rep: Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099
Hi,

lightdm in Debian does not currently have this feature. See
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=636104

If you want this feature you are probably best using one of the other display managers (as suggested by others) or you could use one of the workarounds discussed in the bug report thread.

Evo2.

---------- Post added 2012-06-10 at 15:37 ----------

Hi,

lightdm in Debian does not currently have this feature. See
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=636104

If you want this feature you are probably best using one of the other display managers (as suggested by others) or you could use one of the workarounds discussed in the bug report thread.

Evo2.
 
Old 06-10-2012, 09:34 AM   #6
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Rep: Reputation: 44
Quote:
Originally Posted by evo2 View Post
Hi,

lightdm in Debian does not currently have this feature. See
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=636104

If you want this feature you are probably best using one of the other display managers (as suggested by others) or you could use one of the workarounds discussed in the bug report thread.

Evo2.

I used the work around in the bug report and auto login worked fine. If you read the whole report you will see the Dev does not want to fix this problem as he sees it as a security risk. Slim is broken in Wheezy and believe development has stop. lightdm works fine once you add the the Pam files.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Opensuse 11.2 lxde or PclinuxOs 2009.4 lxde damipereira Linux - Distributions 1 02-16-2010 02:51 AM
Autologin??? jakob_g Linux - Newbie 3 02-23-2006 06:05 PM
autologin zaicheke Linux - General 1 07-16-2004 07:15 PM
Autologin into KDE...help vacman Linux - Newbie 1 06-13-2004 06:05 PM
autologin on RH 7.2 mehesque Linux - General 0 06-08-2004 08:16 AM


All times are GMT -5. The time now is 04:46 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration