Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Veyon Community Forum

  1. Home
  2. Help & Troubleshooting
  3. Service start/stop button don't work in veyon configurator.

Service start/stop button don't work in veyon configurator.

Scheduled Pinned Locked Moved Help & Troubleshooting
3 Posts 2 Posters 372 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lipheng
    wrote on last edited by
    #1

    Thanks for a useful program.

    I would like to use veyon on PCLinuxOS.
    I compiled it on PCLinuxOS successfully. In veyon configurator, [start service] and [stop service] button don't work because of the difference of init system.
    PCLinuxOS support sysvinit not systemd.
    Let me know you can support veyon for sysvinit linux distributions or how to use veyon configurator without any error.

    Thanks in advance.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobydox
      wrote on last edited by
      #2

      Hello @lipheng
      due to the historical differences and difficulties with init systems we never had proper service support on Linux. As of Veyon 4.1 we have systemd support. Without systemd you'll have to launch veyon-server via autostart or Xsetup mechanisms in your session.

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lipheng
        wrote on last edited by
        #3

        Thanks for your reply.

        I'm not a programmer so it is difficult to modify source to support SysvINIT.
        so I made and used a init script for veyon as follow:

        . /etc/init.d/functions

        prog_path=/usr/bin
        prog1=veyon-service
        prog2=veyon-server
        userid=awk -F ':' '{if($3==500) print $1}' /etc/passwd

        case "$1" in
        start)
        sudo -u $userid $prog_path/$prog1 &
        sudo -u $userid $prog_path/$prog2 &
        ;;
        stop)
        killproc $prog_path/$prog1 1>>/dev/null 2>>/dev/null
        killproc $prog_path/$prog2 1>>/dev/null 2>>/dev/null
        ;;
        status)
        status "veyon-service"
        status "veyon-server"
        ;;
        *)
        gprintf "Usage: %s {start|stop|status}\n" "$0"
        exit 1
        ;;
        esac

        exit 0

        1 Reply Last reply
        0

        Powered by NodeBB | Contributors
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups