Article View: cu.slug
Article #114Re: Just about set.
From: Tim Bradshaw
Date: Fri, 04 Jun 1999 00:00
Date: Fri, 04 Jun 1999 00:00
38 lines
1849 bytes
1849 bytes
* Christopher R Barry wrote:
> The final thing to do, to play it safe, is to get Start X Screen to
> run when the machine boots. Do any of you know of a way to run Lisp
> code when the machine boots so that powering the console and
> keyboarding in a Login to run your lispm-init isn't necessary? I can
> have net:enable-remote-login always T and some code that prevents
> going into the cold load stream during an x-error loaded by doing an
> Incremental World, but I can't figure out a way to automatically
> evaluate a form or try to start the X screen without first logging in.
If things are set up right (is this secure subnets?), you can do:
rsh lispm "start x screen yourhost ..."
and it just works -- I had the following script when I had an NXP1000
for a while:
#!/bin/sh -
# hack...
#
WHERE=`echo $DISPLAY | sed -e 's/:.*$//'`
LISPM=lostwithial
case $1 in
-init | -i )
xset fp+ /project/tfb/lib/X11/fonts/genera
xhost + $LISPM
;;
esac
rsh $LISPM "start x screen $WHERE :background whitesmoke :foreground midnightblu
e"
(even if I did misspell `lostwithiel')
--tim
Technical Details
Message-ID:
<928480505.7611@news.Colorado.EDU>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<87r9nsvc1o.fsf@2xtreme.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10077e,e4ddee7f88f541df X-Google-Attributes: gid10077e,public From: Tim Bradshaw <tfb@tfeb.org> Subject: Re: Just about set. Date: 1999/06/04 Message-ID: <928480505.7611@news.Colorado.EDU> X-Deja-AN: 485575973 Distribution: cu Content-Transfer-Encoding: 7bit Sender: daemon@peabody.colorado.edu References: <87r9nsvc1o.fsf@2xtreme.net> Content-Type: text/plain; charset=us-ascii X-Note1: message-id generated by recnews X-Note2: mail msgid was <199906040628.HAA01035@lostwithiel.tfeb.org> Organization: University of Colorado at Boulder Mime-Version: 1.0 Newsgroups: cu.slug NNTP-Posting-User: daemon