doctorbill
asked on
Linux GUI
I am running Linux Ubuntu 20.04.2 LTS
How exactly do I get the desktop environment to show from the initial terminal window?
How exactly do I get the desktop environment to show from the initial terminal window?
You asked, "How exactly do I get the desktop environment to show from the initial terminal window?"
1) You must have access to a graphical display.
2) Per #1, this might be a physical display or a pseudo display where you run the remote machine over a tunnel, which will require you having software available locally which can accomplish this action.
3) You must ensure some sort of graphical software is installed on your remote machine, if machine is remote.
1) You must have access to a graphical display.
2) Per #1, this might be a physical display or a pseudo display where you run the remote machine over a tunnel, which will require you having software available locally which can accomplish this action.
3) You must ensure some sort of graphical software is installed on your remote machine, if machine is remote.
Best to answer the following.
1) Is this machine remote or local, where local means you have access to a physical keyboard/mouse/display.
2) What Linux Distro + Distro version is running.
3) Did you install this Linux instance or someone else.
1) Is this machine remote or local, where local means you have access to a physical keyboard/mouse/display.
2) What Linux Distro + Distro version is running.
3) Did you install this Linux instance or someone else.
ASKER
Alex
What exactly does your command do
What exactly does your command do
Taken from https://linuxhint.com/systemd_hot_it_starts_your_system/
Setting the “runlevel”, called a target.
You can change the target while running, for example you could use a terminal to set your target to multi-user. This would stop your GUI, X or Wayland but let you and others, log in with a text console. Use the following command.$ systemctl isolate multiuser.target
Or, if you want to start your desktop, use the following command instead.$ systemctl isolate graphical.target
What you are really interested in is how to start the correct level, you can find out what you have right now this way.$ systemctl get-default
To change the default set it.$ systemctl set-default graphical.target
This command actually makes a lot of units and services start as you boot your computer. You may want to start or stop a single service though.
ASKER
Alex
I am not so familiar with linux
To start, all I want to do is to see the Desktop GUI?
What do I use as a command
I am not so familiar with linux
To start, all I want to do is to see the Desktop GUI?
What do I use as a command
Did you try
Did you install Ubuntu yourself?
Where does it run?
sudo systemctl isolate graphical
?!Did you install Ubuntu yourself?
Where does it run?
ASKER
I am using the WSL on windows
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Thanks Alex
ASKER
Thanks all
Sorry - I should have made it clear upfront that I was using WSL
Sorry - I should have made it clear upfront that I was using WSL
No problem ;-) but, keep that in mind for the next time!
Open in new window