Download the latest lts version of ubuntu, for desktop pcs and laptops. Prevent x from starting turn desktop into server ask question asked 10 years, 10 months ago. Xfce4 is a lightweight desktop environment that developers have been able to get working with both wsl and wsl2. When you type init 2 command your session will then begin to shut down and bring you into gui mode.
One way if you cannot open a gnome terminal or an xterm is to start a text console. To stop the x server killall x or sudo killall x if you are not owner of the process. April 24, 2007 if you ever need to restart your x session your work will be lost if not previously saved. Restarting your x session with keyboard combination no. When you type init 1 command your session will then begin to shut down and bring you into single user text mode. Xfce4 desktop environment and x server for ubuntu on wsl 2. To stop an x server started by the login manager gdm, run. Lts stands for longterm support which means five years, until april 2025, of free security and maintenance updates, guaranteed. If not, run sudo service lightdm start or sudo start lightdm to start your x server again. Although wsl2 is intended as a command line tool for developers, a desktop environment can be run inside wsl2 and you can use an x server for windows such as xming or vcxsrv to listen for x11 graphical programs in linux. Restarting your x session with keyboard combination no linux restarting. Ask ubuntu is a question and answer site for ubuntu users and developers.
143 879 492 1481 377 680 1424 1541 1397 971 1110 1296 1449 185 1014 162 69 1034 725 503 1152 1394 723 986 734 1098 1326 428 218 888 236 817 1107 574 164 1238