Re: making the startup wait
- From: Loban Rahman <loban enigma caltech edu>
- To: Alan Shutko <ats acm org>, gnome-list gnome org
- Subject: Re: making the startup wait
- Date: Thu, 9 Mar 2000 16:34:14 -0800
> > eval `ssh-agent`
> > ssh-add
> > gnome-session
>
> No, because you don't have a console at that point! (At least, you
> don't on Redhat.)
Untrue. You don't need a console. ssh-add can bring up a graphical
"password entry". This his how I have my system:
--------------------------------
[Contents of] .xinitrc :
#!/bin/bash
exec ssh-agent ~/.xinitrc-ssh
[Contents of] .xinitrc-ssh :
#!/bin/bash
ssh-add < /dev/null
exec gnome-session
--------------------------------
On looking at the original example above, I guess this could be
shortened to:
--------------------------------
[Contents of] .xinitrc :
#!/bin/bash
eval `ssh-agent`
ssh-add < /dev/null
exec gnome-session
--------------------------------
In any case, the main points I want to make here is that :
by redirecting /dev/null as stdin to ssh-add, it causes it to bring up
a graphical "password entry" using X11.
= L
/-------------------------------------------------------------------\
| LOBAN AMAAN RAHMAN <-- anagram of --> AHA! AN ABNORMAL MAN! |
| MSC #763, Caltech, Pasadena, CA 91126, USA. Tel: 1-626-395-1407 |
| loban@earthling.net, loban@caltech.edu, http://i.am/loban |
\-------------------------------------------------------------------/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]