Update-rc.d vncserver defaults 99 :~# update-rc.d vncserver defaults 99Īdding system startup for /etc/init.d/vncserver. If you need to make it started after the reboot automatically, a startup script needed to be written on the rc.d like below: We need to create a configuration file for VNC:ĩ. apt install something translate to package: pkgsomething stateinstalled, etc. ), then translate the bash commands to Ansible. There will be some issues with the gnome-vnc session so we need to kill the present vnc session as below:ħ. But if its about improving the playbook as you started it, well, find a tutorial about installing the VNC server youre aiming at (tightvncserver, tigervnc. We need to copy the original file and create a new configuration file as shown below: Check the Sample screenshots section for examples. Since the key components arent bound to Ubuntu or GNOME, you can use your favorite distro and GUI. For this setup, I will use Ubuntu 20.04 LTS (Focal Fossa), and install GNOME Desktop. Put a password for the vnc user there and verify the same.Ĥ. The key components we need to install are tigervnc-standalone-server and systemd-genie. Once the above packages are fully installed, we need to add a normal user for using VNC Please uninstall if TightVNC or any other installations there.ģ. Ii vnc4server 4.2.3+xorg4.3.0-37ubuntu5 amd64 Virtual network computing server software You can check it using the following command: You need to make sure that you are using only vnc-server and no other VNC-server installations were present in the server as this could give errors in future mostly that clipboard sharing between the host Ubuntu Server and vnc-client machine. This guide is for installing and setting up a VNC-Server on the servers installed with Ubuntu/Debian OS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |