136
5x00 General discussions / run smbmount script from desktop icon?
« on: January 18, 2004, 10:26:03 pm »
Well, no. I put it in /home/QtPalmtop/bin/, but it shows up in the /opt/... also. The .destop file has \"exec=mountmypc\" with \"mountmypc\" as the script name. No path there, but following various instructions posted elswhere, noone mentioned using a path.
Now I just thought of trying to run the script from the terminal by typing \'bash\' (or \'sh\') followed by the path/script name. It returns an error:
ERRSRV - ERRbad pw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.) SMB connection failed
That doesn\'t hekp me... The name-password set are obviously correct, but something is going wrong when run as a script. Does it need quotes anywhere? Will this take 3 weeks of studying bash scripting to fix? ;-) I have to find my old redhat books...
Now I just thought of trying to run the script from the terminal by typing \'bash\' (or \'sh\') followed by the path/script name. It returns an error:
ERRSRV - ERRbad pw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.) SMB connection failed
That doesn\'t hekp me... The name-password set are obviously correct, but something is going wrong when run as a script. Does it need quotes anywhere? Will this take 3 weeks of studying bash scripting to fix? ;-) I have to find my old redhat books...
