> Date: Fri, 02 Jul 1999 08:34:28 +0800
> From: Clare Teoh <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Can't open display on /dev/pts/0

> SSH login ok, but attempt to run application shows error "Can't open
> display on /dev/pts/0".

Let's try the simple stuff first:

After getting this error.

% echo $DISPLAY

If it says /dev/pts/0 or something like that, there is your problem.
DISPLAY should be set to sshremotehost:Number.0.

If you are connecting from foo.com to foo.net, on foo.net the DISPLAY
after logging in should be set to something like "foo.net:10.0".  The
number 10 in this case should be a number chosen by SSH.  My guess is that
you are running something in your login scripts that is changing the
DISPLAY to something stupid.

Benjamin J. Stassart
------------------------------------------------+
 A great many people think they are thinking    |
 when they are merely rearranging their         |
 prejudices                                     |

Reply via email to