On Tue, Aug 20, 2024 at 15:28:40 -0400, Gary Dale wrote:
> Look, I know the executable is vncserver. The question is how do I get the
> service to specify parameters when starting the service? I can start is from
> the command line as "vncserver -localhost no" but then I'd have to use cron
> to set it up to run on reboot, something the systemd service already
> handles.

Are you sure you actually *want* to use systemd to start it?  It doesn't
really seem like the best choice to me.  For one thing, when you start
it from a user's crontab with @reboot, it runs as the correct user
automatically.  I don't know how systemd knows which user to start the
VNC session as.

Maybe I just don't understand the concept of a "standalone (VNC) server".

I've got some workstations with tightvncserver installed, and I've got
two sessions running on each workstation, as two separate user accounts.
Each one is started from the user's crontab file, with a customized
resolution for each human user.

Reply via email to