Veyon Community Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

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

    Help & Troubleshooting
    2
    3
    270
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lipheng last edited by

      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 Reply Quote 0
      • tobydox
        tobydox last edited by

        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 Reply Quote 0
        • L
          lipheng last edited by

          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 Reply Quote 0
          • First post
            Last post
          Powered by NodeBB | Contributors