Re: X11 for Mac OS X F.A.Q.
Re: X11 for Mac OS X F.A.Q.
- Subject: Re: X11 for Mac OS X F.A.Q.
- From: Rui Carmo <email@hidden>
- Date: Sun, 12 Jan 2003 01:50:08 +0000
Additional Q/A pairs:
Q: How do I forward remote X displays to my Mac?
A: The best (and safest) way is to simply "ssh -X user@remotehost" from
the initial xterm. X forwarding and your DISPLAY environment variable
on the remote host will automatically be set (tested against Linux
boxes with OpenSSH)
Q: How can I get the startup xterm to import the Fink environment?
A: Check that your .bashrc file contains the line "source
/sw/bin/init.sh" (or its tcsh equivalent if you run tcsh)
Q: How can I know if I'm dealing with a local or remote xterm?
A: If you're using bash on all your machines, add this to your .bashrc
or .profile:
export PROMPT_COMMAND='echo -ne
"\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
If you're using tcsh, define the following in your .tcshrc:
postcmd echo -n "^[]0;!#:0 - ($tty)^G"
precmd echo -n "^[]0;($tty)^G"
R.
http://mac.against.org
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.