1833198 Members
3193 Online
110051 Solutions
New Discussion

Remote X.

 
Mustafa Motiwala
Occasional Advisor

Remote X.

Hello,
I am running a variety of unices, they include Sun Solaris 7 & 8, HP-UX 11.0 and Linux. I mainly use my linux box for everyday tasks, but sometimes i need to log into the sun and hp boxes. I was easily able to setup remote X logins on the SUN machine, from my Linux machine. Somehow this fails with the HP. All i get is a black screen with an hourglass of cde. Any help in the matter will be appreciated.
P.S. The hp 11.00 runs on a Visualize C240.
Thanx.
3 REPLIES 3
T G Manikandan
Honored Contributor

Re: Remote X.

For solving the problem temporarily you can login with the changing

options--->session-->Failsafe session

in the CDE login screen.

This should take you in.

Thanks
Alex Glennie
Honored Contributor

Re: Remote X.

The scenario you describes smacks of font problems ..... do you see errors wrt the local Xservers log file (i presume on your linux system) specifically dt-interface fonts ?

Also how do you "remote X" from command line on linux system or using something line Xnest ...

eitherway I'd try the following : setup xfs on the hp system :

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

then use Xnest with a command line argument -fp tcp/ etc or if you are using your linux box as an xterminal add the -fp argument to the command line of X

eg X :0 -query -ac -fp tcp/....etc

or detail how exactly you are achieving this wrt the other unix systems involved.

TGM : how can he access the options if he can't see it ;)

Wodisch
Honored Contributor

Re: Remote X.

Hi Mustafa,

why would you actually want to do a graphical login all the time, if simply getting the X-window shown on your local X-server would do the trick?

Have you considered using the SSH (Secure SHell) with "X forwarding" on those systems? Then you would need a configured $DISPLAY on your linux system (you have that automatically if your are running KDE or Gnome there), and an SSH client (available on Linux by default), that client's configuration to include "X forwarding" (two options to be set in "ssh_config") and the SSH server running on the remote systems (available for all of them, one option to be changed in "sshd_config").

That would save you a lot of hassle IMHO...

You may to start the X-Windows Font Server (xfs) on one HP-UX system, still, and use it from your local session ("xset +fp tcp/HPUXaddress:7000").

FWIW,
Wodisch