Gentoo Archives: gentoo-user

From: Iain Buchanan <iaindb@××××××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] remote desktop suggestion
Date: Thu, 21 Jan 2010 23:26:23
Message-Id: 1264116304.3302.8.camel@localhost
In Reply to: [gentoo-user] remote desktop suggestion by Valmor de Almeida
1 On Thu, 2010-01-21 at 17:10 -0500, Valmor de Almeida wrote:
2 > Hello,
3 >
4 > I would like to try a remote desktop server/client app (linux to linux).
5 > Would anyone have suggestions? freenx x ltsp x vnc x others?
6
7 I've settled on tightvnc since so many different clients and servers
8 support it (windows, linux, etc). The Gnome vnc server (vino) also
9 supports tightvnc extentions. It can be a bit of a hassle to get going,
10 but make sure "vino" is running on the server as a logged-in user. Then
11 run (I use net-misc/tightvnc):
12
13 $ vncviewer -encodings tight host
14 or to tunnel it over ssh:
15 $ vncviewer -encodings tight -via 123.456.789.012 localhost
16 and to change the ssh port:
17 $ VNC_VIA_CMD="/usr/bin/ssh -p 12345 -f -L %L:%H:%R %G sleep 20" vncviewer -via 123.456.789.012 localhost
18
19 It works pretty well, even over dialup.
20
21 You do need the remote user logged in though. If you want a
22 terminal-services type model, then you can set up vnc to run as root and
23 take users to the gdm (or other) login manager. Search Google for the
24 instructions. I've seen it working, but never done it myself. I would
25 definitely put it behind ssh in this case.
26
27 HTH,
28 --
29 Iain Buchanan <iaindb at netspace dot net dot au>
30
31 "My education message will resignate amonst all parents."
32
33 George W. Bush
34 January 19, 2000
35 Quoted in the New York Post.