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:
- 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?
- 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.