You are not logged in.

#1 2012-11-22 14:56:17

hariskar
Member
From: Greece/Kavala
Registered: 2012-10-16
Posts: 181
Website

[Solved] How autostart lxde and autologin user?

When I start my pc how can I as a simple user autologin and how can lxde autostart without lxdm?
Thank you

Last edited by hariskar (2012-11-26 20:50:02)

Offline

#2 2012-11-22 15:21:16

mcmillan
Member
Registered: 2006-04-06
Posts: 684

Re: [Solved] How autostart lxde and autologin user?

Offline

#3 2012-11-23 11:27:13

deniolp
Member
From: Russia
Registered: 2012-09-11
Posts: 24
Website

Re: [Solved] How autostart lxde and autologin user?

For example.. (From wiki).
First:

cp /usr/lib/systemd/system/getty@.service /etc/systemd/system/autologin@.service

Then in /etc/systemd/system/autologin@.service add your login insted of USER:

ExecStart=-/sbin/agetty --noclear -a USER %I 38400

Then :

# systemctl daemon-reload
# systemctl disable getty@tty1
# systemctl enable autologin@tty1
# systemctl start autologin@tty1

Then:

cp /etc/skel/.bash_profile ~/.bash_profile

And then in this file add:

[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx

Arch Xfce @有志者事竟成@

Offline

#4 2012-11-23 11:33:10

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,666

Re: [Solved] How autostart lxde and autologin user?

It's best that people get used to using the Wiki.  Repeating the same information here is pointless (and will get out-of-date and out-of-step with what's in the Wiki over time).


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#5 2012-11-23 11:37:00

deniolp
Member
From: Russia
Registered: 2012-09-11
Posts: 24
Website

Re: [Solved] How autostart lxde and autologin user?

loafer wrote:

It's best that people get used to using the Wiki.  Repeating the same information here is pointless (and will get out-of-date and out-of-step with what's in the Wiki over time).

Ok, I've understood..


Arch Xfce @有志者事竟成@

Offline

#6 2012-11-24 15:55:03

hariskar
Member
From: Greece/Kavala
Registered: 2012-10-16
Posts: 181
Website

Re: [Solved] How autostart lxde and autologin user?

Thank you, which one is better for me to use, lxdm or the one decribed in 3d post? Which is quicker and uses less resources?

Offline

#7 2012-11-24 16:14:57

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 797

Re: [Solved] How autostart lxde and autologin user?

hariskar wrote:

Thank you, which one is better for me to use, lxdm or the one decribed in 3d post? Which is quicker and uses less resources?

Any reason you can't do this yourself and report back your conclusions?

Offline

#8 2012-11-25 18:32:49

deniolp
Member
From: Russia
Registered: 2012-09-11
Posts: 24
Website

Re: [Solved] How autostart lxde and autologin user?

hariskar wrote:

Thank you, which one is better for me to use, lxdm or the one decribed in 3d post? Which is quicker and uses less resources?

The second variant (without Login Manager) uses less resourses of course..
But if you do such way, don't forget add "exec startlxde" in your ~/.xinitrc. https://wiki.archlinux.org/index.php/LX … he_Desktop


Arch Xfce @有志者事竟成@

Offline

#9 2012-11-25 18:34:56

hariskar
Member
From: Greece/Kavala
Registered: 2012-10-16
Posts: 181
Website

Re: [Solved] How autostart lxde and autologin user?

Thank you deniolp, your replies helped me a lot!

Offline

#10 2012-11-25 18:50:57

deniolp
Member
From: Russia
Registered: 2012-09-11
Posts: 24
Website

Re: [Solved] How autostart lxde and autologin user?

hariskar wrote:

Thank you deniolp, your replies helped me a lot!

You are welcome! ))


Arch Xfce @有志者事竟成@

Offline

Board footer

Powered by FluxBB