1 |
On Tuesday 08 June 2010 02:14:55 Jake Moe wrote: |
2 |
> I've got two Gentoo boxes, and would like to run X apps from both on one |
3 |
> display. From reading up on it, it appears that while this is possible, |
4 |
> it's also not recommended from a security standpoint, and the few HOWTOs |
5 |
> I've found for it seem to be 4-6 years old. Can anyone tell me: |
6 |
|
7 |
Security: Yes, it is not recommended, however, if you trust everyone who can |
8 |
connect to your network, then it is safe enough. |
9 |
|
10 |
> a) if this is a good idea in the first place, |
11 |
|
12 |
Depends on what you want to achieve. If you have only one screen and/or one |
13 |
machine with a decent graphics card then it does make sense. |
14 |
However, X is a very inefficient protocol. Eg. it can clog the network. |
15 |
|
16 |
> b) should I be looking at VNC instead of remote X, |
17 |
|
18 |
Maybe, but VNC puts the remote screen in a window. |
19 |
|
20 |
> c) is there another option I should be looking at, and |
21 |
|
22 |
Yes :) |
23 |
|
24 |
> d) if there is a good HOWTO on setting up whichever is the best to use |
25 |
> on a recent Gentoo system? |
26 |
|
27 |
I use X-tunneling with ssh. |
28 |
To get this to work, start with trying the following: |
29 |
|
30 |
(machineA has screen, machineB is screenless) |
31 |
on machineA # ssh -Y machineB |
32 |
then, on machineB, start the program you want displaying on machineA, for |
33 |
instance firefox. |
34 |
|
35 |
This is both easier to implement and also removes the security issues as ssh |
36 |
is encrypted. |
37 |
|
38 |
HTH, |
39 |
|
40 |
Joost Roeleveld |