Is there a way to remote desktop into ubuntu like windows?

Posted September 26, 2014 6.3k views

Is there?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer


sudo apt-get install vnc4server



which will launch your session.

if your client computer is windows you can use:

If your client computer is linux, then take your pick for clients. I like Remmina

If your client computer is Apple, I think you can just use the native RemoteDesktop application.

Some other notes:

For Ubuntu 14.04, I installed gnome-panel, and then edited my ~/.vnc/xstartup to look like this:

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-window-manager &

gnome-session --session=ubuntu -geometry 1280x930 -ls -title "$VNCDESKTOP Desktop" &

gnome-panel &
nautilus &
gnome-settings-daemon &
  • I get this error when using VNC viewer:

    EDIT: Nevermind, I wasn’t using the correct port.

    Another EDIT: I now get this when I open the connection:

  • It is working, you just have to install gnome-panel, and then modify your ~/.vnc/xstartup file like I have as an example above.

    so, from a terminal:

    sudo apt-get install gnome-panel 

    and then to edit your xstartup you could do:

    nano ~/.vnc/xstartup

    Then you need to kill your vncsession:

    vncserver -kill :1

    and start a new one:


    also, you may want to reconsider using root as the user, and instead create a new user for such things.