If you encounter interaction or connection problems between master and client computers you should always ensure that an identical Veyon configuration is used on all computers. To avoid problems in general it’s recommended to automate the configuration transfer during installation or via the Command line interface instead of importing the configuration manually using the Veyon Configurator. During debugging the configuration needs to be transfered onto all computers on every change.

Computers can’t be accessed

There are multiple causes which can prevent the access to a computer using Veyon Master.

Networking problems

First of all the general network connectivity of the computer should be checked. Use the utility ping (which is usually included with every operating system) to diagnose connectivity problems.

Problems with the Veyon Service

If the computer can be pinged you should check whether the Veyon Service is running correctly. Open the Veyon Configurator and open the configuration page Service. In the section General the status of the service should be displayed with status Running. Otherwise the service can be started using the button Start service. If this is not successful you should try a reinstallation of Veyon. If a reinstallation does not help you can check the log files of the Veyon Service as well as the logging messages of the operation system for error messages and possible causes. Additionally you can find more hints or possibilities for adjustments in the service management of your operating system.

Service and firewall settings

If the service is running you have to ensure that it is listening on the correct network port for incoming connections. You can verify that on the local computer using telnet:

telnet localhost 11100

Besides general program output the string RFB 003.008 has to be displayed. If the output does not match the expectations you should check the Network, especially the primary service port, and reset them to their default values.

Next the same access has to be possible from a different computer in the network. The utility telnet can be used again for the diagnosis. The program argument localhost has to be replaced with the name or IP address of the corresponding computer. If the access fails please ensure that the option Allow connections from localhost only in the Network is disabled. Additionally Computer access control should be disabled initially, as the service listens on localhost only if the external access would be denied because of currently matching rules. If both settings are correct the output of

netstat -a

has to indicate that the service is not (only) listening on localhost or (status LISTEN or similar).

If the external port access still fails usually a firewall prevents the access and has to be reconfigured accordingly. On Linux this concerns settings of iptables, ufw etc. Consult the corresponding manuals of the software used. On Windows the integrated Windows Firewall is configured by Veyon automatically as long as the option Enable firewall exception in the Network is set to its default value (enabled). If a 3rd party firewall solution is used it has to be configured such that the TCP ports 11100 (primary service port) as well as 11400 (demo server) can be accessed externally.

Authentication settings

Another cause of error can be wrong or insufficient Authentication. For initial tests you should (on both computers!) enable logon authentication and disable Key file authentication. As soon as the logon authentication is successful at the local computer external access should work too.

When using key file authentication it has to be enabled and the key files on master and client computers have to correspond. On client computers the public key file needs to have the same content as on the master computer. If the access still fails in some circumstances the access permissions are wrong. The Veyon Service needs to have read permissions on the public key file while the user of Veyon Master has to be able to read the private key file. If the problem remains the Key file directories of the key files should be deleted on all computers and a new keypair generated on the master computer. Then the public key needs to be imported again on all client computers.

Settings for computer access control

An erroneous configuration of computer access control can lead to problems with accessing computers. Initially it’s recommended to disable the Computer access control completely using the Veyon Configurator. Now you can determine which configured computer access control method is configured improperly.

When using User groups authorized for computer access you have to check whether the list of authorized user groups is complete and whether the accessing user is member of one of these groups.

Improperly configured Access control rules can also cause problems with accessing computers. There always has to be at least one rule which allows the access under certain conditions. Once ensured for further debugging a temporary test rule can be inserted at the end of the list which has the option Always process rule and ignore conditions enabled and the action Allow access selected. This rule stepwise can be moved upwards inside the rule list until the access works or the test gives the desired positive results. The access rule below the temporary test rule likely causes the access being denied and can be examined in detail and corrected appropriately.

Another potential cause in case of prohibited computer access may be the Access control rules. There always has to be at least one rule granting access under certain conditions. Using this method, you can add another rule at the bottom of the list for debugging purposes. This rule should have the option Always process rule and ignore conditions activated and the action Allow Access should be selected. This rule can now be moved upwards step by step until access is granted or the test produces the desired results. In this case the access rule directly below the test rule has to be the cause for the denial of access and can be closely inspected and corrected accordingly.

Settings are not correctly saved/loaded

If one or more configuration keys are inconsistent or broken settings can’t be loaded or save correctly, e.g. room and computer information. In this case the configuration (should be reset completely) and recreated from scratch using the default values.

Rooms and computers from the LDAP directory are not displayed in Master

Please make sure that:

  • the Network object directory on configuration page General is set to LDAP
  • LDAP integration tests List all members of a computer room and List all computer rooms are successful and return objects
  • all options for fine tuning the behavior on configuration page Master are set to their default values

Automated switching to the current room doesn’t work

If the option for automated switching to the current room is activated, but doesn’t show any effect when starting Veyon Master, it should be ensured, that the master computer is set as computer for the respective room in the Network object directory. Independent from this option, the master computer can be hid in the computer room management using the option Hide local computer in computer room management.

If all entries in the network object directory are correct, there arguably is a problem with the DNS-configuration in the network. Make sure that computer names can be converted into IP-addresses and vice versa. Most common operating systems offer the diagnosis tool nslookup for this purpose. Calling the program with the local computer name as a parameter should return a valid IP-address. A second call with the returned IP-address should in turn return the computer name.

In case the function doesn’t work as desired despite a correct DNS setup, it can be useful to set the Loglevel to the highest value (Debug) and search the log file VeyonMaster.log in the Logfile Directory for potential causes. Thereby the messages “initializing rooms” and “found local rooms” might be particularly helpful to detect possible problems.

Screen lock can be bypassed with Ctrl+Alt+Del

In order to completely block all keyboard input and shortcuts in screen lock mode, under Windows a reboot is required after completion of the Veyon installation. Without a reboot the Veyon-specific driver for input devices is not yet active and keyboard input cannot be caught.

When in demo mode, client computer screens just show a black screen or a black window

Please make sure that:

  • the demo server’s port under Network on configuration page Service is set to a default value of 11400.
  • all firewall exceptions for the master computer are activated on configuration page Service or a used third-party firewall is configured to allow incoming connections on port 11400.
  • the user of Veyon Master has access to its own computer (i.e. the local Veyon Service). In a rule set there may exist a rule prohibiting access to a computer if a teacher is signed in. In this case you should create a rule with activated condition accessing computer is localhost as far up the list of rules as possible. Otherwise the demo server is unable to access the teacher PC’s screen content and distribute it to the client computers.

The server crashes with XIO or XCB errors on Linux

There are known issues with specific KDE and Qt versions on Linux causing the Veyon Server to crash. This affects several other VNC server implementations as well. In case you’re affected by such crashes consider upgrading KDE/Qt. As a last resort you can disable the X Damage extension in the VNC server configuration. This will however likely decrease overall performance.