1827808 Members
2625 Online
109969 Solutions
New Discussion

Problems with X11

 
Farouk Khawaja
New Member

Problems with X11

I'm having a problem X through OpenSSH between HPUX B.11.00 U 9000/800 and XFree86 Server.

Simply stated... swinstall, sam, dtterm all work fine. The display is sent through the SSH tunnel and displays on the XFree86 server fine.

But, when I try to run Xterm, I get the following error.

$ xterm
X11 connection rejected because of wrong authentication.
X connection to localhost:10.0 broken (explicit kill or server shutdown).


Any clue why I'm getting this? Any help would be appreciated.
4 REPLIES 4
Michael Steele_2
Honored Contributor

Re: Problems with X11

Verify your xauth keys, run 'xauth list' from server. Trace xterm to see if its using the correct path into ~/.Xauthority.
Support Fatherhood - Stop Family Law
Jannik
Honored Contributor

Re: Problems with X11

trye:
xhost +
on display server.
jaton
Steven E. Protter
Exalted Contributor

Re: Problems with X11

Add this to the user profile.

DISPLAY=$(who -m -u | awk '{print $8}'):0.0
export DISPLAY

localhost isn't a valid disoplay for a remote X client.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Alex Glennie
Honored Contributor

Re: Problems with X11

check the permissions and ownership of ~/.Xauthority file ... are they owned by the user ?

check permissions on the xterm executable set-uid root ? -r-sr-xr-r root bin ?

can you start an xterm from within a dtterm ?