1753974 Members
6936 Online
108811 Solutions
New Discussion юеВ

Re: Starting Xserver

 
Fabrizio_10
Frequent Advisor

Starting Xserver

Hello again admins,
sorry for too many questions, but today is a bad day...
I would like to start Xserver on my hp-ux 11.11 machine.
I tryed this command:
X11 start and I get sh: X11: Execute permission denied.
/sbin/init.d/dtlogin.rc start and I see in /var/dt/Xerrors error (pid 411): Can not lock pid file /var/dt/Xpid, another Dtlogin is running (pid 1641)
netstat -an |grep 6000 nothing...
It seems the Xserver is not running. There is a way to start it from SecureCRT or something like that ?
Thanks.
5 REPLIES 5
Mark Grant
Honored Contributor

Re: Starting Xserver

well, grep for "dtlogin".

If it's not running, try removing /var/dt/Xpid and doing the "dtlogin start" thing again.
Never preceed any demonstration with anything more predictive than "watch this"
Fabrizio_10
Frequent Advisor

Re: Starting Xserver

ux01:/ # rm /var/dt/Xpid
ux01:/ #
ux01:/ # /sbin/init.d/dtlogin.rc start
ux01:/ # ps -ef |grep dt
root 663 653 0 16:45:33 pts/tb 0:00 /usr/dt/bin/dtlogin
root 653 1 0 16:45:33 pts/tb 0:00 /sbin/sh /usr/dt/bin/dtrc
root 665 604 0 16:45:44 pts/tb 0:00 grep dt
ux01:/ # netstat -an |grep 6000
ux01:/ # xhost +
xhost: unable to open display ""

Strange thing...
Mark Grant
Honored Contributor

Re: Starting Xserver

What are you using to connect to this box?
Never preceed any demonstration with anything more predictive than "watch this"
Fabrizio_10
Frequent Advisor

Re: Starting Xserver

Reflection
Mark Grant
Honored Contributor

Re: Starting Xserver

Then Reflections is your xserver, not the hp box. I presme you don't actually have the Xserver running on your PC, hence the "xhost +" failure.

You need to run ReflectionX and do a new connection. Configure this as "Direct" to start with, put in the host name and assuming the HP box can resolve your IP address, you should get a rather ugly CDE login box on your screen.

If this isn't the case, could you be a bit more specific on exactl how you connect. Like which Reflections program you use etc.
Never preceed any demonstration with anything more predictive than "watch this"