Operating System - HP-UX
1832351 Members
2104 Online
110041 Solutions
New Discussion

Re: How to run CDE on remote XServer?

 
SOLVED
Go to solution
Tim_ct
Advisor

How to run CDE on remote XServer?

I hava a hpux server without VGA card installed and thinking to run CDE on remote Xserver( e.g. reflectionX )

I can run x application in a separated window in Xserver, but when run the CDE ( xinit ) it fail, saying /dev/crt not exist.

Do anyone know how to redirect CDE screen to a remote Xserver? I have already set the DISPLAY variable but seems more setting is needed.

Thanks!

5 REPLIES 5
Alex Glennie
Honored Contributor
Solution

Re: How to run CDE on remote XServer?

The error suggests CDE is attempting to start locally. To resolve that ...

cp /usr/dt/config/Xserver /etc/dt/config/Xservers

comment out ->

# * Local local@console /usr/bin/X11/X :0

re-start CDE aka dtlogin ..... try again.
OFC_EDM
Respected Contributor

Re: How to run CDE on remote XServer?

Are you able to do the following:
1) Run the Xserver on your PC/Server
2) Login to the HP-UX server.
a) Export your display variable
b) Run an xapp such as xclock. It should pop up on your Xserver.

If you can do that then X related services can relatively safely be assumed to be running ok on the hpux box.

So if that runs the next question is which connection method are you using to connect to the hp-ux server?
(Indirect, Direct, Broadcast)

Also can you ping the Xserver from the hp-ux server.

Can you resolve the Xserver address both by name and IP from hpux server and vice versa.

Cheers
The Devil is in the detail.
Tim_ct
Advisor

Re: How to run CDE on remote XServer?

Thanks for your reply.

there is no /usr/dt/bin/dtlogin, but /etc/dt/config/Xservers do exist and I have already comment out the line as follow

# * Local local@console /usr/bin/X11/X :0

I run dtlogin but nothing shown.
#/usr/dt/bin/dtlogin



I have try to run xclock on the same remote XServer and it do not have any problem, anything I need to set in hpux server to run the CDE desktop on remote XServer?

Thanks!

Steven E. Protter
Exalted Contributor

Re: How to run CDE on remote XServer?

Shalom,

Check the font server.

/sbin/init.d/xfs

By default not enabled in /etc/rc.config.d/xfs

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Tim_ct
Advisor

Re: How to run CDE on remote XServer?

Problem solved, thanks!