
VNC (Virtual Networking Computing) is a system to access computing systems remotely by sharing graphical desktop environments.
Install Gnome.
Install TigerVNC.
If you want to set up a restricted session for a user, type "y" during the view-only password option. Clients who authenticate with the view-only password will have restricted mouse and keyboard access.
Setup VNC user password.
Edit vncserver.users.
At the bottom of the file, add a new VNC user. Replace user with your VNC user.
Copy VNC server service boilerplate.
Allow the server to run at startup.
Start the VNC server.
Verify VNC server is running.
Initiate SSH tunneled connection on the client machine.
Use the flag
-4if your server only has an ipv4 address.
Using a VNC viewer of your choice, enter the following server address:
After entering VNC authentication credentials, you should be presented with a Gnome desktop environment.
VNC server configurations can be set through the $HOME/.vnc/config file.
If it doesn't already exist, create and edit the config file.
Arguments are line-separated and use an equal sign for values. Here's a sample config file:
Restart the VNC server to apply changes.
You should have a working secure VNC connection to your Rocky Linux Cloud Server. For more info, refer to the official TigerVNC website for documentation.
0 Comments
Be the first to comment and share your perspective with the community.