Operating System - HP-UX
1832978 Members
3050 Online
110048 Solutions
New Discussion

Re: couldn't find per display information

 
SOLVED
Go to solution
Ionut Grigorescu_2
Super Advisor

couldn't find per display information

Hello,

maybe is not the right place for a linux question, but I received here answers also for Solaris:-)
I have a linux (Fedora core 1, XFREE86 ver. 4.0 )box on which I want to export the display from an HPUX11.00 server. On the UX machine I give the right command
setenv DISPLAY :0.0
and I can see with echo $DISPLAY that the new value is right. On the linux box I give
xhost + to enable the remote access end echo $DISPLAY on the linux box returns
:0.0
..but whatever X application I start on the UX server it returns "couldn't find per display information".
Where should I dig further?
N.B. - the linux box is actualy a dual boot machine, the second OS is Window$2000 and I can start from Window$ using ReflectionX an XDMCP session to the UX server without problems...

thank you all,
ionut
If it weren't for STRESS I'd have no energy at all
10 REPLIES 10
Hoefnix
Honored Contributor

Re: couldn't find per display information

You should enter the xhost + command on the linux box.
Then connect to the HP-UX system and type:
export DISPLAY=1.1.1.1:0.0

Then start for exmpl xclock and it should run on your Linux system.
Regards,

Peter
Ionut Grigorescu_2
Super Advisor

Re: couldn't find per display information

Peter, thank you for the answer but if you had readen carefuly my post you had seeen that I have already performed those steps, I use setenv DISPLAY instead of export DISPLAY because for the user I use on the UX box is defined the C-shell - I did it so 1000 times before with RedHat 7.3 and after I have installed - recently - Fedora it doesn't work more - maybe is that a issue of Gnome (before I had KDE)? I have disabled the Firewall on the Linux box, too (it was activated during the installation).
If it weren't for STRESS I'd have no energy at all
Martin Johnson
Honored Contributor

Re: couldn't find per display information

Verify that you still have the X libraries installed on your Linux machine and that the libraries are still in the PATH.

HTH
Marty
Hoefnix
Honored Contributor

Re: couldn't find per display information

Sorry I could not help, I missed the xhost + on the linux box in your post.

Regards, Peter

John Dvorchak
Honored Contributor

Re: couldn't find per display information

The "couldn't find per display information" error comes from the HPUX box not being able to find a running X-server on the DISPLAY:0 that you are exporting. Be sure that you have an X-server running on the Linux box and it is display :0.0 not :1.0 etc.
If it has wheels or a skirt, you can't afford it.
Ionut Grigorescu_2
Super Advisor

Re: couldn't find per display information

Hi,

xhost shows me access control disabled, clients can connect from any host,
from the Unix server I can ping the linux box, but trying to start a xterm failes with the same damn message :-( /usr/X11R6/bin is in the path, the X server is running and displaying on :0.0, I don't have any other idea ...
What is worse, I have the IP 10.1.40.77, from another linux box (with RedHat7.3 ) with IP 10.1.40.89 I can start an X application on the Unix server ..
If it weren't for STRESS I'd have no energy at all
Elmar P. Kolkman
Honored Contributor

Re: couldn't find per display information

On the linux box, you can check if the X-server is listening for X-calls on the IP layer. I've seen Xwindows configurations that only listened to unix-domain sockets, meaning the only accept local calls. You can do this by looking at the netstat -a output (should be listening on port 6100 I think) or set the DISPLAY var on linux with the same content you use on the HP-UX box and then run a X command there.
Every problem has at least one solution. Only some solutions are harder to find.
Ionut Grigorescu_2
Super Advisor

Re: couldn't find per display information

Elmar,

once more for your 10 points: how can I make x11 to listen on a tcp port - cause you're right - it's not. I have try on the linux box to
export DISPLAY=:0.0
after that xhost without arguments or xhost + fail with:
"xhost: unable to open display=:0.0"
If it weren't for STRESS I'd have no energy at all
Elmar P. Kolkman
Honored Contributor
Solution

Re: couldn't find per display information

Check how your Xwindows is started. For instance, if it is started with '-nolisten tcp' that would result in your problem.
You might look into your manual page on X(1) or use this link: http://www.xfree.org/current/Xserver.1.html

Good luck, Elmar
Every problem has at least one solution. Only some solutions are harder to find.
Ionut Grigorescu_2
Super Advisor

Re: couldn't find per display information

Hi Elmar,

you know, working on 2 forums has some advantages, isn't it ? ;-)
so the solution: check the variable DisallowTCP in /etc/X11/gdm/gdm.conf, it should be "false", otherwise the gdm deamon starts X with -nolisten tcp option.
If it weren't for STRESS I'd have no energy at all