|
Post by stevef48 on Aug 27, 2023 13:41:19 GMT
I connected to my windows share in Thunar specifying the username and password. The dialog has the option to remember the credentials forever, but they are forgotten when I shutdown my PC, because I have to enter them everytime I access the share. Why is the share being discarded? Is it possible to permanently mount the share so that I can access it like any other folder? Thanks in advance, Steve
|
|
|
Post by stevef48 on Aug 27, 2023 16:08:53 GMT
I saw several posts about this issue and have added a mount point for the share in /media. The files are now visible, but the folder is read only. The Windows PC shows that UbuntuUser (created specifically for this purpose) has full control of the shared folder.
|
|
|
Post by Hippytaff on Aug 27, 2023 23:20:11 GMT
Have you tried changing the permissions of the folder or opening thunar with gksudo?
|
|
R0bur
Crew Member
Posts: 184
Likes: 126
|
Post by R0bur on Aug 28, 2023 7:26:41 GMT
|
|
berde
Member
Posts: 10
Likes: 9
|
Post by berde on Sept 6, 2023 11:33:27 GMT
I connected to my windows share in Thunar specifying the username and password. The dialog has the option to remember the credentials forever, but they are forgotten when I shutdown my PC, because I have to enter them everytime I access the share. Why is the share being discarded? Is it possible to permanently mount the share so that I can access it like any other folder? Thanks in advance, Steve The good news is your Bodhi installation has everything needed to 'remember' network logins. These are stored by gnome-keyring.
The only thing you need to do is create a new keyring.
The GUI method is to use "Seahorse".
Install Seahorse package -
sudo apt update && sudo apt install seahorse
Now go to the accessories menu & click 'Passwords & Keys' application.
- On the top left of the app click + symbol to add a new key or item.
- Choose the third item 'Password Keyring' (application & network passwords)
It will prompt you to name the keyring - I use the same name as the logged in user, up to you.
- Next, It will prompt you to assign a password to the Keyring - NOTE this is for encryption, this is not the network password
- You may omit the password by hitting enter on both password fields - NOTE if you do this everything is stored unencrypted but you are not constantly pestered for a password to unlock the keyring - up to you.
Now when you enter your SMB credentials in Thunar, et voila, they will be remembered across reboots.
* I restarted the system after creating the new keyring - I don't know if this is strictly necessary.
If somebody far more nerdy than me wants to post the command line method, please do so.
References :
Cheers!
|
|
berde
Member
Posts: 10
Likes: 9
|
Post by berde on Sept 7, 2023 6:22:52 GMT
p.s. In case anyone is wanting to really nerd out, keyring files are located in ~/.local/share/keyrings There is a command line tool called 'keyctl'.
From the man page :
This command creates a new keyring of the specified name and attaches it to the specified keyring.
keyctl newring <name> <keyring>
e.g. keyctl newring keyring @us 27
I understand what the identifiers are, I understand 'newring' is the name of the intended new keyring (duh) but for the life of me I cannot figure out what to specify for 'keyring' ...
I tried keyctl show, keyctl list @us etc, but it was no help.
|
|