1838200 Members
5343 Online
110125 Solutions
New Discussion

x server

 
SOLVED
Go to solution
I.Delic
Super Advisor

x server

i have to restart x server on our machine
which command i have tu use

thank you in advance

idriz
5 REPLIES 5
Arunvijai_4
Honored Contributor
Solution

Re: x server

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

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Joseph Loo
Honored Contributor

Re: x server

hi,

use this for CDE login server:

check for existing dtlogin process
# ps -ef|grep -i dtlogin

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

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

to reset
# /sbin/init.d/dtlogin.rc reset

regards.
what you do not see does not mean you should not believe
Muthukumar_5
Honored Contributor

Re: x server

Check that your dtlogin is running as,

# ps -ef | grep dt

# /sbin/init.d/dtlogin.rc stop (stop dtlogin process)
# /sbin/init.d/dtlogin.rc start (start dtlogin process)

Check the status that dtlogin is running.
# ps -ef | grep dt

You have to set DISPLAY variable to make remote display with x server.

export DISPLAY=:0.0

in your $HOME/.profile or /etc/profile file.

hth.
Easy to suggest when don't know about the problem!
I.Delic
Super Advisor

Re: x server

thank you all


idriz
Raj D.
Honored Contributor

Re: x server

Hi I.Delic ,

To restart X-server you can do as follows:


To Stop:
# kill ` UNIX95=1 ps -C dtlogin -o pid=`

or
# cd /sbin/init.d/
# ./dtlogin.rc stop

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

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "