1835253 Members
2306 Online
110078 Solutions
New Discussion

Re: Forwarding CDE?

 

Forwarding CDE?

Hey guys, I've got a question:
I've got a C110 running HP-UX 10.20. However, I do not have a monitor large enough to support booting it into direct GUI mode, so I was forced to use a null modem cable to configure my network, then telnet to the machine. Well, I figure enough is enough, and I'd like to take advantage of some of my HP software. Do any of you know a quick and easy way to be able to forward an X session to my linux machine from my HP? So I could just login at a GUI and begin using CDE/other software?

Thanks for the help!
-Thomas
5 REPLIES 5
Shahul
Esteemed Contributor

Re: Forwarding CDE?

Hi

This is possible, if U have any software like reflection, or Humming bird in Linux. I don't know whether this can be loaded in Linux or not. Checkup with linux experts to get the software details.

Best of luck
Shahul
Steve Steel
Honored Contributor

Re: Forwarding CDE?

Hi


1)On the UX machine do this

vi /etc/dt/config/Xservers

If not there copy from
/usr/dt/config

comment out the last line like this

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

That will stop CDE trying to run on the console.

2)On the linux box. If you have X loaded.

either

#get a chooser
#X :$2 -indirect $1 -fp tcp/topaz:7000 -once -terminate &
#parameters hp-uxbox n[ where n=1-3]
#
#example choosecde topaz 1
#
#note you also should give a fontserver
#
X :$2 -indirect $1 -fp tcp/topaz:7000 &
exit

Which gives an XDMCP chooser box

or

#get direct cde login
#
#parameters hp-uxbox n[ where n=1-3]
#
#example choosecde topaz 1
#
#note you also should give a fontserver
#
X :$2 -query $1 -fp tcp/topaz:7000 -once -terminate &
exit

This first script enables XDMCP chooser

The second goes directly to a HP-UX box

Read man X

THE FONT SERVER IS IMPORTANY
see man xfs on hp-ux

CDE includes a small set of fonts and font aliases which are not
part of the standard MIT X distribution. In order for CDE to
function correctly, these fonts must be made available to
X-servers (X-Terminals) displaying CDE.

- ------------------------------------------------------
The simple solution to this problem involves configuring and
running a font-server on the system which is running CDE and
forcing the font server into the X-Server (X-Terminal) font-path.

To do this a few things are required:

1 - The font server needs to be configured to include the CDE
fonts in its catalog

EDIT: /etc/X11/fs/config

Append ",/usr/dt/config/xfonts/C" to the end of the
"catalogue = ..." line

EDIT: /etc/rc.config.d/xfs

Set the following variable: "RUN_X_FONT_SERVER=1"

EXECUTE: /sbin/init.d/xfs start

If the font-server is already running, kill it and
restart it.

2 - Force CDE to add the font-server to the X-Server font-path
by editing the Xsetup file. (NOTE: This steps REQUIRES
the IP address of the CDE session server. You can get
this information by running: nslookup `hostname`.)

COPY: /usr/dt/config/Xsetup to /etc/dt/config/Xsetup
EDIT: /etc/dt/config/Xsetup

Add the following line to /etc/dt/config/Xsetup replacing
"IPADDRESS" with the IP address of the server as returned
from "nslookup `hostname`":

$XDIR/xset fp+ tcp/IPADDRESS:7000 1>/dev/null
Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Alex Glennie
Honored Contributor

Re: Forwarding CDE?

If it were me I'd use either VNC (see below) or Xnest : both ast like reflectionX on linux ... you'd need dtlogin running on the hp system though. Xnest may already be installed on the linux box or easily downloaded I suspect.

fyi : vnc -> http://www.csun.edu/~swalton/VNC/ http://www.uk.research.att.com/vnc/

Xnest syntax : something like :/usr/contrib/bin/Xnest :2 -query -ac -fp tcp/:7000 -name & should work .... omit the -fp bit if you don't have xfs aka a hp fontserver configured and running.You could probably also configure the linux systems window manager/X to run in chooser mode and it should list all clients on the local sub-net who are broadcasting XDMCP ... I'd probably need to play and know what your linux setup is ... the top 2 options would be far easier though
Wodisch
Honored Contributor

Re: Forwarding CDE?

Hi Thomas,

why not use Linux (or another X-server) on one station "close" to the C110, and execute "X -query C110", where "C110" wuld be the IP-address of the C110...

Just my $0.02,
Wodisch

Re: Forwarding CDE?

Hey, I went for the option of going to my linux machine and using X -broadcast.. it connected just fine, I got a login prompt, however when I login.. nothing more really happens.. I mean I get a help window on using my desktop, but then nothing more happens. Is there something else I should know about? Also, I've tried selecting the option of using the "Fail-Safe" desktop. This works, but only loads a dtterm window, and nothing more.. I'd like to use CDE if I could, but I'm not quite sure what's going wrong.

-Thomas