LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   autologin in LXDE (https://www.linuxquestions.org/questions/debian-26/autologin-in-lxde-949384/)

cccc 06-09-2012 11:01 AM

autologin in LXDE
 
hi

I have Wheezy with LXDE installed.
Howto setup autologin for a user in LXDE?

jim_p 06-09-2012 04:37 PM

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.

cccc 06-09-2012 05:56 PM

[QUOTE=jim_p;4699651]What login manager do you use?

Login manager is lightdm.

rokytnji 06-09-2012 06:00 PM

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

evo2 06-10-2012 01:37 AM

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.

62chevy 06-10-2012 09:34 AM

Quote:

Originally Posted by evo2 (Post 4699844)
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.


All times are GMT -5. The time now is 11:41 AM.