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
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?