this post was submitted on 15 May 2025
7 points (81.8% liked)

Linux

11631 readers
183 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

I’m working on a custom Linux Mint ISO (using Cubic) for a dedicated system with auto-login. I’m trying to automate Vino (VNC server) setup during installation using preseed, but I’m running into two issues:

  1. Changing Vino settings in preseed commands

I need to set org.gnome.Vino authentication-methods to ['vnc'] for the autologin user. I’ve tried variations of:

in-target su -c "gsettings set org.gnome.Vino authentication-methods \"['vnc']\"" username

But the setting doesn’t persist. I’ve also tested in-target sh -c and direct gsettings calls without luck.

What’s the correct way to apply gsettings changes for a specific user during preseed?

  1. Autostarting Vino Server

I need /usr/lib/vino/vino-server to start automatically after login. Since this is an auto-login system, I’d prefer a method that:

  • Works via preseed (e.g., adding to startup apps).
  • Can be toggled later via Cinnamon’s startup settings (if possible).

What’s the best way to set this up? .desktop file in ~/.config/autostart/? Or another approach? Preferably, it would be more easily configurable in userspace, but if this is the only option then I understand.

top 1 comments
sorted by: hot top controversial new old
[–] Ibaudia@lemmy.world 1 points 1 month ago

If anyone finds this, the solution I ended up going with was to just make it a part of a startup bash script and put it in the file system of the ISO so it runs on login for every user. Couldn't figure out how to put it in the preseed.