Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jplindstrom (594)

  (email not shown publicly)

Journal of jplindstrom (594)

Thursday June 02, 2005
04:33 AM

X forwarding after su

[ #25006 ]

This was new. X forwarding broke after I su'ed to another user. What previously worked says

Connection lost to X server `localhost:10.0'

after a su. It's the magic cookie that isn't there for the new user. So, how to add the cookie for the new user?


We're on 10.

xauth list
Hostname/unix:10  MIT-MAGIC-COOKIE-1  f4bb4714280c22018cacd461277dd760

Copy the entire line for the display and su to your user.

xauth add Hostname/unix:10  MIT-MAGIC-COOKIE-1  f4bb4714280c22018cacd461277dd760

And xclock works!

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.