Thursday, August 25, 2016

ssh - Install a GUI on my Ubuntu Server VM



I know that this question is already asked but I still have an issue.
I am using a ssh to connect to a virtual machine via this command:




ssh -X 


Of course we can only work with a terminal. Therefore I am trying to install a GUI.
I did:



sudo apt-get ubuntu-desktop


or




sudo apt-get mate-desktop


So I disconnect and connect again to the VM with ssh and still with the prompt command. How could I start with the GUI.



Then I install a XRDP like my teacher told me. But I still don't have any GUI.
However, when I just launch firefox it appears.



What can I do ?




Thanks



I fixed it like this:



echo “xfce4-session” > ~/.xsession
# /etc/init.d/xrdp start


follow this tutorial.



No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...