Operating System - HP-UX
1824864 Members
4008 Online
109674 Solutions
New Discussion

Configure Xwindows on HP-UX

 
SOLVED
Go to solution
Salvador Reyna
Advisor

Configure Xwindows on HP-UX

Hello,

I'm triying to configure Xwindows on HP-UX 11.11, but I don't know how to do it.

Could you help me, please ¿¿

Thanks in advance
& Regards
6 REPLIES 6
Rick Garland
Honored Contributor

Re: Configure Xwindows on HP-UX

A standard install of the OS will have this ready to go.

Are you getting the GREETING / LOGIN screen?
Do you have graphics hardware (card and monitor)?

What are you wanting to configure?

Salvador Reyna
Advisor

Re: Configure Xwindows on HP-UX

Well... I have not problem to try configure it... but it's my first time I stay face to face with Xwindows, with HP-UX... well... I'm a real beginner. :-((

How I can to comprove that Xwindows works?

I'm so sure this is beginner,beginner question... but...it's my first question. Sorry.

Thanks and regards...
Steven E. Protter
Exalted Contributor
Solution

Re: Configure Xwindows on HP-UX

vi /etc/rc.config.d/xfs

Make sure the first variable is set to 1.

/sbin/init.d/xfs start

Then try and connect to the server with XWindows client, it can even be another HP-UX or Linux WS.


DISPLAY variable must be set.
export DISPLAY=:0.0

Example
export DISPLAY=192.168.0.10:0.0

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
Rick Garland
Honored Contributor

Re: Configure Xwindows on HP-UX

You are sitting at a remote desktop? Running some sort of X emulator off a WIN PC? Or LINUX PC?

As mentioned, set the xfs variable to 1.

If WIN, you must configure the emulator to connect to the HPUX system and to provide you with a graphical login. There are many types of X emulators available so it is difficult to itemize them here.

If LINUX, and you are already running X on the LINUX PC, issue the command from your LINUX desktop, "xhost +" Connect to the HPUX system and "export DISPLAY=:0.0"

From this point you might be able to issue an "xclock" command (or some other X GUI application command). If the application displays then you have a working X environment.

Some other "gotchas" exist as well. Example, if the network has X traffic blocked, nothing we do here will work until the network personnel unblock X traffic.



B. Hulst
Trusted Contributor

Re: Configure Xwindows on HP-UX

Hi,

Try to start /usr/dt/bin/dtlogin or dtgreet manually first from the commandline as user root.

If you find the X Server suddenly running you just need to make the correct update to the startup run-level script.

If it does not get running there are most
likely errors recorded in /var/dt/log/Xerrors...

Regards,
Bob
Alex Glennie
Honored Contributor

Re: Configure Xwindows on HP-UX

CDE is the windows manager incorporated with X under hpux.

to see if CDE is currently running ->

ps -ef | grep dtlogin.

If you see one process, then that's the parent, it will await xdmcp requests prior to spawning a child dtlogin to run on your remote Xserver.

If you wish to have CDE start locally you will need a graphics device, device files and a monitor and cp /usr/dt/config/Xservers -> /etc/dt/config/Xservers.

vi the last line if need be to ensure the * local local console entry does not have a # in front of it.