Hi guys!
Sorry, stupid question - how right restart x-session from cli (script?) without entering login/password? It's possible?
System: Porteus-LXDE-v3.0.1-i486
TNX!
Restart X
- Archybaldos
- White ninja
- Posts: 13
- Joined: 02 Dec 2014, 17:14
- Distribution: FreeBSD, Ubuntu
- Location: Europe
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: Restart X
From CLI you can hit it with a hammer: killall X
Probably better would be to pass an init stage: init 3
Probably better would be to pass an init stage: init 3
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- fanthom
- Moderator Team
- Posts: 5622
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: Restart X
you could press 'Ctrl+Alt+Backspace' to kill Xorg but i'm not sure if lxdm allows autologin after a restart (i know than kdm does for sure).
if you really need autologin then perhaps you could call /usr/bin/xdm instead of lxdm in /etc/rc.d/rc.4 script (not tested myself).
if you really need autologin then perhaps you could call /usr/bin/xdm instead of lxdm in /etc/rc.d/rc.4 script (not tested myself).
Please add [Solved] to your thread title if the solution was found.
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: Restart X
I have used a custom xdm file and removed lxdm and it 'auto logs in' without a problem when X is killed.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- Shogun
- Posts: 333
- Joined: 26 Jan 2011, 16:15
- Distribution: Porteus 3.2 and 4.0 64bit KDE
- Location: Malaysia
Re: Restart X
Maybe you can try this:-
telinit 3 && telinit 4
telinit 3 && telinit 4