***  For details on how to be removed from this list visit the  ***
***          CCP4 home page http://www.ccp4.ac.uk         ***


First off, thanks to everyone that took the time to respond, and for all
of the suggestions on what to try to fix the problem.

For me, here's the solution. My thanks for Peer-Joachim Koch for the
initial hint, and then some further sleuthing.

By default, the X-server starts with the option "-nolisten tcp" which
means that the X-server will not listen for connections over TCP. You can
check this by looking at the process list:

ps -aef | grep X

and noting that the X-server started with the "-nolisten tcp" turned on:

root 2762 ... /usr/X11R6/bin/X :0 -audit 0 -auth -nolisten tcp
/var/dgm/:0.Xauth vt7

Now you need to find out where that's launched from. It might be
/etc/X11/XF86Config

In my case it was /etc/X11/gdm/gdm.conf, and I needed to edit the line:

#DisallowTCP=true

to

DisallowTCP=false

Basically, the default is to have "nolisten tcp" enabled, so it was
commented out; you have to set the flag correctly.

Then I rebooted to restart the process without the option turned on.

With an open terminal or xterm window, you set xhost to accept a remote
X-session:

xhost + remotemachinename

and then log into the remote machine

ssh -X [EMAIL PROTECTED]

and set the environment variable DISPLAY

setenv DISPLAY localmachinename:0.0

ccp4i comes up fine now. I never got "ssh -Y" to work. I think it's
because our RH-WS4 is using OpenSSH rather than SSH2.

Bernie Santarsiero

Reply via email to