mastersasg.blogg.se

Ubuntu 18.04 vnc server gnome desktop
Ubuntu 18.04 vnc server gnome desktop








ubuntu 18.04 vnc server gnome desktop

You can also change 1280x800 to your desired resolution: ĭescription=Start TightVNC server at startupĮxecStartPre=-/usr/bin/vncserver -kill :%i > /dev/null 2>&1ĮxecStart=/usr/bin/vncserver -depth 24 -geometry 1280x800 :%i A unit file encodes information about a service: sudo nano in the following, replacing idroot it with your own user name. One more time, let’s stop the VNC server so we can change the configuration files: vncserver -kill :1 Create a VNC server system startup script.

ubuntu 18.04 vnc server gnome desktop

Make the xstartup file executable: sudo chmod +x ~/.vnc/xstartupĪnd finally, start vncserver again: vncserver Now edit xstartup the file: nano ~/.vnc/xstartupĪdd the following 3 lines of text to your new file: #!/bin/bash Next, create a backup of its default startup script file: mv ~/.vnc/xstartup ~/.vnc/xstartup.bak Before doing so, kill the VNC service: vncserver -kill :1 Log file is /home/idroot/.vnc/meilana-maria-86:1.log Starting applications specified in /home/idroot/.vnc/xstartup Xauth: (argv):1: bad display name "lucky-puffin-86:1" in "add" commandĬreating default startup script /home/idroot/.vnc/xstartup Xauth: file /home/idroot/.Xauthority does not exist Would you like to enter a view-only password (y/n)? y Warning: password truncated to the length of 8. You’ll be prompted to enter and verify a password to access your machine remotely: You will require a password to access your desktops.










Ubuntu 18.04 vnc server gnome desktop