Re: image dump of hidden X session
From: Andrew Taylor (ataylor_at_its.to)
Date: 08/11/03
- Next message: Kasper Dupont: "Re: image dump of hidden X session"
- Previous message: Alexander Gran: "Re: X constantly hogs CPU by 10-20+%"
- In reply to: mase: "image dump of hidden X session"
- Next in thread: mase: "Re: image dump of hidden X session"
- Reply: mase: "Re: image dump of hidden X session"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 11 Aug 2003 20:55:35 GMT
mase wrote:
> How I can dump the hidden display of another X session in the same
> machine?
If the X servers are started by different user accounts, make sure you
have an xauth cookie for display :1 or else you won't be able to access it.
First extract it from the "display :1" user: xauth nextract cookiefile :1
Then merge it into the "display :0" users cookies: xauth nmerge cookiefile
If the X display is controlled by a display manager such as gdm or xdm,
you'll have to specify the authorization cookie file when it is
extracted: xauth -f /var/gdm/:1.Xauth nextract cookiefile :1
(xdm stores its cookies in /usr/X11R6/lib/X11/xdm/ instead of /var/gdm/)
-- Andrew
- Next message: Kasper Dupont: "Re: image dump of hidden X session"
- Previous message: Alexander Gran: "Re: X constantly hogs CPU by 10-20+%"
- In reply to: mase: "image dump of hidden X session"
- Next in thread: mase: "Re: image dump of hidden X session"
- Reply: mase: "Re: image dump of hidden X session"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|