Operating System - HP-UX
1833832 Members
2522 Online
110063 Solutions
New Discussion

Re: I just reboot server,but Xwindows doesn't work

 
SOLVED
Go to solution
Salvador Reyna
Advisor

I just reboot server,but Xwindows doesn't work

Hi all,

I just reboot my hp-9000 but the Xwindows doesn't appear.
#echo $DISPLAY
165.198.245.222:0.0

Is the IP of the server.

#ps -ef | grep X
any X process appears

Any idea ?

Thanks in advance
And Regards
Javi
17 REPLIES 17
Muthukumar_5
Honored Contributor

Re: I just reboot server,but Xwindows doesn't work

You've to check as,

# ps -ef | grep dt

Startup service is as,

# /sbin/init.d/dtlogin.rc start


hth.
Easy to suggest when don't know about the problem!
Salvador Reyna
Advisor

Re: I just reboot server,but Xwindows doesn't work

Yes,... I checked ... and the service is started

#ps -ef | grep dt
root 1559 1 0 Nov 25 ? 0:00 /sbin/sh /usr/dt/bin/dtrc
root 1600 1559 0 Nov 25 ? 0:00 /usr/dt/bin/dtlogin
root 18405 706 0 Nov 28 ? 0:00 /usr/dt/bin/rpc.ttdbserver
ias9 4674 3936 0 10:06:15 pts/ta 0:00 grep dt
RAC_1
Honored Contributor

Re: I just reboot server,but Xwindows doesn't work

ps -ef|grep dtlogin
Is it running??

dr_dt and check for errors.
What does $HOME/.dt/errorlog file say??
There is no substitute to HARDWORK
Arunvijai_4
Honored Contributor

Re: I just reboot server,but Xwindows doesn't work

Have you started XManager in passive mode and checked dtlogin in the server side ?

# ps -ef |grep -i dt
root 7305 7275 0 04:09:50 pts/tb 0:00 grep -i dt
root 2432 2402 0 Nov 24 ? 0:00 /usr/dt/bin/dtlogin
root 2402 1 0 Nov 24 ? 0:00 /sbin/sh /usr/dt/bin/dtrc


-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Salvador Reyna
Advisor

Re: I just reboot server,but Xwindows doesn't work

# ps -ef|grep dtlogin
root 1600 1559 0 Nov 25 ? 0:00 /usr/dt/bin/dtlogin


#more errorlog
*** STDERR(1): (/usr/dt/bin/dtexec) /usr/dt/bin/dtterm: PID 14603: Fri Jan 24 05
:46:20 2003
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-
*-*-*" to type FontSet

*** [253]
Muthukumar_5
Honored Contributor
Solution

Re: I just reboot server,but Xwindows doesn't work

Same problem:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=33668

hth.
Easy to suggest when don't know about the problem!
Zeev Schultz
Honored Contributor

Re: I just reboot server,but Xwindows doesn't work

It has mouse attached? If so - check that attached firmly.
"hostname", "nslookup $(hostname)" work ok?
Do you receive CDE prompt (where you type your user/passwd) at all?

What it says at the end of /etc/rc.log ( tail /etc/rc.log)...

Also try /sbin/rc.dtlogin reset or stop|start.
So computers don't think yet. At least not chess computers. - Seymour Cray
Salvador Reyna
Advisor

Re: I just reboot server,but Xwindows doesn't work

Muthukumar , I just follow the steps you referred me.
But, the problem persists.

When I start the emctl, and I try to start de web console, then appears the same error.
Salvador Reyna
Advisor

Re: I just reboot server,but Xwindows doesn't work

Zeev,

nslookup runs ok, and return the correct IP.

But on rc.log appears:

{Temis:ias9-Test 379>> tail rc.log

Arrencant Xvfb
Output from "/sbin/rc3.d/S99Xvfb start":
----------------------------
/sbin/rc3.d/S99Xvfb[6]: nohup: not found.

**************************************************
HP-UX run-level transition completed
Fri Nov 25 08:47:54 MET 2005
**************************************************
{Temis:ias9-Test 380>>
Salvador Reyna
Advisor

Re: I just reboot server,but Xwindows doesn't work

This is the error that appears when I launch S99Xvfb start:

_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already run
ning
Arunvijai_4
Honored Contributor

Re: I just reboot server,but Xwindows doesn't work

You can try installing latest patches for XServer, just look at,

PHSS_32951, PHSS_32112, PHSS_33326 in ITRC patch database.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Salvador Reyna
Advisor

Re: I just reboot server,but Xwindows doesn't work

Hi Arun,

This is an idea, but, the Xwindows runs ok before the reboot, then.... I'm trying to restart the X environment without apply any patch.

Thanks
RAC_1
Honored Contributor

Re: I just reboot server,but Xwindows doesn't work

Xvbf is a virtual X servers. It is helpful on systems, which do not graphical console.

What is this ip 165.198.245.222??
There is no substitute to HARDWORK
Salvador Reyna
Advisor

Re: I just reboot server,but Xwindows doesn't work

More information...

{Temis:ias9-Test 394>> xclock
Error: Can't open display: 165.198.245.222:0.0
Steven E. Protter
Exalted Contributor

Re: I just reboot server,but Xwindows doesn't work

Shalom Salvador,

Few things:

1) You may not be able to fix this without a patch.
2) Check your settings in /etc/rc.config.d/xvfb

There may be a problem between these settings and the application using the X process.

xvfb is designed to let Oracle reports and similar applications run on a machine with no graphics card. It enables such products to render reports.

Regular X windows requires the font server to be enabled. /etc/rc.config.d/xfs

Make sure the first variable is set to 1 and manually start it as follows:

/sbin/init.d/xfs start

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
Salvador Reyna
Advisor

Re: I just reboot server,but Xwindows doesn't work

Hi RAC,

This IP, is the IP of the server I have rebooted.

Where I am launching all the commands you say, where I am changing the configuration files... etc.

Thanks
Salvador Reyna
Advisor

Re: I just reboot server,but Xwindows doesn't work

Hi Steven...

The parameter is set as 1:
# more Xvfb
xterm=1

And the xvfb is running:
#ps -ef | grep xfs
root 39 0 0 Nov 25 ? 20:17 vxfsd
ias9 8596 6744 3 12:13:01 pts/tb 0:00 grep xfs
root 5968 1 0 10:52:42 ? 0:00 /usr/bin/X11/xfs -config /etc/X1
1/fs/config -port 7000 -daemon

Thanks,