Operating System - HP-UX
1830026 Members
10012 Online
109998 Solutions
New Discussion

Re: connect to HP-UX 11.x Gui remotely?

 
Dale Sullens_2
New Member

connect to HP-UX 11.x Gui remotely?

I am new to the Unix world:

I have heard there is an easy way to "export" (X-windows?)the GUI from an HP-UX 11.x to a workstation?

I am running Linux,(newbie) on a Workstation,(PC) and would like to connect to the HP-UX server remotely. Can someone tell me the steps involved to do this and what if any software I might need to load? I know the HP-UX server is configured for this already. But is there anything I need to install on the Linux PC?

As a side note, can this be done from a Windows based PC?

Thanks for any help...
11 REPLIES 11
George_Dodds
Honored Contributor

Re: connect to HP-UX 11.x Gui remotely?

Hummingbird exceed runs xwindows on a windows PC very well.

Ta

George
Jim Mallett
Honored Contributor

Re: connect to HP-UX 11.x Gui remotely?

Corporately we go with a product called ReflectionX, which is just an X windows client. (I'd be interested in hearing what others use because I just priced some licenses for Reflections and it's getting up there.)

I use it on Windows based workstations and just assign my IP to the display and I'm off.
Hindsight is 20/20
Massimo Bianchi
Honored Contributor

Re: connect to HP-UX 11.x Gui remotely?

Hi,
you must install an X-server for the PC.


Tools like Exceed , Reflection are the most widely known.

You must know the IP adress of the machine PC in which you are working.



1- start you X-server
2- telnet to the unix server
3- login and password
4- execute the following command, different with regards to the login shell.

you can check your shell with

echo $SHELL


((if using ksh or sh))

export DISPLAY=YOURIP:0.0

((if using csh))

setenv DISPLAY YUORIP:0.0

5- execute the command

xterm



enjoy !

Massimo
Umapathy S
Honored Contributor

Re: connect to HP-UX 11.x Gui remotely?

Dale,
I dont know any way to export the CDE completely to Linux. May be others will come up with their ideas.

But you can open a GUI application on the Linux desktop (KDE, GNOME).

Do a xhost + in the Linux xterm where servername corresponds to hpux server.

Telnet/rlogin/ssh to the hpux server. export $DISPLAY.

start the gui application for example /usr/sbin/sam.

let me know if you need more details.

HTH,
Umapathy
Arise Awake and Stop NOT till the goal is Reached!
Alex Glennie
Honored Contributor

Re: connect to HP-UX 11.x Gui remotely?

Do a search on your linux filesystem for Xnest, if it's there you could use that as an alternative to Reflections/Exceed for free.

Secondly if your linux system is running Xwindows ... why not simply export the display once connected to the hpux system to DISPLAY=:0 and simply run the remote applications/gui's that way ?
Bill McNAMARA_1
Honored Contributor

Re: connect to HP-UX 11.x Gui remotely?

linux should work fine...
it's an X11R6 server so all you should need to do is:

linux # telnet hpux

login:root
passwd:*****

hpux # export DISPLAY=linux:0.0
hpux # xhost +
hpux # xclock &
hpux #

the hpux box needs to be able to resolve linux.. ie. ping linux should work, and there should be no problem.

If you're running windows, you need an Xserver client such as reflectionX (wrq.com) etc..

Later,
Bill
It works for me (tm)
Joao Mendes
Occasional Advisor

Re: connect to HP-UX 11.x Gui remotely?

You can also use VNC that is a very good tool from AT&T htpp://www.uk.research.att.com/vnc , this sw allow access to Xserver's from Win or Linux.

Joao Mendes
Pierrick herve
Advisor

Re: connect to HP-UX 11.x Gui remotely?

Hello Dale,

it 's very easy to do that on your GNU/Linux workstation.

Xfree is very powerfull to do that because you can launch multiple Xservers connected to multiple servers IN THE SAME TIME (eXceed or reflection/X on MS-windows CANNOT DO THAT)

ON THE HP-UX SERVER
-------------------

1) the hp-ux GUI is called CDE. CDE answer to the XDMCP protocol with the process "dtlogin" --> you should verify that almost ONE dtlogin runs.

2) you have to export CDE fonts on your network --> you should verify that the process "xfs" runs (on your server or another hp-ux server on your network)

3) this is not essential but usefull to display your DISPLAY name on your CDE login screen. Modify the file /etc/dt/config//Xresources

Dtlogin*greeting.labelString: Display %DisplayName% \n server %LocalHost% \n hp-ux server


ON THE LINUX WORKSTATION
------------------------

1) you know you can change Virtual Terminal (vt) by : Ctrl-Alt-F1 to F6 to connect to vt01 to vt06 (by default)

by default F7 (vt07) is used for your local Xserver (I mean a xserver connect to your local workstation --> DISPLAY is :0)

2) with this line you are going to realize a XDMCP connection to your hp-ux server on F8 screen (vt08). (DISPLAY will be :1

X -fp tcp/:7000 -query vt08 :1

3) then you can put this line in a shell-script add a menu on your desktop to launch it.

welcome to the wonderfull world of GNU/Linux workstation

Pierrick
learn and explain
Chris Vail
Honored Contributor

Re: connect to HP-UX 11.x Gui remotely?

Y'all REALLY need to check out Citrix Metaframe for Unix (MFU). This is available for HPux, AIX and Solaris environments. It is EASY to install, and even easier to maintain. We have ~15 HP installations here, and about 200 users. Its been weeks since I got a help desk ticket on it. It really is that easy.
Its cheap too: a 3 user license is less than $3000 USD, but you really save money in that it will share licenses with other Citrix servers in your environment. So I've never purchased more than a 3 user license.
Basically, the only thing needed on the desktop is the standard Citrix ICA client. They also make these for various Unixes, so you can send the CDE desktop from your HP host to a Sun or IBM graphical workstation. But whether the ICA client is a M$ desktop client, or another Unix server, this software is pretty cool.
You can get a 45 day free eval copy. Call the Tech Rep, Ronn Martin at eight one seven four nine two four three four six. He'll mail you a CD or set you up with ftp from citrix.com.

Chris
Tim Sanko
Trusted Contributor

Re: connect to HP-UX 11.x Gui remotely?

1. Always on your Unix host
"xhost + "
(this allows you to X into your Workstation do this for Linux and Unix). Then do your
rlogin/telnet.

2. KDE/gnome work fine, but grainy. I really like a PC with eXceed as my preference.
Linux will work out fine to eXceed or reflectionX. There is no additional software needed to run X6 on Linux.


3. X can be available from
PC's via eXceed / reflectionX
and a host of other PC software

4. EXceed has offered to match our reflection licencecost/seat for X. I prefer to do business with them.

Tim
Jerry A. Mills
New Member

Re: connect to HP-UX 11.x Gui remotely?

Cygwin running a Cywgwin port of KDE3 works well on a PC.(KDE2 didn't work as well). Cygwin runs under the regular GNU licensing agreements........
Timing is *Everything*