{"id":201,"date":"2020-04-14T11:01:59","date_gmt":"2020-04-14T04:01:59","guid":{"rendered":"https:\/\/prosindo.com\/blog\/?p=201"},"modified":"2025-12-10T12:27:44","modified_gmt":"2025-12-10T05:27:44","slug":"remote-lubuntu-vnc-and-ssh-server","status":"publish","type":"post","link":"https:\/\/prosindo.com\/blog\/2020\/04\/14\/remote-lubuntu-vnc-and-ssh-server\/","title":{"rendered":"Remote Lubuntu (VNC and SSH server)"},"content":{"rendered":"\n<p>Lubuntu not installed ssh and vnc server, so you can install it yourself<\/p>\n\n\n\n<p>1. Install required packages:<br>\n<code>sudo apt install openssh-server vino<\/code><br>\n<code>sudo reboot<\/code><\/p>\n\n\n\n<p>2. At this point you should be able to connect via ssh, but vnc not working yet, unfortunately vino no longer ship with vino-preferences, there is no easy way to configure it (bug list https:\/\/bugs.launchpad.net\/ubuntu\/+source\/vino\/+bug\/1775999):<br>\n<code># list settings<\/code><br>\n<code>gsettings list-keys org.gnome.Vino<\/code><br>\n<code># disable prompt<\/code><br>\n<code>gsettings set org.gnome.Vino prompt-enabled false<\/code><br>\n<code># set auth method<\/code><br>\n<code>gsettings set org.gnome.Vino authentication-methods \"['vnc']\"<\/code><br>\n<code># set password<\/code><br>\n<code>gsettings set org.gnome.Vino vnc-password $(echo -n \"password\"|base64)<br>\n# disable encryption<br>\ngsettings set org.gnome.Vino require-encryption false<\/code><\/p>\n\n\n\n<p>3. Start the vnc server:<br>\n<code>DISPLAY=:0 \/usr\/lib\/vino\/vino-server<\/code><\/p>\n\n\n\n<p>4. Setting autostart:<br>\n<code>~\/.config\/autostart\/vino-server.desktop<\/code><br>\n<code>[Desktop Entry]<\/code><br>\n<code>Type=Application<\/code><br>\n<code>Name=Vino VNC server<\/code><br>\n<code>Exec=\/usr\/lib\/vino\/vino-server<\/code><br>\n<code>NoDisplay=true<\/code><\/p>\n\n\n\n<p><code>mkdir ~\/.config\/autostart<\/code><br>\n<code>nano ~\/.config\/autostart\/systemctl.desktop<\/code><\/p>\n\n\n\n<p><code>[Desktop Entry]<\/code><br>\n<code>Type=Application<\/code><br>\n<code>Exec=systemctl --user start vino-server<\/code><br>\n<code>Hidden=false<\/code><br>\n<code>NoDisplay=false<\/code><br>\n<code>X-GNOME-Autostart-enabled=true<\/code><br>\n<code>Name=Vino Server<\/code><br>\n<code>Comment=Auto-start the VNC service on login in<\/code><\/p>\n\n\n\n<p>4b. Xubuntu autostart<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><span id=\"62e2\" class=\"kj je gw jb b eu kk kl l km kn\" data-selectable-paragraph=\"\">sudo cp \/usr\/share\/applications\/vino-server.desktop \/etc\/xdg\/autostart\/vino-server.desktop<\/span><\/code><\/pre>\n\n\n\n<p><strong>Ubuntu 24.04 (Wayland)<\/strong><br>Vino doesnt support wayland, no other available yet as of now (2025-12-10)<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Force X11:\n\/etc\/gdm3\/custom.conf\nWaylandEnable=false\n# restart gdm3<\/code><\/pre>\n\n\n\n<p>Source:<br>\n&#8211; https:\/\/askubuntu.com\/questions\/4474\/enable-remote-vnc-from-the-commandline<br>\n&#8211; https:\/\/wiki.archlinux.org\/index.php\/Vino<br>\n&#8211; https:\/\/askubuntu.com\/questions\/1062727\/how-to-get-vino-vnc-server-to-start-on-startup-in-ubuntu-18-04-1<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lubuntu not installed ssh and vnc server, so you can install it yourself 1. Install required packages: sudo apt install openssh-server vino sudo reboot 2. At this point you should be able to connect via ssh, but vnc not working yet, unfortunately vino no longer ship with vino-preferences, there is no easy way to configure &hellip; <a href=\"https:\/\/prosindo.com\/blog\/2020\/04\/14\/remote-lubuntu-vnc-and-ssh-server\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Remote Lubuntu (VNC and SSH server)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-201","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/posts\/201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/comments?post=201"}],"version-history":[{"count":8,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/posts\/201\/revisions"}],"predecessor-version":[{"id":503,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/posts\/201\/revisions\/503"}],"wp:attachment":[{"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/media?parent=201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/categories?post=201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/tags?post=201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}