{"id":5021,"date":"2020-07-02T07:50:07","date_gmt":"2020-07-02T07:50:07","guid":{"rendered":"https:\/\/davelevy.info\/wiki\/?p=5021"},"modified":"2024-08-15T08:25:55","modified_gmt":"2024-08-15T08:25:55","slug":"remote-desktop-elementary-os","status":"publish","type":"post","link":"https:\/\/davelevy.info\/wiki\/remote-desktop-elementary-os\/","title":{"rendered":"Remote Desktop &#038; Elementary OS"},"content":{"rendered":"<p>Been trying to access my laptop running Elementary using a remote desktop protocol and it&#8217;s harder than I&#8217;d want. I have not yet finished and so this documents how <strong>not<\/strong> to do it. Here are my notes. &#8230; <!--more--><\/p>\n<h3>RDP<\/h3>\n<p>Elementary OS does not support RDP. This <a title=\"How to connect to elementary OS using rdp client (remmina)?\" href=\"https:\/\/elementaryos.stackexchange.com\/questions\/3721\/how-to-connect-to-elementary-os-using-rdp-client-remmina\">article on stack exchange dated Dec 15<\/a> says it&#8217;s not possible with RDP. Reddit commentors <a href=\"https:\/\/www.reddit.com\/r\/elementaryos\/comments\/g1qi9b\/rdp_to_elementary_os\/?rdt=34549\">suggest<\/a> it may now be possible. Maybe test it with VBox.<\/p>\n<h3>VNC<\/h3>\n<h4>tightvnc<\/h4>\n<p>When following <a href=\"https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-install-and-configure-vnc-on-ubuntu-18-04\">the obvious instructions<\/a>, which include instructions on how to wrote a <code>systemd<\/code> service description, I get a the basic grey X-Windows screen. I am surprised that it runs in User space, under User privilege. There&#8217;s not so much on Elementary although loads on Unbuntu.<\/p>\n<p>Using <code>tightvnc<\/code>, the configuration and logfiles are held in held in <code>${HOME}\/.vnc folder<\/code>. There is a file, <code>xstartup<\/code> which needs to be pointed at the window manager start file. <a href=\"https:\/\/unix.stackexchange.com\/questions\/138332\/vnc-on-elementary-os\">Someone suggests<\/a> that the following needs to be placed in <code>${HOME}\/.xsession<\/code><\/p>\n<p><code>gnome-session --session=pantheon<\/code><\/p>\n<p>I have tried with <code>xfce4<\/code> and <code>lxde<\/code> which I installed. I looked further and some advise using <code>lightdm<\/code>, all of which involve making changes to <code>$HOME\/.vnc\/xstartup<\/code>. The last line needs to invoke the window manager.<\/p>\n<p>I also looked at these pages while trying to get it work.<\/p>\n<ol>\n<li>On <a href=\"https:\/\/elementaryos.stackexchange.com\/questions\/24780\/vnc-server-installed-from-ssh-only-shows-grey-screen\">Installing using SSH<\/a>, so command line only but has the lightdm runes, albeit they fail. Also points at <a href=\"https:\/\/elementaryos.stackexchange.com\/questions\/10346\/how-to-access-desktop-on-a-headless-loki-machine\">How to access desktop on a headless Loki machine<\/a>.<\/li>\n<li><a href=\"https:\/\/help.ubuntu.com\/community\/VNC\/Clients\">Ubuntu&#8217;s Client Page.<\/a><\/li>\n<li>Here&#8217;s <a href=\"https:\/\/www.youtube.com\/watch?v=_8YZst2x9GE\">the video that recommends using lxde<\/a>.<\/li>\n<li>This is a <a href=\"https:\/\/elementaryos.stackexchange.com\/search?q=vnc\">query on vnc at elementaryos.stackexchange.com<\/a><\/li>\n<\/ol>\n<p>I initially tested using RealVNC on windows and then switched to Remina on the VNC server itself. All of which return the grey X screen.<\/p>\n<p>I havn&#8217;t tried <a title=\"this is about lightdm and the window manager startup\" href=\"https:\/\/elementaryos.stackexchange.com\/questions\/10346\/how-to-access-desktop-on-a-headless-loki-machine\">this<\/a> yet. Also I wonder if <a href=\"https:\/\/elementaryos.stackexchange.com\/questions\/10346\/how-to-access-desktop-on-a-headless-loki-machine\">the geometry statement should be written to the configuration file<\/a>.<\/p>\n<h4>TigerVNC<\/h4>\n<p>I have now come to <acronym title=\"can't find the reference\">this<\/acronym> which suggests that <a href=\"https:\/\/tigervnc.org\/\">TigerVNC<\/a> should be used.<\/p>\n<p>After much buggering around I came across this, <a href=\"https:\/\/web.archive.org\/web\/20231106195117\/https:\/\/gist.github.com\/plembo\/87a429f3bd1f95d4ec59b2ce8ce0a04d\">Installing tigervnc on Ubuntu<\/a> which also talks about some really simple window managers.<\/p>\n<h3>Nomachine<\/h3>\n<p>An <a href=\"https:\/\/www.nomachine.com\/\">idea<\/a> from somewhere else.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Been trying to access my laptop running Elementary using a remote desktop protocol and it&#8217;s harder than I&#8217;d want. I have not yet finished and so this documents how not to do it. Here are my notes. &#8230;<\/p>\n","protected":false},"author":1,"featured_media":5022,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","_share_on_mastodon":"0"},"categories":[8,3],"tags":[710,916,372,1484,911,532],"class_list":["post-5021","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-technology","tag-elementary-os","tag-linux","tag-rdp","tag-remote-desktop","tag-technology","tag-vnc"],"share_on_mastodon":{"url":"","error":""},"jetpack_featured_media_url":"https:\/\/davelevy.info\/wiki\/wp-content\/uploads\/2020\/07\/elementary-hera-h200.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/5021","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/comments?post=5021"}],"version-history":[{"count":2,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/5021\/revisions"}],"predecessor-version":[{"id":11245,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/5021\/revisions\/11245"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media\/5022"}],"wp:attachment":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media?parent=5021"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/categories?post=5021"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/tags?post=5021"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}