rw- 1 root root 8 Sep 25 02:22 /root/.vnc/passwd Now we can start VNCServer same as above.But this time it will not ask for password as password is already saved in ~/.vnc/passwd #ls -l ~/.vnc/passwd rwxr-xr-x 1 root root 46 Sep 25 03:09 /root/.vnc/xstartup Please check permission should be executable for xstartup file #ls -l ~/.vnc/xstartup #cp -p ~/.vnc/xstartup ~/.vnc/xstartup.bak it better to take backup file and recreate it like below. #vncserver -kill :1Īfter this, we need to open and edit xstartup file. So before configuring xstartup file, first we should kill same vnc session that we initiated with below command. It also created xstartup file, which used to configure starting application used for X Windows. It asked for view only password as well, In this windows views can’t able to control system. In above output, it is clear that first time it ask for password. Starting applications specified in /root/.vnc/xstartup Would you like to enter a view-only password (y/n)? n
![vnc server ubuntu vnc server ubuntu](https://www.server-world.info/en/Ubuntu_12.04/x/img/13.jpg)
Warning: password truncated to the length of 8. You will require a password to access your desktops. This will create VNC Server session for same user. Install the Xfce and TightVNC packages below command apt-get install xfce4 xfce4-goodies tightvncserverĪfter installation of VNC Server, we have to start and configure VNC server, for this we have to use vncserver command to setup VNC password for login. On ubuntu Server 16.04 by default no VNC packages is installed, So we have install them with apt-get.
![vnc server ubuntu vnc server ubuntu](https://www.how2shout.com/linux/wp-content/uploads/2020/09/Steam-Linux-Games-to-play-min-1024x606.jpg)
There are various cross-platform apps like RealVNC.
#Vnc server ubuntu how to#
in this post we will see how to configure VNC Server, through which we can take VNC. In this post we will see how we could configure VNC server on ubuntu machines and with help of that we could complete our task that need graphical console. So these requirements we have VNC, through which we could take Linux graphical console remotely. Some of our task on Linux machines need graphical console on Linux machines or some application team person need graphical console, as they are not very much handy with various Linux commands.