16
10
I have a Raspberry Pi with Debian Wheezy (Raspbian) and so far I've managed to learn quite a lot about Linux just playing around, but I have a few questions for all you seasoned Linux pros out there.
1) From command line, if I execute startx
, X11 will launch followed by LXDE. If I had a monitor connected, I'm imagining I would see a transition from command line to the desktop environment. Can I launch X11 first with x
, then start LXDE on top of X11 afterwards with /etc/init.d/lxdm start
(is this correct?) and get to the same result as startx
?
2) Instead, let's say I executed /etc/init.d/lxdm start
alone, would X11 start automatically (since LXDE relies on X11)?
3) From desktop, if I CTRL+ALT+F1
to get back to command line, then I should be able to shutdown LXDE using /etc/init.d/lxdm stop
. Does X11 automatically close with the termination of LXDE?
4) What is the proper/safe way to shutdown X11?
Thanks
Just installed lxde on Debian 9.5 - but I have no /etc/init.d/lxdm on my system... – TheStoryCoder – 2018-10-19T18:54:55.923
Did you install LXDM too? I believe the default DM on Debian is LightDM – Lawrence – 2018-10-22T01:39:18.347
Oh... no I didn't install LXDM. Wouldn't I have gotten that when I installed LXDE? And do I really need to install something separately just to stop LXDE?? – TheStoryCoder – 2018-10-22T01:55:59.087
LXDE doesn't always install LXDM. If you have lightdm installed, you just run
/etc/init.d/lightdm stop
instead oflxdm
– Lawrence – 2018-10-22T02:04:08.570I don't have
lxdm
installed. But do I really need that to LXDE?! I don't quite understand LXDE vs LXDM... – TheStoryCoder – 2018-10-22T15:21:27.353@TheStoryCoder https://unix.stackexchange.com/questions/20385/windows-managers-vs-login-managers-vs-display-managers-vs-desktop-environment <== this answer might help you there.
– Lawrence – 2018-10-23T05:46:18.207