{"id":4474,"date":"2015-01-05T16:48:53","date_gmt":"2015-01-05T16:48:53","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=4474"},"modified":"2015-01-05T16:48:53","modified_gmt":"2015-01-05T16:48:53","slug":"remotely-access-graphical-desktop-of-ubuntu-14-04-server","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2015\/01\/remotely-access-graphical-desktop-of-ubuntu-14-04-server\/","title":{"rendered":"How to Remotely Access Graphical Desktop of Ubuntu 14.04 Server"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/11\/remote-desktop-logo.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/11\/remote-desktop-logo.jpg\" alt=\" remote access ubuntu 14.04 server\" width=\"220\" height=\"220\" class=\"aligncenter size-full wp-image-2267\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/11\/remote-desktop-logo.jpg 220w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/11\/remote-desktop-logo-150x150.jpg 150w\" sizes=\"auto, (max-width: 220px) 100vw, 220px\" \/><\/a><\/p>\n<p>Want to remotely access your Ubuntu Server with a graphical interface? Well, here&#8217;s a simple guide shows you how to do it with <a href=\"http:\/\/en.wikipedia.org\/wiki\/X2Go\" target=\"_blank\">X2Go<\/a>, an implementation of NX remote desktop protocol.<\/p>\n<p>All you need to do is install X2Go Server package as well as the Desktop Environment in remote server side and install X2Go client in the client side.<\/p>\n<h4>On Ubuntu Server Side:<\/h4>\n<p>The latest X2Go server is available in Ubuntu 14.04 LTS, Ubuntu 12.04 LTS, and Ubuntu 10.04 LTS via PPA. Just connect to your Ubuntu server and run below commands to add the PPA and install the server packages:<\/p>\n<p>Before adding the PPA, you have to install <code>add-apt-repository<\/code>:<\/p>\n<pre style=\"border:none;\">sudo apt-get install python-software-properties software-properties-common<\/pre>\n<p>To add PPA, run:<\/p>\n<pre style=\"border:none;\">sudo apt-add-repository -y ppa:x2go\/stable<\/pre>\n<p>Refresh system package lists:<\/p>\n<pre style=\"border:none;\">sudo apt-get update<\/pre>\n<p>Install X2Go Server:<\/p>\n<pre style=\"border:none;\">sudo apt-get install x2goserver x2goserver-xsession<\/pre>\n<p>In this case I&#8217;m going to access the XFCE4 Desktop of remote Ubuntu server, so also install the Xfce4:<\/p>\n<pre style=\"border:none;\">sudo apt-get install xfce4<\/pre>\n<p>Finally restart the server by running <code>reboot<\/code> command.<\/p>\n<div class=\"arconix-box arconix-box-yellow\"><i class='fa fa-2x pull-left fa-lightbulb-o'><\/i><div class=\"arconix-box-content\">If you have not set a hostname in your Ubuntu server, run below command to set it up, or you&#8217;ll get error connecting to the Ubuntu server. Replace <code>plato<\/code> with the hostname of your choice<\/p>\n<pre style=\"border:none\">echo \"plato\" &gt; \/etc\/hostname\n\nhostname -F \/etc\/hostname<\/pre>\n<\/div><\/div>\n<h4>On Client Side:<\/h4>\n<p>For Windows and\/or Mac OS X, see this <a href=\"http:\/\/wiki.x2go.org\/doku.php\/doc:installation:x2goclient\" target=\"_blank\">how to install wiki<\/a>.<\/p>\n<p>For Ubuntu 12.04, Ubuntu 10.04, Ubuntu 14.04, and Ubuntu 14.10 you can get the latest client from PPA by running below commands one by one in a terminal window <i>(or you can install an old version directly from Ubuntu Software Center)<\/i>:<\/p>\n<pre style=\"border:none;\">sudo apt-add-repository ppa:x2go\/stable\n\nsudo apt-get update\n\nsudo apt-get install x2goclient<\/pre>\n<p>The first time you start the client, it prompts you to create a session with:<\/p>\n<ul>\n<li>a session name of your choice<\/li>\n<li>an icon of your choice<\/li>\n<li>remote server ip<\/li>\n<li>the login name <\/li>\n<li>ssh port (default is 22)<\/li>\n<li>select session type (XFCE in the case)<\/li>\n<\/ul>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/01\/x2go-create-session.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/01\/x2go-create-session.jpg\" alt=\"x2go create session\" width=\"600\" height=\"363\" class=\"aligncenter size-full wp-image-4476\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/01\/x2go-create-session.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/01\/x2go-create-session-300x181.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>After that, you can see the session available in the right pane of the client window. Go to menu <b>session -> new session<\/b> if you have more that one remote server to connect.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/01\/x2go-list-session.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/01\/x2go-list-session.jpg\" alt=\"x2go client window\" width=\"600\" height=\"336\" class=\"aligncenter size-full wp-image-4477\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/01\/x2go-list-session.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/01\/x2go-list-session-300x168.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Click a session from the right pane and type in remote user password to connect:<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/01\/x2go-login.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/01\/x2go-login.jpg\" alt=\"x2go Login\" width=\"600\" height=\"322\" class=\"aligncenter size-full wp-image-4478\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/01\/x2go-login.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/01\/x2go-login-300x161.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Once connected, you can operate on the remote desktop in a new window:<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/01\/remote-ubuntu-server-desktop.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/01\/remote-ubuntu-server-desktop-1024x576.jpg\" alt=\"remote-ubuntu-server-desktop\" width=\"610\" height=\"343\" class=\"aligncenter size-large wp-image-4479\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/01\/remote-ubuntu-server-desktop-1024x576.jpg 1024w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/01\/remote-ubuntu-server-desktop-300x168.jpg 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/01\/remote-ubuntu-server-desktop.jpg 1287w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>That&#8217;s it. Enjoy!<\/p>","protected":false},"excerpt":{"rendered":"<p>Want to remotely access your Ubuntu Server with a graphical interface? Well, here&#8217;s a simple guide shows you how to do it with X2Go, an implementation of NX remote desktop protocol. All you need to do is install X2Go Server package as well as the Desktop Environment in remote server side and install X2Go client [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[28],"class_list":["post-4474","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-remote-access"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/4474","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=4474"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/4474\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=4474"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=4474"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=4474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}