Operating System - HP-UX
1827262 Members
2444 Online
109717 Solutions
New Discussion

Re: how to run CDE interface remote from linux client ?

 
SOLVED
Go to solution

how to run CDE interface remote from linux client ?

I have triyed but not succesfully.
Anyone with such an experience ?
4 REPLIES 4
Colin Topliss
Esteemed Contributor

Re: how to run CDE interface remote from linux client ?

Try this link - it goes into how to achieve what I think you're requesting.

http://www.linux.org/docs/ldp/howto/mini/Remote-X-Apps.html

Regards

Col.
Olav Baadsvik
Esteemed Contributor
Solution

Re: how to run CDE interface remote from linux client ?

Hello,

I have done this the following way:

. on the linux machine start the x-server
with this command:

/usr/bin/X11/X -query

where ipaddress is the address for the
machine you want to get a CDE login from.

You will then probalby experience a problem with the fonts that CDE require. To fix this
do the following:
1. Log in on the HP-UX machine.

2. Edit the configuration file of the font server:
# cd /etc/X11/fs
# vi config
add the directory /usr/dt/config/xfonts/C to the "catalogue"
line (comma seperated list)

3. Copy /usr/dt/config/Xsetup to /etc/dt/config (if it doesn't already exist

4. Edit /etc/dt/config/Xsetup and add the following line at the end of
the file:
$XDIR/xset fp+ tcp/:7000
Example: $XDIR/xset fp+ tcp/192.15.32.5:7000

5. Edit /etc/rc.config.d/xfs and set RUN_X_FONT_SERVER to 1.



6. Restart the font server
# /sbin/init.d/xfs stop
# /sbin/init.d/xfs start

7. Check with the following command that xfs is running:

# ps -ef | grep xfs

8. Log in again on the PC. Check with the command xset -q that
the fontpath now includes a reference to the fonserver. You shuold
find this in the font-path:

tcp/:7000

where ip-adresse is the address to the server you specified in step 4.

Regards
Olav



Steve Steel
Honored Contributor

Re: how to run CDE interface remote from linux client ?

Hi

> Normally spoken if I want to get a CDE from 1 machine to
> another i Test with the X command something like this
>
>
> /usr/bin/X11/X -query 15.160.35.105 -fp
> tcp/15.160.35.105:7000 -terminate
>
> Where 15.160.35.105 is the ip address of the machine I want
> and also a machine where xfs is running to give me the CDE fonts.
>
> 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)

Re: how to run CDE interface remote from linux client ?

It worked guys!
Thanks very much,
Marian Popeanag