Re: X11 article, for review (take 2)
Re: X11 article, for review (take 2)
- Subject: Re: X11 article, for review (take 2)
- From: Rich Morin <email@hidden>
- Date: Tue, 1 Apr 2003 09:30:18 -0800
Tim Cutts wrote:
Doug McNutt wrote:
Steve Lidie wrote:
xinitrc seems to REQUIRE a B type shell. It's the first example I
have seem in my short life with BSD.
No, it doesn't. Your .xinitrc can be anything you like (you could
even make it a perl script) as long as the #! line at the beginning
was correct.
Have you tried this? I am informed by an engineer at Apple that the
#! line is ignored in this case and that /bin/sh (bash in POSIX mode)
is always used. Also note that the xinitrc file is not executable!
Aaron Harwood wrote:
To view the following, you'd better set your font to fixed width
(e.g. courier).
Local Machine <------------------> Remote Machine
ssh client (ssh) ssh server (sshd)
X server X client (e.g. xclock)
ssh_config file is sshd_config file is
relevant here relevant here
Yep; that's how I understand it.
detailed example...
Thanks for the information. The critical question for me, however,
is whether the strategy I'm laying out in my article is likely to
cause problems (for me, or worse, for a reader). Specifically, in
what way(s) is this code likely to fail:
* in ~/.login, on the local machine:
if (! $?DISPLAY) setenv DISPLAY ':0.0'
* in ~/.cshrc, on the local machine:
alias cfcl 'ssh -X cfcl'
* in ~/.login, on the remote machine:
if ($?DISPLAY) xdpyinfo > /dev/null # sanity check
I know that some apps (e.g., GNU emacs) will take the presence of
$DISPLAY as indicating that they should use X11-style interaction.
I have also been told that, if no X11 server is actually present
on the local machine, things can get (silently and mysteriously)
confused. That's the purpose of the "sanity check".
Are there any other pitfalls I should know about? Please be as
specific as possible.
-r
--
email: email@hidden; phone: +1 650-873-7841
http://www.cfcl.com/rdm - my home page, resume, etc.
http://www.cfcl.com/Meta - The FreeBSD Browser, Meta Project, etc.
http://www.ptf.com/dossier - Prime Time Freeware's DOSSIER series
http://www.ptf.com/tdc - Prime Time Freeware's Darwin Collection
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.