System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to restart X windows remotely

sammysammy
Frequent Advisor

How to restart X windows remotely

Hi,

I have change the Xaccess file for a Tru64 5.1B-4 server. Now how to restart the X windows remotely? The server is located hundred miles away from our office.

Very appreciate for your answer.
Thanks

3 REPLIES
Steven Schweda
Honored Contributor

Re: How to restart X windows remotely

Find the X server process ID:

ps -e | grep /usr/bin/X11/X | grep -v grep

Then:

kill -HUP

Repeat the "ps" command to observe (you hope)
a new X server process ID.

This will log out any user who's logged in
at the graphics console.
VINCENT, Jean-Marc
Valued Contributor

Re: How to restart X windows remotely

Hi,

Another way to restart X server being root:

#/sbin/rc3.d/S95xlogin stop
#/sbin/rc3.d/S95xlogin start

Kind regards,

VINCENT Jean-Marc
HP France
Groupe Support Unix
Tru64(tm) UNIX Technical Consultant - Tru64(tm) UNIX Ambassador HP France
+33 1 5762-8861
jean-marc.vincent@hp.com
Balasubramanian S
Frequent Advisor

Re: How to restart X windows remotely

Try the following
/sbin/init.d/xlogin restart

or

/sbin/init.d/xlogin stop
/sbin/init.d/xlogin start