ASTER compatible
-
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".
-
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 inWTSActive
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). -
-
@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. -
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.
-
@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).
-
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!
-
@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 -
-
@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.