User Tools

Site Tools


vnc_install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
vnc_install [2021/08/31 04:42]
vsaxena
vnc_install [2021/09/05 03:13] (current)
vsaxena [VNC Remote Connection Setup]
Line 1: Line 1:
 ====== VNC Remote Connection Setup ====== ====== VNC Remote Connection Setup ======
-There are couple of different SSH Clients available for **Windows**. You can use either use Bitvise or Putty ssh clients.+There are couple of different SSH Clients available for **Windows**. You can use either use Bitvise or Putty ssh clients. ​
  
 ===== Bitvise SSH Client ===== ===== Bitvise SSH Client =====
Line 28: Line 28:
 <​code>​vncserver :​1</​code> ​ <​code>​vncserver :​1</​code> ​
 {{:​wiki:​vncserver1.png?​500|}} {{:​wiki:​vncserver1.png?​500|}}
-  * **Note:** If multiple users try to use the same vnc port (:1 in that case) this could lead to a conflict between users. So we need to employ unique vnc port for every user. You could just let vncserver pick a number for you. However, you need to make sure you use the same exact number when configuring the port (5900+n) in the SSH client and VNC viewer.+  * **Note: If multiple users try to use the same vnc port (:1 in that case) this could lead to a conflict between users. So we need to employ unique vnc port for every user. You could just let vncserver pick a number for you (say N). However, you need to make sure you use the same exact number when configuring the port (5900+N) in the SSH client and VNC viewer. ​**
 <​code>​vncserver</​code>​ <​code>​vncserver</​code>​
 +
 +<note important>​ Please make sure you use the same exact number when configuring the port (5900+N) in the SSH client and VNC viewer. </​note>​
 +
   * You can also set [[https://​www.thegeekdiary.com/​how-to-change-the-vnc-server-resolution-in-linux/​|VNC Server Resolution]] using the command below. You will need to change the target screen resolution as needed, say 1920x1080 or so.   * You can also set [[https://​www.thegeekdiary.com/​how-to-change-the-vnc-server-resolution-in-linux/​|VNC Server Resolution]] using the command below. You will need to change the target screen resolution as needed, say 1920x1080 or so.
 {{:​wiki:​vncserver2.png?​500|}} {{:​wiki:​vncserver2.png?​500|}}
 <​code>​ vncserver -geometry 1920x1080 :​1</​code>​ <​code>​ vncserver -geometry 1920x1080 :​1</​code>​
-  * Keep killing the unused vnc instances to reduce CPU/memory usage+  *  ​**Don'​t create new vncserver ​instances ​every time you log into the server. This will slow down the server. Either use the same instance that you picked the first time or kill your previous vncserver instance if you need to start a new one**:
 <​code>​vncserver -kill :<​instance number></​code>​ <​code>​vncserver -kill :<​instance number></​code>​
  
vnc_install.1630384968.txt.gz · Last modified: 2021/08/31 04:42 by vsaxena