How to Restart VNC Service in Ubuntu

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.

Ubuntu, a popular open-source Linux operating system, includes a Virtual Network Connection (VNC) program. The VNC program is used to access the Ubuntu computer from a remote computer, as well as to connect from the Ubuntu computer to other computers. If the program runs for a long enough period of time, it may cease to work. You must restart the program for it to function normally.


Step 1

Log in to Ubuntu as the root user. If you can't log in as root, log in as a normal user, open a Terminal and then type "su." Enter your root password to gain root privileges.

Video of the Day

Step 2

Open a Terminal window, type "vncserver -kill" and press "Enter" to stop the VNC service.


Step 3

Type "vncserver" and press "Enter" to restart the VNC service.




Report an Issue

screenshot of the current page

Screenshot loading...