1 |
On Tuesday 21 July 2009, Mark Knecht wrote: |
2 |
> On Tue, Jul 21, 2009 at 10:56 AM, Mick<michaelkintzios@×××××.com> wrote: |
3 |
|
4 |
> > roughly is equivalent to 1210x907 pixels. Run 'xdpyinfo -display :0.0' |
5 |
> > to see the dimensions in rounded numbers. |
6 |
|
7 |
> OK, there is possibly a little extra difficulty to get this run, but |
8 |
> it's likely just ssh stuff or possibly not enabling something in X11. |
9 |
> |
10 |
> 1) I first ssh into my dad's Gentoo machine. When I try to run the |
11 |
> command through the ssh tunnel I get this: |
12 |
> |
13 |
> gandalf ~ # xdpyinfo -display :0.0 |
14 |
> Xlib: connection to ":0.0" refused by server |
15 |
> Xlib: Protocol not supported by server |
16 |
> |
17 |
> xdpyinfo: unable to open display ":0.0". |
18 |
> gandalf ~ # |
19 |
> |
20 |
> I then ssh into my mom's Gentoo machine |
21 |
> |
22 |
> gandalf ~ # !ssh |
23 |
> ssh DesertFlower |
24 |
> Password: |
25 |
> Last login: Mon Jul 20 19:29:10 PDT 2009 from gandalf on pts/0 |
26 |
> DesertFlower ~ # xdpyinfo -display :0.0 |
27 |
> Xlib: connection to ":0.0" refused by server |
28 |
> Xlib: No protocol specified |
29 |
> |
30 |
> xdpyinfo: unable to open display ":0.0". |
31 |
> DesertFlower ~ # |
32 |
> |
33 |
> Right now no one is logged into either machine. Both are presumably |
34 |
> sitting with gdm login screens. |
35 |
|
36 |
Hmm, it could be an ssh thing, not sure, probably an xauth thing (have a look |
37 |
at man xauth). See if setting your IP address allows to access your parents |
38 |
machine: |
39 |
|
40 |
xdpyinfo -display XXX.XXX.XX.XX:0.0 <--where XXX.XXX.XX.XX is your IP address |
41 |
|
42 |
of try to set the relevant env variable: setenv DISPLAY XXX.XXX.XXX.XXX:0 at |
43 |
your client machine first. |
44 |
|
45 |
Alternatively, ask them to login and then use the same login credentials. |
46 |
|
47 |
HTH. |
48 |
-- |
49 |
Regards, |
50 |
Mick |