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.

  • Ibaudia@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 days 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.