Gentoo Archives: gentoo-user

From: "आशीष शुक्ल Ashish Shukla" <wahjava.ml@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] Trying to use xauth -> Xlib: No protocol specified
Date: Thu, 07 Feb 2008 16:19:04
Message-Id: 20080207162025.GD26443@chateau.d.lf
In Reply to: [gentoo-user] [OT] Trying to use xauth -> Xlib: No protocol specified by Michael Schmarck
1 ,--[ On Thu, Feb 07, 2008 at 08:52:21AM +0100, Michael Schmarck wrote:
2 | Hello folks!
3 |
4 | I know that this question is offtopic for this list, but maybe
5 | someone has a clue nonetheless...
6 |
7 | I'm trying to access my local X display (on a Gentoo Linux machine,
8 | of course - am I now on topic? *G*) from a remote system (running
9 | Solaris 10U4 on Sparc). I cannot use ssh to login to that machine.
10 | To be somewhat secure, I tried to use xauth, but that doesn't
11 | work....
12 |
13 | What did I do?
14 |
15 | On the local system, I did:
16 |
17 | xauth extract xauth.key $DISPLAY:0.0
18
19 Above line should read:
20
21 xauth extract xauth.key $DISPLAY
22
23 Anyways if your above command is incorrect, then no xauth.key would've
24 been generated :) .
25
26 [snipped]
27
28 | Internet Protocol, Src: 10.0.1.26 (10.0.1.26), Dst: 10.0.3.115 (10.0.3.115)
29
30 [snipped]
31
32 | X11, Request, Initial connection request
33 |     byte-order: 0x42 (Big-endian)
34 |     unused
35 |     protocol-major-version: 11
36 |     protocol-minor-version: 0
37 |     authorization-protocol-name-length: 0
38 |     authorization-protocol-data-length: 0
39 |     unused
40
41 Note, in the above request, it hasn't passed your xauth information,
42 which is possible only in 2 cases, either your $HOME/.Xauthority on
43 $remote doesn't exist or $XAUTHORITY environment variable points to
44 a non-existent file.
45
46 HTH
47 --
48 Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/
49 ·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
50 freed.in | freedom in technology and software | 22-24 February 2008 | Delhi
51 ··-· ·-· · · -·· ·-·-·- ·· -· ··--- ----- ----- ---··

Attachments

File name MIME type
signature.asc application/pgp-signature