Results 1 to 3 of 3

Thread: VNC as a service

  1. #1
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default VNC as a service

    I'd like to set tinyVNC server to start as a service on my desktop PC running 11.2. Currently I have to log into the box then start the server with "dbus-launch vncserver :6 -geometry 1024x768"

    I'd like to be able to start the vnc server without having to log into the box first. What's the best way to do this? Put it in a cron or put the command in the boot.local script? Either way I'm not sure how to launch the server for a particular user.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  2. #2
    Join Date
    Nov 2008
    Location
    Detroit, MI
    Posts
    3

    Exclamation Re: VNC as a service

    If your vnc server cannot start itself as a service you might want to become familiar with "insserv" which will insert the service appropriately on your linux box.

    If you just add it to your system (like boot.local) it might try to run before required services (network) are up and running.

    It's not trivial. You will tweak up a default script and have the insserv command insert it in your init.d where it belongs.

    FYI HTH

  3. #3
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Re: VNC as a service

    Thanks. That sounds a little complex for the meoment. I'll have to do a little more research on this. Perhaps try FreeNX server or something.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •