1830938 Members
1693 Online
110017 Solutions
New Discussion

X Configuration in HPUX

 
Percy Glaves
Occasional Advisor

X Configuration in HPUX

Dear Sirs,

I had to move the disks of one workstation to another because of HW failure. The WS booted normally, but it failed to start X because the graphics cards are located on different slot positions on the new machine. The workstation will work fine on a xterm though. Is just the local console which doesn't work.

It is possible to fix this configuration problem? How to tell X that the graphics card is on another slot?

Thanks for your help.
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: X Configuration in HPUX

Shalom Percy,

First, a supported graphics card should be used and recognized immediately. The problem could be that the DISPLAY variable is not set correctly or is set to the IP address of the previous system.

Also the system may not have the font server enabled and running. vi /etc/rc.config.d/xfs

Make sure the first variable is set to 1, starting the X font server.

/sbin/init.d/xfs start

That will start the font server if its not running.

ioscan | more and make sure the graphics adapter is claimed and working. You may find if compatible the best thing to do is pirate the grapics card from the old system.

Can you post error text or log information please.

Few possibly helpful threads:
http://www1.itrc.hp.com/service/james/dispDoc.do?docURL=http%3A%2F%2Fsearch.hp.com%2Fredirect.html%3Furl%3Dhttp%253A%2F%2Fforums1.itrc.hp.com%2Fservice%2Fforums%2Fquestionanswer.do%253FthreadId%253D247711%26qt%3D%252Bconfigure%2B%252BX%2B%2B%252Bwindows%2B%252Bhp%2B%252Bux%26hit%3D1&aid=SEARCH_FORUMS&pil=1&serStr=configure+X+windows+hp+ux&pir=1

http://www1.itrc.hp.com/service/james/dispDoc.do?docURL=http%3A%2F%2Fsearch.hp.com%2Fredirect.html%3Furl%3Dhttp%253A%2F%2Fforums1.itrc.hp.com%2Fservice%2Fforums%2Fquestionanswer.do%253FthreadId%253D144383%26qt%3D%252Bconfigure%2B%252BX%2B%2B%252Bwindows%2B%252Bhp%2B%252Bux%26hit%3D4&aid=SEARCH_FORUMS&pil=4&serStr=configure+X+windows+hp+ux&pir=4

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
Percy Glaves
Occasional Advisor

Re: X Configuration in HPUX

HI Stephen,

Thanks for your advice. Yes Xserver start is set to 1 in /etc/rc.config.d/xfs.

Well the graphs cards are the same but in different positions. What I can see on /var/X11/Xserver/logs/X0.log is that /dev/crt is invalid.

On the log they recommend to do:
# /rm /dev/crt
# insf -e -d framebuf

Is this command safe? The machine is a database server, with many devs, I fear that something may change and render my server unusable.
Alex Glennie
Honored Contributor

Re: X Configuration in HPUX

yes use insf -evd framebuf to recreate your graphics devices, use rmsf /dev/*crt* first though ... alson ensure ioscan -fnC graphics claims graph3.... if that doesn't sort it


look at /usr/dt/config/Xservers ... cp to /etc/dt/config/Xservers and ensure the last line

* Local local@console /usr/bin/X11/X : 0 is uncommented.