LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   "Can't open display" error when try to use a program remote (https://www.linuxquestions.org/questions/linux-newbie-8/cant-open-display-error-when-try-to-use-a-program-remote-300395/)

heande 03-11-2005 08:56 AM

"Can't open display" error when try to use a program remote
 
Hello

I am using "Xandros Desktop OS Version 3 Open Circulation Edition" and when I try to open a program remote via ssh, I get error messages like this:

"remoteserver":heande:[~]> gimp

Gtk-WARNING **: cannot open display:

or when I am trying to open Mathematica:

xset: unable to open display ""
xset: unable to open display ""
xset: unable to open display ""
Can't open display

Is there anyone who know how I can solve this problem?

/Henrik Andersson

kees-jan 03-11-2005 09:16 AM

Use ssh -X instead (enable X-forwarding)
on the remote, type
Code:

echo $DISPLAY
to check that it is actually set (if it prints anything else than an empty line, you're fine.

start gimp.

Groetjes,

Kees-Jan

heande 03-11-2005 10:13 AM

Thank you, it works perfectly

/Henrik


All times are GMT -5. The time now is 01:41 PM.