alertasg.blogg.se

Ubuntu desktop vnc server
Ubuntu desktop vnc server











ubuntu desktop vnc server

Stop the VNC instance using the vncserver command with the -kill option and the server number as an argument before moving on to the next step. It’s worth noting that while working with VNC servers,:X corresponds to 5900+X as a display port. If you use vncserver to create a second instance, it will run on the next available port, which is 2, which means the server will be running on port 5902 (5900+2). The server is listening on TCP port 5901 (5900+1) in our case.

ubuntu desktop vnc server

This is the number of the display port where the vnc server is running. In the output above, take note of the:1 after the hostname. The password file is created and stored in the /.vnc directory when you run the vncserver command for the first time. The user will not be able to interact with the VNC instance with the mouse or keyboard if you opt to set up a view-only password. You’ll be asked to enter and confirm your password, as well as whether you want it to be view-only. Do not use sudo when running the following command: $ vncserver Once the VNC server is installed, run the vncserver command to create the initial configuration and set up the password.













Ubuntu desktop vnc server