[Wylug-help] Sun and Linux ... Help please

Nigel Metheringham Nigel.Metheringham at dev.InTechnology.co.uk
Fri Nov 28 11:57:36 GMT 2003


On Fri, 2003-11-28 at 11:41, Dave Whiteley wrote:
> On Fri, Nov 28, 2003 at 11:33:37AM +0000, Jason Lander wrote:
> >
> > Dave,
> >
> > >    DISPLAY=mybox:0.0; export DISPLAY
> >
> > Don't do that bit.... SSH sets DISPLAY for you to something like
> > localhost:<nn> where <nn> which is the local side of an SSH tunnel to your
> > X server.
> >
> Errrr.
>
> Ok, so I log out of the sun, log in again and try
>
>    admintool
>
> and it just reports
>
>    Error: Can't open display:

Do a ssh -v to the Sun.
Assuming you are using something doing ssh2 protocol (if not update your
ssh until it does), you should see these parts of the trace:-
	debug1: Requesting X11 forwarding with authentication spoofing.

If thats not there try adding a -X to the command line.
If you do get the "Requesting X11...", but DISPLAY is not set then edit
the Sun sshd config, and make sure "X11Forwarding yes" is in there -
restart the sshd.

If it still doesn't work, then check that xauth is available, and in an
appropriate place - I *think* you can use xauthlocation in the sshd
config to point to it.  But you are probably down to attempting debug of
stuff to make it work.


	Nigel.

--
[ Nigel Metheringham           Nigel.Metheringham at InTechnology.co.uk ]
[ - Comments in this message are my own and not ITO opinion/policy - ]





More information about the Wylug-help mailing list