Hiya, Edit: Solved by tweaking the ACL in Tailscale, more info on that here; https://tailscale.com/kb/1193/tailscale-ssh

I am accessing my Samba folder from my remote server, over Tailscale. However, this means, each time I close the lid of my laptop or reboot. I need to re-authenticate this, I don’t know why. Is there a way around this? Or a better solution?

I’ve added the share(folder) to “places” via Dolphin, but in order to actually be able to access the share i need to go into the terminal and enter “sftp myserver:port”. After that the share will work as normal, until next boot.

I prefer accessing my files via Tailscale, it’s very convenient and secure in most cases. I am storing my notes for Obsidian and other frequently used files via this share. The server is running Unraid, my laptop is running an Immutable distro called Aurora (part of Bluefin Project).

Any help appricated!

4 points

Sounds like a KDE thing where it doesn’t remember your credentials/doesn’t want to automatically provide them to the connector. You could take over the fs mounting and do it via systems or some other means if there’s no way for KDE to do it.

permalink
report
reply
1 point

Would you be able to explain in a little bit more detail? I’m not too familiar with Linux yet to know my way around these things so easily hehe… Thanks!

permalink
report
parent
reply
4 points

Dolphin is your file explorer program. That’s part of the KDE desktop app collection. It allows you to connect to a samba share. In the background it mounts the samba share to a your local filesystem. The mount point is a location, it looks like a folder but it’s actually a view into the samba share. This mounting is done by the kernel using a filesystem driver which talks to the samba server. In order for the driver to do this, it needs your samba credentials. Dolphin presents some UI for you to input them and it passes them to the driver. If it asks for them every time, it means that it doesn’t remember them, or if it depends on something else to remember them, it’s not working. There might be a way in KDE to tell it to remember the credentials. I’m not a KDE user or expert.

If you can’t do that, you could do what Dolphin does by yourself. You could tell the driver the same information Dolphin does but you can also store the credentials in a file and have it read those from there. This can be done in multiple ways. Via fstab, systemd, command line, and possibly many more.

permalink
report
parent
reply
1 point

I greatly appreciate your response, I’ll play around with what you’ve mentioned tmr when I’m back on the laptop. I’m sure I’ll sort this out based on the info u gave me, thanks 🌻

permalink
report
parent
reply
0 points
Deleted by creator
permalink
report
parent
reply
3 points

Try checking out KWallet settings. It’s the app in charge of saving passwords in KDE.

permalink
report
reply

Selfhosted

!selfhosted@lemmy.world

Create post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Community stats

  • 3.7K

    Monthly active users

  • 3.3K

    Posts

  • 71K

    Comments