Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#524413: xauth fails with xorg 7.4

21 views
Skip to first unread message

gregor herrmann

unread,
Apr 16, 2009, 6:40:10 PM4/16/09
to
Package: xauth
Version: 1:1.0.3-2
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Since quite some time I've used the following setup (with two machines
in my LAN for getting $URL from irssi on $server to $desktop):

on $desktop:
/usr/bin/xauth extract - $desktop:0.0 | ssh $server xauth merge -

on $server:
DISPLAY=$desktop:0 ssh -X $client sensible-browser "$URL"

(and X on $desktop runs as `/usr/bin/X11/X -dpi 100', i.e. without
the default '-nolisten tcp')

Since last week's upgrade of xserver-xorg-* this doesn't work any
more, all I get on $server is:
Invalid MIT-MAGIC-COOKIE-1 keyError: cannot open display: localhost:10.0

The output of `xauth list' on both machines looks sane and matches.
`xauth +$server' also works as expected.


Please tell me if there's anything else I can check or try or ...


Cheers,
gregor

- -- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'oldstable'), (500, 'experimental'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.29.200904051323
Locale: LANG=C, LC_CTYPE=de_AT@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages xauth depends on:
ii libc6 2.9-7 GNU C Library: Shared libraries
ii libx11-6 2:1.2.1-1 X11 client-side library
ii libxau6 1:1.0.4-2 X11 authorisation library
ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar
ii libxmuu1 2:1.0.4-1 X11 miscellaneous micro-utility li
ii x11-common 1:7.4+1 X Window System (X.Org) infrastruc

xauth recommends no packages.

xauth suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknnsWEACgkQOzKYnQDzz+QFcwCgqwjRIhtaVbDSmxe4OUtGQv+s
DWEAoJOSK1b7GvE/hd7oOxeN9KheKui5
=6MBr
-----END PGP SIGNATURE-----

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Bernhard R. Link

unread,
Apr 17, 2009, 5:40:11 AM4/17/09
to
* gregor herrmann <gre...@debian.org> [090417 00:51]:

> Since quite some time I've used the following setup (with two machines
> in my LAN for getting $URL from irssi on $server to $desktop):
>
> on $desktop:
> /usr/bin/xauth extract - $desktop:0.0 | ssh $server xauth merge -
>
> on $server:
> DISPLAY=$desktop:0 ssh -X $client sensible-browser "$URL"

Wow, that's quite a running in circles. Why don't you just use
ssh client DISPLAY=:0 sensible-browser "$URL"

Hochachtungsvoll,
Bernhard R. Link

gregor herrmann

unread,
Apr 17, 2009, 9:00:14 AM4/17/09
to
On Fri, 17 Apr 2009 11:20:06 +0200, Bernhard R. Link wrote:

> > on $server:
> > DISPLAY=$desktop:0 ssh -X $client sensible-browser "$URL"
> Wow, that's quite a running in circles. Why don't you just use
> ssh client DISPLAY=:0 sensible-browser "$URL"

/me coughs in embarrassment

Right, that's indeed way simpler and does what I want; thanks!


Cheers,
gregor

--
.''`. Home: http://info.comodo.priv.at/{,blog/} / GPG Key ID: 0x00F3CFE4
: :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/
`. `' Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
`- NP: Kurt Ostbahn & Die Kombo: Des haut mi vire

signature.asc

Julien Cristau

unread,
Jun 10, 2009, 5:20:09 PM6/10/09
to
On Fri, Apr 17, 2009 at 14:44:04 +0200, gregor herrmann wrote:

> On Fri, 17 Apr 2009 11:20:06 +0200, Bernhard R. Link wrote:
>
> > > on $server:
> > > DISPLAY=$desktop:0 ssh -X $client sensible-browser "$URL"
> > Wow, that's quite a running in circles. Why don't you just use
> > ssh client DISPLAY=:0 sensible-browser "$URL"
>
> /me coughs in embarrassment
>
> Right, that's indeed way simpler and does what I want; thanks!
>

So should we close this?

Cheers,
Julien

gregor herrmann

unread,
Jun 10, 2009, 6:30:16 PM6/10/09
to
On Wed, 10 Jun 2009 22:58:47 +0200, Julien Cristau wrote:

> > > > on $server:
> > > > DISPLAY=$desktop:0 ssh -X $client sensible-browser "$URL"
> > > Wow, that's quite a running in circles. Why don't you just use
> > > ssh client DISPLAY=:0 sensible-browser "$URL"
> > /me coughs in embarrassment
> > Right, that's indeed way simpler and does what I want; thanks!
> So should we close this?

Bernhard's proposal solves my problem, but xauth still doesn't seem
to work -- unless I'm doing something wrong:


gregoa@belanna:~$ xauth list
belanna/unix:0 MIT-MAGIC-COOKIE-1 a48ce076edc6f675ff5db43f43bdc313
belanna.comodo.priv.at:0 MIT-MAGIC-COOKIE-1 a48ce076edc6f675ff5db43f43bdc313
gregoa@guinan:~$ xauth list

gregoa@belanna:~$ xauth extract - belanna:0.0 | ssh guinan xauth merge -
gregoa@guinan:~$ xauth list
belanna:0 MIT-MAGIC-COOKIE-1 a48ce076edc6f675ff5db43f43bdc313

gregoa@guinan:~$ DISPLAY=belanna:0 xeyes
Invalid MIT-MAGIC-COOKIE-1 keyError: Can't open display: belanna:0

gregoa@belanna:~$ cat /etc/X11/xinit/xserverrc
#!/bin/sh
# $Id: xserverrc 189 2005-06-11 00:04:27Z branden $
#exec /usr/bin/X11/X -nolisten tcp
exec /usr/bin/X11/X -dpi 100 -retro


Maybe I'm missing something but I seem to remember that this worked
before this way.

Cheers,
gregor

--
.''`. Home: http://info.comodo.priv.at/{,blog/} / GPG Key ID: 0x00F3CFE4
: :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/
`. `' Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/

`- NP: Element of Crime: Nur mit dir

signature.asc
0 new messages