1834013 Members
2290 Online
110063 Solutions
New Discussion

X Server Configuration

 
rajneeshs1
New Member

X Server Configuration

I need suggestions to configure X server on HP-UX 11 OS.I tried to install with sam .Its giving the below error

The `/usr/sbin/ioscan -funC graphics ' command reports *NO* graphics
devices for your system. SAM is unable to configure the X server for
this system.

Then i tried to run the command xinit, its also
giving an error as below

usr/contrib/bin/X11 > xinit

X server: Error in /etc/X11/X0screens (line 511)
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:
giving up.
xinit: Connection refused (errno 239): unable to connect to X server
xinit: No such process (errno 3): Server error.

I checked the /etc/X11/X0screens file .Below is the output
# X*screens Configuration
# Place any additional/different configuration information below.
Screen /dev/crt

Can anyone suggest me how to resolve this problem.Thanks in Advance.

Raj
5 REPLIES 5
James A. Donovan
Honored Contributor

Re: X Server Configuration

I would suggest you download and install Xvfb onto your system.

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000070346058
Remember, wherever you go, there you are...
Steven E. Protter
Exalted Contributor

Re: X Server Configuration

You don't need a graphics card to run X.

Try this:

In /etc/profile or .profile

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

Try this tool, depending on your app.

Xvfb

http://www1.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.search|&patchid=PHSS_26622&context=hpux:800:11:11

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
Hazem Mahmoud_3
Respected Contributor

Re: X Server Configuration

When I get the error message:
xinit: Connection refused (errno 239): unable to connect to X server
xinit: No such process (errno 3): Server error.
I execute the xhost command (man xhost for more info). If it is a secured environment, you can just do a "xhost +". Although the recommended is to specify the hostname/username and not the "+". Regarding the other error messages, I have not come across those before.

-Hazem
Sr. Unix Admin
Alex Glennie
Honored Contributor

Re: X Server Configuration

First off X will not run locally if there is no graphics devise installed : the device can be either a graphics card or a virtual devise as in the Xvfb referred to earlier. Since SAM didn't find a physical card is there one installed ?

If not you have 3 options :

install a graphics card
configure xvfb
connect remotely using an Xterminal or PC X emulation.



T G Manikandan
Honored Contributor

Re: X Server Configuration

If you are unable to start X on the console due to a non-availability of a graphics card then try installing PC emulation software like Exceed to start a remote session