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. ASTER compatible

ASTER compatible

Scheduled Pinned Locked Moved Help & Troubleshooting
16 Posts 5 Posters 1.5k 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.
  • S Offline
    S Offline
    Sergey
    replied to tobydox on last edited by Sergey
    #3

    Hi @tobydox !

    WTSEnumerateSessions
    Being called from within a workplace session it returns ID of that session.
    Being called from the services session it returns session ID of the 1st workplace.

    WTSGetActiveConsoleSessionId
    Being called from within a workplace session it returns a list of two sessions (if there are no remote connections): the services session and the calling session with status WTSActive. If the calling session is the 1st workplace, its name will be "Console", otherwise it will be "Multiseat".

    Being called from the services session it returns a list of all sessions: the services session, the 1st workplace's session with status WTSActive and name "Console", and the extra workplaces' sessions with status WTSDisconnected and name "Multiseat".

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

      Hi @Sergey ,

      is it possible that you accidentally swapped the description of the two functions? Anyway I guess the important fact is that the workplace sessions are returned with status WTSDisconnected which currently makes Veyon ignore these sessions (it only runs server instances for sessions in WTSActive state).

      I uploaded a new installer at https://github.com/veyon/veyon/releases/download/v4.5.7/veyon-4.5.7.20-win64-setup.exe for testing which additionally treats sessions with WTS_SESSION_INFOW->pWinStationName="multiseat" as active. According to your information, this should be sufficient to make the Veyon Service run Veyon Server instances for each multiseat session (make sure to enable multi session mode).

      S 2 Replies Last reply
      0
      • S Offline
        S Offline
        Sergey
        replied to tobydox on last edited by
        #5

        Hi @tobydox
        Yes, the functions are messed up, I fixed it.
        Thanks, I'll test it in the evening.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          Sergey
          replied to tobydox on last edited by
          #6

          Hi @tobydox
          I checked out the new version. It works the same way. In second workplace, the VNC server does not start and nothing appears in the tray.

          • I can't fix the last post. editing is possible only within 1 hour after publication.
          T 1 Reply Last reply
          0
          • T Offline
            T Offline
            tobydox
            replied to Sergey on last edited by
            #7

            @sergey Thank you for testing and sending the log files. Obviously more work is required to make everything work in multi-seat sessions. Can you start veyon-server.exe manually inside the user sessions? Just to verify if the server has problems with the multi-seat session or whether things needs to be improved in the Veyon Service.

            S 2 Replies Last reply
            0
            • S Offline
              S Offline
              Sergey
              replied to tobydox on last edited by
              #8

              Hi @tobydox
              The case when the server is started at the first workplace:

              • when manually launching veyon-server.exe on the second workstation, only the veyon-worker process appears in the task manager
              • if you run veyon-server.exe several times, several veyon-worker processes will appear

              The case when the veyon-server process is killed in the task manager:

              • when manually launching veyon-server.exe on the second workstation, the process veyon-server and veyon-worker appears in the task manager
              • if you run veyon-server.exe several times, several veyon-worker processes will appear
              • Veyon Master displays the second seat desktop
              • in the first workplace, under the same conditions, the veyon-worker does not start.
              J 1 Reply Last reply
              0
              • S Offline
                S Offline
                Sergey
                replied to tobydox on last edited by
                #9

                Hi @tobydox
                Are there any news?

                T 1 Reply Last reply
                0
                • T Offline
                  T Offline
                  tobydox
                  replied to Sergey on last edited by
                  #10

                  @sergey Unfortunately not, we were very busy with the 4.6.0 release. There still seem to be some issues with running the server itself inside the ASTER sessions. You could try to switch the VNC server to "External VNC server" in the Service configuration page and after rebooting see if at least the tray icon (i.e. veyon-worker) appears reliably for each session. If this works, in the next step you could run a VNC server (e.g. UltraVNC) in each session manually on the corresponding ports (i.e. 11200 + session ID) and see whether Veyon Master can connect to this VNC server through the Veyon Server (which BTW acts as a proxy server for the local VNC server).

                  1 Reply Last reply
                  0
                  • J Offline
                    J Offline
                    jhonatec
                    replied to Sergey on last edited by
                    #11

                    @sergey Hello from Brazil, I'm trying to setup right now, it sems to start to respond, when i figure out, i'm coming back to post it if you still need some help!

                    1 Reply Last reply
                    1
                    • J Offline
                      J Offline
                      jhonatec
                      wrote on last edited by
                      #12

                      Hi, great news! It's working VEYON + ASTER !!!

                      I made a video with english speaking and portuguese as well, here follows the link:
                      https://www.youtube.com/watch?v=V0Dj6mj1ico (English)
                      https://www.youtube.com/watch?v=R8myaZpd444 (Portuguese with captions corrected)

                      Enjoy it!

                      S 1 Reply Last reply
                      1
                      • S Offline
                        S Offline
                        Sergey
                        replied to jhonatec on last edited by Sergey
                        #13

                        @jhonatec
                        Thanks, it really works.
                        I slightly changed the way that the ID is determined based on the workplace number. To do this, just copy two bat files to the folder with ASTER.
                        runonlogin_wpn.bat

                        @setx VEYON_SESSION_ID %1
                        EXIT
                        

                        and runonlogin_wpn2.bat

                        @START "" "c:\Program Files\Veyon\veyon-server.exe" 
                        EXIT
                        

                        @tobydox
                        Even so, some functions do not work. I can remotely control and also block / unblock the user. But, I cannot send messages to additional places, as well as open the site

                        T 1 Reply Last reply
                        1
                        • T Offline
                          T Offline
                          tobydox
                          replied to Sergey on last edited by
                          #14

                          @sergey @jhonatec Great news! So the question remains how Veyon Service can identify the session ID for a certain session and pass it to the Veyon Server instances. Is there any ASTER-specific environment variable which we could evaluate?

                          S 1 Reply Last reply
                          0
                          • S Offline
                            S Offline
                            Sergey
                            replied to tobydox on last edited by
                            #15

                            @tobydox
                            Could you add startup parameters for veyon-server.exe?
                            In order not to use an environment variable, but to pass the session / workstation number through the parameter. This was the case in the old version of iTalk.

                            "Is there any ASTER-specific environment variable which we could evaluate?"
                            I will clarify this.

                            1 Reply Last reply
                            1
                            • P Offline
                              P Offline
                              Peter 0
                              wrote on last edited by
                              #16

                              Any news here?

                              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