User Tools

Site Tools


blog:elegant_solution_for_remotely_accessible_vnc_desktops

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
blog:elegant_solution_for_remotely_accessible_vnc_desktops [2010-08-29 18:19] brbblog:elegant_solution_for_remotely_accessible_vnc_desktops [2012-07-11 06:46] (current) – [Features] brb
Line 1: Line 1:
 ====== Elegant solution for remotely accessible vnc desktops ====== ====== Elegant solution for remotely accessible vnc desktops ======
  
-I wanted to give windows users in my network quick access to a linux graphical desktop. I chose the vnc protocol, because there are many good and open source implementations (notably tightvnc which comes with in a portable version). +I wanted to give windows users in my network quick access to a linux graphical desktop. I chose the vnc protocol, because there are many good and open source implementations (notably tightvnc which comes in a portable version). 
  
 ===== Features ===== ===== Features =====
   * vnc terminal server, which can handle any number of clients   * vnc terminal server, which can handle any number of clients
-  * minimal setup for users +  * very easy setup for users. Preparing a vnc client and telling users what server:port to connect is enough.  
-  * different resolutions chose by the vnc that the client connects to+  * different resolutions chosen by the vnc port that the client connects to
  
 ===== Client setup ===== ===== Client setup =====
-  * From the local network: Almost none, clients connect to vnc ports 5951, 5952 etc. depending on the resolution they want.\\  ''vncviewer -encodings tight ::5902'' +  * From the local network: Almost none, clients connect to vnc ports 5951, 5952 etc. depending on the resolution they want.\\  ''vncviewer -encodings tight ::5952'' 
   * From remote, using ssh:    * From remote, using ssh: 
     * Create a port forward from 590x to 595x on the server     * Create a port forward from 590x to 595x on the server
Line 18: Line 18:
  
 ===== Server setup: ===== ===== Server setup: =====
 +
 +  * Install xinetd and vnc4server
 +  * Change display manager to kdm
 +  * change kdmrc to allow xmdcp login
 +  * change Xaccess to allow login
 +
  
 Add custom services to your /etc/services file, so that your inetd.conf can use them: Add custom services to your /etc/services file, so that your inetd.conf can use them:
Line 33: Line 39:
   custom-vnccc stream tcp nowait nobody /usr/bin/Xvnc Xvnc :8 -inetd -query localhost -once -geometry 1680x1024 -depth 24 -ac   custom-vnccc stream tcp nowait nobody /usr/bin/Xvnc Xvnc :8 -inetd -query localhost -once -geometry 1680x1024 -depth 24 -ac
  
 +Ref: http://linuxreviews.org/howtos/xvnc/#toc3
  
 {{tag>linux vnc terminal-server}} {{tag>linux vnc terminal-server}}
blog/elegant_solution_for_remotely_accessible_vnc_desktops.1283098773.txt.gz · Last modified: 2010-08-29 18:19 by brb