Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Post installation add and start LXDE on Stretch

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
k829king
Posts: 133
Joined: 2018-08-26 09:47

Post installation add and start LXDE on Stretch

#1 Post by k829king »

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

cronoik
Posts: 310
Joined: 2015-05-20 21:17

Re: Post installation add and start LXDE on Stretch

#2 Post by cronoik »

You can set the default to LXDE with:

Code: Select all

update-alternatives --config x-session-manager
Have a nice day!

k829king
Posts: 133
Joined: 2018-08-26 09:47

Re: Post installation add and start LXDE on Stretch

#3 Post by k829king »

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

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Post installation add and start LXDE on Stretch

#4 Post by Head_on_a_Stick »

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

Reference: https://wiki.debian.org/LXDE
deadbang

k829king
Posts: 133
Joined: 2018-08-26 09:47

SOLVED Re: Post installation add and start LXDE on Stretch

#5 Post by k829king »

Thankyou, fixed.

Post Reply