You are not logged in.
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
Look at the wiki
These were linked from the beginner's guide
https://wiki.archlinux.org/index.php/Au … al_console
https://wiki.archlinux.org/index.php/Start_X_at_Login
Offline
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
@有志者事竟成@
Offline
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
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..
@有志者事竟成@
Offline
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
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
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
@有志者事竟成@
Offline
Thank you deniolp, your replies helped me a lot!
Offline
Thank you deniolp, your replies helped me a lot!
You are welcome! ))
@有志者事竟成@
Offline