Post installation add and start LXDE on Stretch

Kernels & Hardware, configuring network, installing services

Post installation add and start LXDE on Stretch

Postby k829king » 2018-08-31 11:05

I want to be able to use the LXDE on some occasions. I have units that will normally run in console mode, at moment if you type startx you get the default (Gnome?) GUI, but I would like to use LXDE.
I ran apt-get install LXDE. What else do I need to do to get (a) startx to start LXDE and not Gnome and (b) is there something else I need to install and configure as, if I type startlxde I get.
<<
** Message: main.vala.102: Session is LXDE
** Message: main.vala.103: DE is LXDE

(lxsession:1195) : Gtk-WARNING **: cannot open display:
>>
k829king
 
Posts: 13
Joined: 2018-08-26 09:47

Re: Post installation add and start LXDE on Stretch

Postby cronoik » 2018-08-31 13:52

You can set the default to LXDE with:
Code: Select all
update-alternatives --config x-session-manager
Have a nice day!
cronoik
 
Posts: 275
Joined: 2015-05-20 21:17

Re: Post installation add and start LXDE on Stretch

Postby k829king » 2018-09-01 08:44

thankyou, that provides list of alternatives as below, do I want the lxsession or the startlxde? Given the previous failure on manually trying to exec startlxde I presume lxsession?
<<
There are 4 choices for the alternative x-session-manager (providing /usr/bin/x-session-manager).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/bin/gnome-session 50 auto mode
1 /usr/bin/gnome-session 50 manual mode
2 /usr/bin/lxsession 49 manual mode
3 /usr/bin/openbox-session 40 manual mode
4 /usr/bin/startlxde 50 manual mode
>>
k829king
 
Posts: 13
Joined: 2018-08-26 09:47

Re: Post installation add and start LXDE on Stretch

Postby Head_on_a_Stick » 2018-09-01 09:58

k829king wrote:do I want the lxsession or the startlxde?

startlxde

Reference: https://wiki.debian.org/LXDE
User avatar
Head_on_a_Stick
 
Posts: 8009
Joined: 2014-06-01 17:46
Location: /dev/chair

SOLVED Re: Post installation add and start LXDE on Stretch

Postby k829king » 2018-09-01 11:45

Thankyou, fixed.
k829king
 
Posts: 13
Joined: 2018-08-26 09:47


Return to System configuration

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable