I am always interested in new ways to multi-task. I have learned that you get a terminal when CTRL+ALT+F2/F3/etc. is pressed. Is there a way to start another desktop environment in one so that I could switch between the two currently running environments? Whenever I try sudo unity it always crashes and says No display , so value will be set to 1._ Is there a way to fix this? Any help or advice would be appreciated.
Asked
Active
Viewed 6,550 times
3
Videonauth
- 33,845
ComputerGuy
- 382
2 Answers
2
I think that this guy has you covered, https://journalxtra.com/linux/desktop/multiple-desktops-on-one-linux-pc-now-thats-greedy/.
Soul Dessin
- 36
- 1
- 4
-
Wow! That is just what I was looking for. It is so fun to stretch Ubuntu's boundaries! Thanks! – ComputerGuy Jun 04 '16 at 02:53
-
Doesn't seem to work for Ubuntu 20.04. – sequence Oct 12 '21 at 22:12
-
Please provide the solution in your answer. Links can go extinct and leave your answer unusable. – xdevs23 Jun 02 '25 at 21:18
1
There are two ways of running two DE (Desktop Environment) at once:
Use available Virtual Terminal
This is looks more reliable but not easy if you does't learned about Linux Command.
- Switch to CLI Interface by press Ctrl+Alt+F1-F7, then run
startx(the preferred DE, for examplestartx xfce4-session).
- Switch to CLI Interface by press Ctrl+Alt+F1-F7, then run
Use Xtest (A good place if you want to develop DE or want to use separated X Server instead of XWayland.) But it's kind of slow
- Type
sudo apt install xorg-server-xnest(If it fails typesudo apt search xnestand look for xnest package) - Run
Xnest -ac :10.0in your terminal emulator - Switch to your terminal emulator and type
export DISPLAY=:10.0 - Run secondary DE by typing
xfce4-session(Replacexfce4-sessionwith another DE installed on your system) - See if the magic happens (I posted this via Firefox running in Xnest on Manjaro)
- Type
Greenonline
- 2,182