ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Hands on X11
Subject:   Enivronment variables
Date:   2003-03-17 04:43:12
From:   danbenjamin
Response to: Enivronment variables

The two most important settings are PATH and DISPLAY. You'll need to add :/usr/X11R6/bin to your PATH variable, and will need to create a new shell variable, DISPLAY, and set it to :0.0

In bash, you'd do this:

export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/Users/username:/usr/X11R6/bin

export DISPLAY=:0.0

If you're using tcsh, you'd do:

set PATH=/usr/bin:/bin:/usr/sbin:/sbin:/Users/username:/usr/X11R6/bin


Be 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.

1 to 1 of 1
  1. Enivronment variables
    2003-04-23 14:08:01  zankl [View]

1 to 1 of 1