You are here: Foswiki>Computing Web>MacOSX>MacOSXX11 (revision 3)EditAttach

My Setup

Start X11 at Login Add X11 to the programs that start automatically when you login. System Preferences -> Accounts -> Login Items

Make your own xinitrc to eliminate the xterm that is started by the system xinitrc...

cd ~
cp /etc/X11/xinit/xinitrc .xinitrc
chmod 664  .xinitrc
emacs .xinitrc

Set DISPLAY var in terminals When you use xterm, the DISPLAY variable is automatically set, but many people prefer using the terminal program.

Snippet of ~/.profile

# set DISPLAY if not set
if [ -z $DISPLAY ]; then
  export DISPLAY=":0.0"

# if DISPLAY is not set, set it to default for local connection

-- Main.TomRockwell - 01 Jun 2007
Topic attachments
I Attachment Action Size Date Who Comment
bash-invocation.txttxt bash-invocation.txt manage 4.6 K 01 Jun 2007 - 17:50 TomRockwell Invocation section of the BASH man page
Edit | Attach | Print version | History: r9 | r4 < r3 < r2 < r1 | Backlinks | View wiki text | Edit WikiText | More topic actions...
Topic revision: r3 - 01 Jun 2007, TomRockwell

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback