• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: X11 for Mac OS X F.A.Q.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: X11 for Mac OS X F.A.Q.
      • From: email@hidden (Julien Salort)
References: 
 >Fwd: X11 for Mac OS X F.A.Q. (From: Haroon Sheikh <email@hidden>)

  • Prev by Date: Fwd: emacs meta key
  • Next by Date: Re: ssh -X and AppleX11
  • Previous by thread: Re: Fwd: X11 for Mac OS X F.A.Q.
  • Next by thread: Re: X11 for Mac OS X F.A.Q.
  • Index(es):
    • Date
    • Thread