running apps as su root

Warden, Christian cwarden "at" visa.com
Sat, 13 Jun 1998 21:22:54 +0000


try:
$ xauth extract blah dantooine:1.0
$ su root
# xauth merge blah
# xmixer

xn

> -----Original Message-----
> From:	JP Floyd [SMTP:static "at" ionsys.com]
> Sent:	Friday, June 12, 1998 8:19 PM
> To:	vnc
> Subject:	running apps as su root
> 
> Everything works fine here, except for one little (maybe not?) glitch.
> I'm runnin the server on a linux system, and the viewer on a NT 4 box.
> If I try running something on as su root, I'll get the message:
> 
> Xlib: connection to "dantooine:1.0" refused by server
> Xlib: Invalid MIT-MAGIC-COOKIE-1 key
> xmixer: Can't open display 'dantooine:1.0'.
> 
> If I try and run the same program as a normal user,  or even restart
> the
> server under root (something I for obvious reasons don't really care
> to
> do), it'll run fine.  No serious issue, I can live with if I have to,
> but if it's just something simple to fix  :)
> 
> Other than that however, I almost can't imagine what it what was like
> before vnc came along  :)
> 
>