Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Enthusiast Zone > Networking > Can I keep a server connection alive between logons?

Can I keep a server connection alive between logons?
Thread Tools
Fresh-Faced Recruit
Join Date: Jan 2003
Location: UK
Status: Offline
Reply With Quote
Jan 7, 2003, 08:46 AM
 
Hi all,

I have a Linux server which I can now happily connect to via two OSx based PowerMacs. I think I've sussed how to keep a password in 'memory' on the MACS but what I'd like is for the connection to be kept between logons and re-boots. I have to use favourites at the mo which isn't the easiest thing for our students to remember how to use...

Suggestions welcome,

Chris
High School Infrastructure Coordinator
UK
     
Mac Elite
Join Date: May 1999
Location: San Jose, CA
Status: Offline
Reply With Quote
Jan 9, 2003, 04:23 PM
 
What type of connection are you trying to maintain? A shell login? file server connection? other?

If I remember rightly, a server connection is tied to a particular login. When that session logs out, all the processes associated with it, including the server mounts, are terminated.

Do you *really* mean you want the connection to stay open, or do you mean more that the connection should automatically re-establish the next time you log in.

There is a difference. if the connection really is open, then background tasks that run even when no user is logged in can continue to use it (e.g. Apache could serve data off a server volume when no user is logged in). To do this, though, the server mount has to be established by root during the system startup, not by a user once logged in. You'll need a startup item that calls the mount command to establish the server connection.

On the other hand, if you just want to re-establish connections when you log back in, that's pretty easy.
You should be able to use the keychain to save the password for future logins. This happens automatically if you use the 'Add password to Keychain' in the Options... dialog when you first connect.
Then drag the server volume's icon in your login Items preference pane.
Gods don't kill people - people with Gods kill people.
     
Fresh-Faced Recruit
Join Date: Jan 2003
Location: UK
Status: Offline
Reply With Quote
Jan 10, 2003, 06:05 AM
 
Cheers for that...should have said I wanted a connection to a public graphics folder to be connected at logon so users didn't have to re-establish the connection manually. I sussed the keychain thing, I'll have a look at dragging the connection onto the logon bit you mentioned.

Thanks,

Chris
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:14 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2