1847625 Members
2658 Online
110265 Solutions
New Discussion

Re: X11 server

 
Massimo_37
Frequent Advisor

X11 server

How do i check if my X11 server on HPUX 10.2 is running and how do I restart it please ?
17 REPLIES 17
Mark Grant
Honored Contributor

Re: X11 server

ps -ef | grep vue

/sbin/init.d/vue start

If I remember correctly
Never preceed any demonstration with anything more predictive than "watch this"
Massimo_37
Frequent Advisor

Re: X11 server

Ps -ef|grep vue does not return anything. Hence I have to start the X11 server. But i do not have a /sbin/init.d/vue.start script
Do I have to configure it ?
V. Nyga
Honored Contributor

Re: X11 server

Hi,

maybe ps -ef | grep X11 ?

To restart X11 normally it's enough to press 'Crtl' + 'Up' + 'Break'.

If you are remote: 'init 2' and the 'init 3'

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
V. Nyga
Honored Contributor

Re: X11 server

test ...

ok:
To stop 'init 2', then to start 'init 3'

V.
*** Say 'Thanks' with Kudos ***
Massimo_37
Frequent Advisor

Re: X11 server

I am woring on HP UX 10.2 so don't think Ctrl Break option would work -
Massimo_37
Frequent Advisor

Re: X11 server

I am working on HP UX 10.2 so don't think Ctrl Break option would work -
V. Nyga
Honored Contributor

Re: X11 server

Sorry, I'm using 10.20 too. ;-)

With my German keyboard it works to restart CDE.

Anything in /var/dt/Xerrors?

V.

*** Say 'Thanks' with Kudos ***
Massimo_37
Frequent Advisor

Re: X11 server

There are no errors in /var/dt/Xerrors - Basically I am trying to run an Oracle installer in character mode from the the directory /CDROM/orainst using the command
./orainst /c and it comes up with following:A problem occurred with the Oracle Installer. Try reinstalling it from distribution media. Or, you can provide the following message to Supportto debug the problem: User Interface Failure: Window System Startup Result: User Interface Failure: Window System Startup
So, i assume i need to run X11 server on this 10.2 machine- I am unable to do it however - Any suggestions would be helpful - as I am working on a tight deadline Many Thanks
Fabio Ettore
Honored Contributor

Re: X11 server

Hi,

first of all check that your system has installed X11 packet:

# swlist -l product | grep -i X11

It should obtain
X11 B.10.20 HP-UX X Window Software
X11BMS B.10.20 HP-UX BMS for X Window Software

This should permit you to start CDE (dtlogin.rc) or X Font Server (xfs) under /sbin/init.d in order to launch them.

What do you want to launch?
What is your problem?
For example CDE are not starting?

Please let us know more info.

Best regards,
Ettore
WISH? IMPROVEMENT!
Massimo_37
Frequent Advisor

Re: X11 server

Fabio, I have just sent more information just above your response
Massimo_37
Frequent Advisor

Re: X11 server

i did swlist and below is the result
! oot@k380]$ swlist -l product|grep -i X11 PHSS_28468 B.10.00.00.AA X11R6 Font Server Patch X11 B.10.20 HP-UX X Window Software X11BMS B.10.20 HP-UX BMS for X Window Software
Fabio Ettore
Honored Contributor

Re: X11 server

Yes George, while I was writing my post you wrote another one.
Now your problem is closer.

Can you launch

# xclock
or
# xterm

on HP-UX system?

Are you working from a PC by Xemulator on this HP-UX 10.20 system?

Have you already installed Oracle on other HP-UX systems?

Best regards,
Ettore
WISH? IMPROVEMENT!
Massimo_37
Frequent Advisor

Re: X11 server

I tried running xterm and xclock- outpu below
root@k380]$ xterm Error: Can't open display: rror: Couldn't find per display information root@k380]$ xclock rror: Can't open display: rror: Couldn't find per display information root@k380]$
I am trying to run the installer from a terminal(not PC) wyse50 . I installed Oracle7.2 on this server yesterday. But the way the CD was mounted and Started was different. The 7.2 cd has a .start.sh script which created a oracle_link directory on my server and i started orainst from there without any problems.
7.3.4 does not have a start.sh script. I havr to go to /CDROM/orainst directory and run ./orainst /c (for character mode)- but it came up with all those messages mentioned on my previous reply. The orainst scripts calls orainst.cm which if i call oin its own works well- but obviously the initial settings done in orainst script won't be picked up if i do it that way.
V. Nyga
Honored Contributor

Re: X11 server

Hi again,

what does echo $DISPLAY says?

And try 'xhost +' before starting the installer.

Maybe is helps
Volkmar
*** Say 'Thanks' with Kudos ***
Massimo_37
Frequent Advisor

Re: X11 server

The oracle manual does not require the DISPLAY variable to be set when running in character mode.
xhost +
returns
xhost : display not set
Massimo_37
Frequent Advisor

Re: X11 server

The oracle manual does not require the DISPLAY variable to be set when running in character mode.
xhost +
returns
xhost : unable to open display ""
Alex Glennie
Honored Contributor

Re: X11 server

my advise would be to contact Oracle support then ....

However to confirm if an Xserver is running

ps -ef ¦ grep X should yield /usr/bin/X11/X :0

to restart : safest way would be to drop run levels from 3 to 2 and then go backup again.

will work on the local console regardless of O/S most times .

If this is a server however and does not have a graphics card X will never start locally and nor will most x commands work such as xhost +... it maybe you need to use xvfb instead ... but as you say the manual says no display variable is needed & that suggests an Xserver is not required either