Originally Posted by ayongying
in My Ubuntu host,I often use samba service to open the share fold of another computer which is WinXP .But everytime When I logout or restart the Ubuntu ,The link will lost ,I have to reconnect it again, I want to know if there is some easy way to connect it always.
Thanks for any help.
Well, if you reboot or log out, it will drop ANY
services you're running, since the session is terminating.
If you want to log out and keep it running, then you'll have to run the Samba connect script at system boot time, so it runs as a different session, or start it with a nohup and background it with an "&", but I'm not sure if that will live through a logout either. Starting it at boot time is pretty much your only option, but if you reboot, that will obviously close it too.