1822382 Members
3211 Online
109642 Solutions
New Discussion юеВ

Restart X Server

 
SOLVED
Go to solution
LucianoCarvalho
Respected Contributor

Restart X Server

Hi Guys!
Is there anyway to restart X Server??? I have installed the HP Visualize Conference software on my machine(HP-UX 11.00), but to use it as host I have to restart the X Server.
Thanks
6 REPLIES 6
Sukant Naik
Trusted Contributor

Re: Restart X Server

Hi Luciano,

As user root run the following command

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

This will stop and restart the XServer

Regards,

Sukant
Who dares he wins
LucianoCarvalho
Respected Contributor

Re: Restart X Server

Thanks Naik.
But I thing this will restart just the CDE login, am I wrong???
Bill McNAMARA_1
Honored Contributor

Re: Restart X Server

The Xserver will restart when the last app ends... ie dt.

Later,
Bill
It works for me (tm)
Alex Glennie
Honored Contributor
Solution

Re: Restart X Server

First I have hpvc installed ....

yes the Xserver needs to be restarted.

dtlogin calls/ start the Xserver and then CDE (which sits on top of it so I'd say you should be OK with the dtlogin.rc start option ... but if you really want to be sure drop the system down to a non-graphics run-level ie

/sbin/init 2 then restart X CDE by /sbin/init 3

good luck !
Marc Dijkstra
Trusted Contributor

Re: Restart X Server

Hi there

When a keyboard is issued with CDE/VUE running, the X-server dies and restarts. I am not sure if there are ramifications to this, but I certainly issue it when frustrated!

MND
"A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila"
hpuxrox
Respected Contributor

Re: Restart X Server

ps -ef | grep X | grep -v grep | awk '{print $2}' | xargs kill -HUP