| Article: |
Hands on X11 | |
| Subject: | Enivronment variables | |
| Date: | 2003-03-16 17:30:15 | |
| From: | anonymous2 | |
|
(Take two... ahem....)
|
||
Showing messages 1 through 2 of 2.
-
Enivronment variables
2003-03-17 04:43:12 danbenjamin [View]
-
Enivronment variables
2003-04-23 14:08:01 zankl [View]
I included the tcsh lines you posted in my home/.cshrc file. However, I still get an Error:can't open display when I try to launch xeyes for example. When I echo $DISPLAY I get :0.0 so everthing seems to be allright. Any ideas whats going wrong?
Thanks
Andreas.



:/usr/X11R6/binto your PATH variable, and will need to create a new shell variable, DISPLAY, and set it to:0.0In bash, you'd do this:
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/Users/username:/usr/X11R6/binexport DISPLAY=:0.0If you're using tcsh, you'd do:
set PATH=/usr/bin:/bin:/usr/sbin:/sbin:/Users/username:/usr/X11R6/binDISPLAY=:0.0Be sure to replace username in the above examples with your own username.
Now, after launching X11, you should be able to run commands from the Terminal window instead.
Good luck.