VNC Basics 📱
Confused about VNC? We got you covered here. 😎
Last updated
Confused about VNC? We got you covered here. 😎
Last updated
First of all you need to make sure that you have any Desktop Environment installed in your LInux OS. If you are sure about then do:
Now just download any VNC Viewer app from play store and connect to localhost:1
It is very necessary to stop VNC server once you are done with it or you are exiting the Linux distro. To stop the VNC Server type:
Once you do it, terminal will ask you for port number. Enter 1 as port number and click enter.
To change the VNC Server resolution type:
Now change the last line to:
You can change the resolution according to your device and then restart/start the VNC Server.
Once you are done just press Ctrl+X
and then typen Y and then hit enter.
If you are using BVNC then you do not need to make any changes. It will make its required changes itself
If you are using RealVNC Viewer then connect to the VNC Server and then click on i button at the top and then change Picture Quality to High or your desired quality.
You can access VNC over PC or any other device but for that your both devices need to be in the same network i.e. both the devices should be connected to the same Wi-Fi. If you don't have access to Wi-Fi you can start the hotspot from the device having the Linux installed and connect the other device to the hotspot. Once your both the devices are under same network do:
Now edit the last line to:
If you are using any Linux OS which is Arch based distro then you need to change the to:
Once you are done with this open a new Termux session and type:
and copy then WLAN IP address (eg. 192.168.xx.xx). Now use this IP Address on the other device with the port number as 1 (eg. 192.168.xx.xx:1).
To change resolution permanantly type:
Once you do this replace the second line with:
You can change the resolution according to your device and then restart/start the VNC Server.
Once you are done just press Ctrl+X
and then typen Y and then hit enter.
Now when you'll do just choose the first option i.e. Start vncserver with autodetect/dynamic resolution