[K12OSN] trouble with custom launcher and sshfs
Rob Owens
hick518 at yahoo.com
Mon Jun 12 21:52:10 UTC 2006
Thanks, I'll give that a try once my network
connection stops acting up.
I really like sshfs. I wish Gnome would make a nice
GUI for it instead of using their "Connect to SSH
server" GUI, which doesn't integrate with all
applications (such as Firefox).
-Rob
--- Angus Carr <acarr at saskforestcentre.ca> wrote:
> I'll confirm the behaviour, but I think it's a
> matter of the processes
> being closed by the shell they are in. If I look at
> ps -ax after I
> launch the launcher, but before hitting enter, I can
> see that the
> process is on terminal pts/4 (or whatever). When the
> bash script closes,
> it closes pts/4, which kills all associated
> processes.
>
> Try the following adaptation to your script. It will
> ignore the signals
> to shutdown. I'm sure there are other ways...
>
> Thanks for pointing out that I had it installed.
> I've been looking for
> ways to do this, and this is a wonderful tool.
>
> Angus Carr.
>
> #!/bin/bash
> nohup sshfs user at server:/home/user
> /home/user/mount_point
> echo "Press <ENTER> to continue"
> read
>
>
>
> Rob Owens wrote:
> > I made a custom launcher that runs a script which
> > mounts a folder using sshfs. The launcher is set
> to
> > "Run in terminal" and the script it runs is:
> >
> > #!/bin/bash
> > sshfs user at server:/home/user
> /home/user/mount_point
> > echo "Press <ENTER> to continue"
> > read
> >
> > When I click the launcher, it opens a terminal and
> > mounts the remote user's home directory. But when
> I
> > hit enter, causing the terminal window to
> disappear,
> > the remote directory is unmounted. (Boy, did it
> take
> > me a long time to figure out that's what was
> > happening...)
> >
> > So how do I get the remote directory to stay
> mounted
> > without keeping the launcher's terminal window
> open
> > for the entire session?
> >
> > Thanks for the help.
> >
> > -Rob
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
> > _______________________________________________
> > K12OSN mailing list
> > K12OSN at redhat.com
> > https://www.redhat.com/mailman/listinfo/k12osn
> > For more info see <http://www.k12os.org>
> >
> >
> >
> >
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the K12OSN
mailing list