blog:elegant_solution_for_remotely_accessible_vnc_desktops
| Next revision | Previous revision | ||
| blog:elegant_solution_for_remotely_accessible_vnc_desktops [2010-08-29 17:52] – created brb | blog: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 ====== | ||
| - | To create | + | 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 |
| - | Add custome | + | ===== Features ===== |
| + | * vnc terminal server, which can handle any number of clients | ||
| + | * very easy setup for users. Preparing a vnc client and telling users what server:port to connect is enough. | ||
| + | * different resolutions chosen by the vnc port that the client connects to | ||
| + | |||
| + | ===== Client setup ===== | ||
| + | * From the local network: Almost none, clients connect to vnc ports 5951, 5952 etc. depending on the resolution they want.\\ | ||
| + | * From remote, using ssh: | ||
| + | * Create a port forward from 590x to 595x on the server | ||
| + | * Connect your vnc client to localhost: | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ===== Server setup: ===== | ||
| + | |||
| + | * Install xinetd and vnc4server | ||
| + | * Change display manager to kdm | ||
| + | * change kdmrc to allow xmdcp login | ||
| + | * change Xaccess to allow login | ||
| + | |||
| + | |||
| + | Add custom | ||
| # Local services | # Local services | ||
| custom-vnc 5951/ | custom-vnc 5951/ | ||
| custom-vncc 5952/ | custom-vncc 5952/ | ||
| custom-vnccc 5953/ | custom-vnccc 5953/ | ||
| - | custom-vncccc 5954/ | + | |
| + | Add one line per resolution you want to your inetd.conf. Add more resolutions at your taste. Of course, geometry should match the screen size of your clients. | ||
| #custom-vnc stream tcp nowait nobody / | #custom-vnc stream tcp nowait nobody / | ||
| custom-vnc stream tcp nowait nobody / | custom-vnc stream tcp nowait nobody / | ||
| Line 16: | Line 39: | ||
| custom-vnccc stream tcp nowait nobody / | custom-vnccc stream tcp nowait nobody / | ||
| + | Ref: http:// | ||
| - | {{tag>}} | + | {{tag>linux vnc terminal-server}} |
| ~~LINKBACK~~ | ~~LINKBACK~~ | ||
| ~~DISCUSSION~~ | ~~DISCUSSION~~ | ||
blog/elegant_solution_for_remotely_accessible_vnc_desktops.1283097154.txt.gz · Last modified: 2010-08-29 17:52 by brb
