Hi, I've been trying to run C++/Motif program after conneting to a school unix server. Compiling was OK, but when I tried to run it, I got this message, Error:Can't open display:linux.local:0.0 What's wrong..? What do I need to do...? Shin, _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
On Sunday 10 November 2002 21.27, Chun Ki Shin wrote:
Hi,
I've been trying to run C++/Motif program after conneting to a school unix server. Compiling was OK, but when I tried to run it, I got this message,
Error:Can't open display:linux.local:0.0
In the remote session: export DISPLAY=<your ip address>:0.0 or if the remote host isn't using bash, whatever other syntax causes the environment variable DISPLAY to be set to <your ip address>:0.0 On your local computer: xhost +inet:<ip address of the remote machine> Anders
On Sun, Nov 10, 2002 at 03:27:53PM -0500, Chun Ki Shin wrote:
Hi,
I've been trying to run C++/Motif program after conneting to a school unix server. Compiling was OK, but when I tried to run it, I got this message,
Error:Can't open display:linux.local:0.0
DISPLAY environment variable is set incorrectly. By default, SuSE assigns machine name linux and domain local which do not resolve to any IP address. The easiest way to solve your problem is to use your IP address in DISPLAY. You can find your IP address in the output of /sbin/ifconfig command (inet addr:). Then before starting your Motif program do: export DISPLAY=<yourIPaddress>:0.0 Regards, -Kastus
participants (3)
-
Anders Johansson
-
Chun Ki Shin
-
Konstantin (Kastus) Shchuka