Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mehrfaches mounten von SMB Shares unter KDE
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
noomder
n00b
n00b


Joined: 13 Jun 2002
Posts: 3
Location: Germany

PostPosted: Sat Oct 26, 2002 5:18 pm    Post subject: Mehrfaches mounten von SMB Shares unter KDE Reply with quote

Hallo,

ich hoffe diese Frage wurde nicht schon mal behandelt. Ich habe jedenfalls keinen passenden Thread im Forum gefunden.

Hier mein Problem:

Ich habe in der fstab folgende Eintrag definiert:

//server/share /home/user/server/share smbfs noauto,users,credentials=/path to file 0 0

Dann habe ich in der .profile des users den Eintrag hinzugefügt:

mount /home/user/server/share

und in der .bash_logout des users

umount /home/user/server/share

/etc/profile habe ich nicht verändert.

Soweit so gut. Funktioniert einwandfrei, wenn ich mich auf der Konsole anmelde. (Beim Anmelden wird gemountet, beim abmelden wird umount ausgeführt).

Wenn ich mich aber in KDE anmelde (kdm wird beim booten gestartet), sehe ich nach dem anmelden (xterm, ausführen von bash --noprofile) das das Laufwerk 2x gemountet wird, was ja überhaupt keinen Sinn macht. Dabei sollte ich noch erwähnen, das ich unglücklicherweise mal beim abmelden aus kde, das Häckchen bei Sitzung speichern aktiviert hatte. Seitdem wird z.B. gkrellm2 4x (!) gestartet. Kann das damit zusammenhängen. Wo speichert kde diese Daten ab, und wie kann ich das unterbinden. Sollte ja eigentlich irgendwo im home Verzeichnis des Anwenders hinterlegt sein, ich kann nur nicht finden wo :-(

------------ Nachtrag -------------------------------------------------
OK, ich habe die Datei ksmserverrc gefunden, und habe damit zumindest ein paar "Autostarts" verhindern können. gkrellm2 startet jetzt nur noch 2x (!). Das hat mein Hauptproblem (mehrfaches mounten) aber auch nicht behoben.
------------Nachtrag Ende -------------------------------------------

Ich nutze Gentoo 1.4 RC1 mit KDE 3.0.4

Thanks4help
noomder

Bevor jemand fragt, warum ich diesen Weg gehe: Ich arbeite mal unter X, und mal direkt auf der Konsole. Ich denke das ist eigentlich die optimale Lösung für mich.
Back to top
View user's profile Send private message
ajordan
Guru
Guru


Joined: 10 Sep 2002
Posts: 320
Location: Hannover / Germany

PostPosted: Sat Oct 26, 2002 7:51 pm    Post subject: Reply with quote

Was haelst du von der Variante, dem mount Befehl in .profile sowas in der Art:

if $(cat /etc/mtab | grep smbfs) == "//server/share /mnt smbfs 0 0" then...

voranzustellen?

Alex
_________________
http://spitfire.homelinux.net/
http://spitfire.spittix.de/

GNU/LinuX mobile Dokumentation
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum