I am building X11R6.4 on solaris 2.6.  I seems to build fine.
The problem I am having is with tunneling back an x client 
using ssh.  I am using ssh-1.2.27 and it was built with --x-includes a
nd x-libraries pointing to the newly build X11R6.4 installation. 
So after I build the X11 distribution and install
it, I ssh over to the system with the newly built X11R6.4. 
I then try to run an x client like xterm.  I get the following 
error.
 
boris:> ./xterm
Error: Can't open display: boris:12.0

I have done a truss on the ./xterm and 
Found the following.
.
.
.
stat("/tmp/.X11-pipe/X12", 0xEFFFEF78)          Err#2 ENOENT
open("/scratch/X11R6.4/lib/X11/XtErrorDB", O_RDONLY) Err#2 ENOENT
getuid()                                        = 1584 [1584]
getuid()                                        = 1584 [1584]
getuid()                                        = 1584 [1584]
Error: write(2, " E r r o r :  ", 7)                    = 7
Can't open display: boris:12.0write(2, " C a n ' t   o p e n   d".., 29)
= 29
.
.
.

Ssh sets up the DISPLAY variable to boris:12.0, which is what it 
is suppose to do to tunnel X. 
But the .X11-pipe is actually as follows.
/tmp/.X11-pipe/X0
Which is as expected.   Anybody run into this before and
if so solved it?


TIA,

Jaime

Reply via email to