Use nano or another text editor to create the following file: $ sudo nano you have the file opened, insert the following lines while replacing the user1 username with the username of your VNC user on Line 7 and Line 10. In that case, creating a systemd startup script can facilitate that. While this configuration works, you may have a scenario where you need to manage multiple VNC desktop sessions. Next, use the local port 5901 to connect to a remote VNC server via the SSH tunnel:.State Recv-Q Send-Q Local Address:Port Peer Address:Port The above command will open a local port 5901 on a localhost loopback network interface 127.0.0.1: $ ss -ltn In the following command, make sure you replace user1 and linuxconfig with the username and hostname of your VNC server:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |