[CLUE-Tech] Xauth problems

Rick Sipin rsipin at thinkingedge.com
Thu Sep 6 14:20:12 MDT 2001


To any Xauth  / xinit guru out there,
I've got a small and secure network, and am trying to configure a Windows NT Client to
be able to run X sessions on one of my Redhat 7 servers. I'm running into a dead-end
on where I need to configure the server to allow 'console ownership' to a particular
user. When I use the standard Redhat shell program 'startx' to try and launch a remote
X session, it looks like its trying the recommended approach, using xauth and mcookie
to generate a new cookie for my .Xauthority file, but I continue to get the following
error -

"Authentication failed - cannot start  S server"
"Perhaps you do not have console ownership"

I'm using Omni-X's PC-X server, and starting an xterm session, which opens
successfully, with the DISPLAY variable set to my PC client machine successfully.

The relevant lines of my xstart script are as follows:
mcookie=`mcookie`
xauth add $display . $mcookie
xinit -- -auth "$HOME/.Xauthority"

It appears that either I'm not getting the current cookie into my Xauthority file, or
that I don't have the right arguements here, or have something else misconfigured. Any
pointers would be appreciated.

Thanks

--
Rick Sipin - Owner
Thinking Edge Design
357 S. McCaslin Blvd. Suite 200
Louisville, CO 80027





More information about the clue-tech mailing list