1826056 Members
4085 Online
109690 Solutions
New Discussion

Re: Xserver start

 
jpcast_real
Regular Advisor

Xserver start

Hello ,

I am trying to start an Xserver in my hp-ux 11.i to see a remote X application but I can not. I have running xfs in port 7000 but I can not get that anything run on the 6000 port .


This is the error log I get when I try to start the xfree86:

(II) Addressable bus resource ranges are
(II) OS-reported resource ranges:
(II) OS-reported resource ranges after removing overlaps with PCI:
(II) All system resource ranges:

Fatal server error:
Unable to open graphics device /dev/gvid, exiting

Dartanan:/etc/X11> /usr/bin/X11/Xf86
.
.
.
When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
Please report problems to your HP support representative.


When I try to start the other Xserver I get:

Dartanan:/etc/X11> /usr/bin/X11/Xhp
X server: Error in /etc/X11/X0screens (line 614)
Device name invalid or missing after keyword "Screen".
X server: Will try default "/dev/crt"
Failure to open default device file `/dev/crt`.
Please either specify the proper device filename in
your /etc/X11/X0screens file or fix `/dev/crt`. This filename is either
non-existent or is not a character special file.

Fatal server error:

Can anyone give any advice according to this???
Here rests one who was not what he wanted and didn't want what he was
11 REPLIES 11
Alex Glennie
Honored Contributor

Re: Xserver start

First off what graphics device are you using :

use insf -evd framebuf to create the correct device files and then try running :

/etc/X11/Xstart or /usr/bin/X11/X : 0 ...

result ?
jpcast_real
Regular Advisor

Re: Xserver start

I connect remotely to an Hp-UX server and from this server I must open an X application which runs in another Hp-Ux server . So I must start Xserver in the first one and export the DISPLAY and start the application in the second one , am i rihgt???

Thanks a lot
Here rests one who was not what he wanted and didn't want what he was
Alex Glennie
Honored Contributor

Re: Xserver start

The Xserver process only needs to be running on the system you wish to see the application displayed on ... I make that no 2.

So System 2 : telnet to system 1 : export displayto system2:0 and run the application.

nb you may need to run xhost + in a window on system 2 first.
jpcast_real
Regular Advisor

Re: Xserver start

This is what I get when I try to start the Xserver :

Dartanan:/usr/bin/X11> X :0
X server: Error in /etc/X11/X0screens (line 614)
Device name invalid or missing after keyword "Screen".
X server: Will try default "/dev/crt"
Failure to open default device file `/dev/crt`.
Please either specify the proper device filename in
your /etc/X11/X0screens file or fix `/dev/crt`. This filename is either
non-existent or is not a character special file.

Fatal server error:


Dartanan:/usr/bin/X11> X
X server: Error in /etc/X11/X0screens (line 614)
Device name invalid or missing after keyword "Screen".
X server: Will try default "/dev/crt"
Failure to open default device file `/dev/crt`.
Please either specify the proper device filename in
your /etc/X11/X0screens file or fix `/dev/crt`. This filename is either
non-existent or is not a character special file.

Fatal server error:


Here rests one who was not what he wanted and didn't want what he was
Alex Glennie
Honored Contributor

Re: Xserver start

on Dartanan please run ioscan ¦ grep -i graph

result
Steve Steel
Honored Contributor

Re: Xserver start

Hi


/usr/contrib/bin/X11/dr_dt

does it give any errors

does nslookup of the name and ip address of both machines work on both machines

You need to an xsession running on system a and then try
remsh systemb "/usr/bin/X11/hpterm -fn courB14 -fg white -bg $colour -displa
y $ipaddrsystema":0.0" -title systemb -name systemb -e rlogin systemb -l loginname"&


This should give a simple hpterm . try that before getting complicated


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Rick Beldin
HPE Pro

Re: Xserver start

Dumb question - what kind of machine is it that you are trying to start an Xserver on? Does it even have a graphics card? The Xserver (in the mode in which you want to use it ) needs graphics hardware installed on the system it runs on. Most servers do not have graphics hardware.

Try running ioscan -fn | grep -i graph to see if you have any graphics adapters on your bus.
If not, you'll have to settle for displaying the application to some graphics capable machine, such as PC running some Xserver software or a workstation or Xterminal.
Necessary questions: Why? What? How? When?
jpcast_real
Regular Advisor

Re: Xserver start

Hello ,

first of all , thanks to anyone to the contributions.

I will try to explain the problem . I have two hp-ux servers and I use to connect to this servers using my laptop with a Reflection X session. I just have direct access from my laptop to one of this servers, Dartanan, but not to the second one , Athos. The only possibility for me to access to the second one , Athos ,is to login into the first one ,Dartanan, and open a telnet, rlogin , etc to the second one. Everything works fine with me except the possibility to see the graphics in the second server ,Athos , where there is not direct phisical network connectivity to my Laptop .

I understand that I must login into my first server , Dartanan, and export the DISPLAY to my Laptop, this works . Then from this Reflection X session , I connect from the first server to the second one ,Athos , and I try to export the DISPLAY from the second server to the first server .

Athos:>export DISPLAY=Dartanan:0.

I understand that in the first server there must be an Xserver process running with the port 6000 open. Am I right??
I try to launch the Xserver in the first server but I can´t.

Of course I have tried in Dartanan to make:

xhost +Athos

I have tried another possibility , this was to access to the second server using a Linux system instead the first hp-ux server . This linux has the 6000 port open but when I export the DISPLAY to the linux nothing works.....

As you see there is no problem in the name resolution...

Athos:/usr/contrib/bin/X11> nslookup dartanan
Name Server: athos.sate2.com
Address: 174.1.10.13

Trying DNS
Name: dartanan.sate2.com
Address: 174.1.10.11


Dartanan:/root> nslookup athos
Name Server: dartanan.sate2.com
Address: 174.1.10.11

Trying DNS
Name: athos.sate2.com
Address: 174.1.10.13

I hope this is more clear no
Here rests one who was not what he wanted and didn't want what he was
Steve Steel
Honored Contributor

Re: Xserver start

Hi


If you ask Relection to give you an indirect login to the first server with xdmcp do you see the second server in the list

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
jpcast_real
Regular Advisor

Re: Xserver start

Steve,

just the first server , Dartanan and the Linux , are capable to see the second server because it is in a private network.

Regards
Here rests one who was not what he wanted and didn't want what he was
Steve Steel
Honored Contributor

Re: Xserver start

Hi


I think you should look at ssh as a solution

This will tunnel in

http://nf.apac.edu.au/facilities/software/SSH/ssh.html


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)