Debian 9 change default UI from built in Gnome to LXDE
sometime back I set a unit to not boot into GUI by issuing cmd
systemctl set-default multi-user.target And I want to keep this, but occasionally I do want to use a GUI and do so by cmd startx. But I struggle with the built in Gnome and would prefer to use LXDE. I've installed the LXDE via apt, but I haven't found how to make it the default GUI, so that when I startx it starts LXDE. Any pointers? K. |
I would expect
Code:
man update-alternatives Code:
update-alternatives -get-selections Code:
x-window-manager auto /opt/trinity/bin/twin |
|
in Debian 9 Stretch there is no /usr/share/xsessions/x-window-manager
/usr/share/xsessions only has .desktop files for gnome-classix, gnome, lightdm, LXDE and openbox in Debian 9 Stretch the following update-alternatives -get-selections needs to be update-alternatives --get-selections it shows x-session-manager auto /usr/bin/gnome-session x-window-manager auto /usr/bin/openbox - - - separately I found /usr/bin/startlxde but it responds ** Message:main.vala:102: session is LXDE ** Message:main.vala:103: DE is LXDE (lxsession:6041): Gtk-WARNING ** cannot open display |
Hi. ¿Have you tried gdm3 o gdmflexiserve? It start gdm (xserver manager) and then you can select your window manager.
Have a nice day. |
Quote:
Code:
systemctl disable gdm Now, when you reboot, no display manager is running Code:
systemctl enable gdm Create a file in $HOME, .xinitrc Code:
exec startlxde Alternatively, if you want to switch for one session only: Code:
$ startx /usr/bin/startlxde |
All times are GMT -5. The time now is 06:10 AM. |