Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

xauth extract in solaris 11 express

883432Aug 19 2011 — edited Aug 22 2011
Hi all,
I've just migrated from OpenSolaris 2009.11 to Solaris 11 Express. One of the problems I face is X11 forwarding.
I have solved quite a number of problems related to authenticating X11 connections, but I'm still stuck with this one.

Now I have a Solaris 11 Express box that I VNC into (using the standard Xvnc). I have a CentOS 5 zone running on this same machine. I need to export my MIT-MAGIC-COOKIE into this zone, so I can forward X11 from the CentOS zone to the globalzone (Solaris 11) client.
I tried:
xauth extract - $DISPLAY

but I got:
"No matches found, authority file "-" not written"

I tried all these display variables, but none worked:
localhost:0
localhost:1
localhost:10
sol11host:0
sol11host:1
sol11host:10

I even tried their IP addresses: 127.0.0.1:<n> and <LAN IP address>:<n> but they didn't work as well.

However, when I manually do an "xauth list" on the globalzone, and after ssh-ing into the CentOS non-global zone, "xauth add <globalzone IP>:<n> MIT-MAGIC-COOKIE-1 <key taken from xauth list at globalzone>" works.

Not sure if this has anything to do with me "VNC-ing" into the globalzone from another machine. I don't seem to face any x11 authentication problem if I'm physically on my Solaris 11 box, but VNC-ing to the box gives me this problem.

Help?

Regards,
Daniel

Edited by: daniel on Aug 20, 2011 2:45 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 19 2011
Added on Aug 19 2011
6 comments
1,790 views