Q: I have a problem with flexVDI Desktop Client and need assistance from the support team!
A: When you open an issue in the support site for a problem with the flexVDI Desktop Client, always attach the log file of the session where the problem happened, and include the approximate date and time of the problem in the issue's message. The flexVDI Desktop Client writes all log messages to a file in the following path:
- Windows: %LOCALAPPDATA%\flexvdi-client\flexvdi-client.log
- Linux: $XDG_DATA_HOME/flexvdi-client/flexvdi-client.log
- Mac OS: $HOME/.local/share/flexvdi-client/flexvdi-client.log
The amount of information that is logged depends on the log-level configuration option. Always use the following logging configuration to generate the log file that you attach to the issue:
The support team may request you a different configuration if more information is needed.
Q: After a few minutes/seconds of user inactivity, keyboard and mouse stop working on virtual desktop / flexVDI Client disconnects.
A: The connections between flexVDI Client and the flexVDI Hosts that serve the virtual desktops are encapsulated in websockets that use https. In the datacenter, it is common that these connections go through a reverse web proxy that can drop inactive connections. For instance, a nginx web proxy with default configuration closes connections that have not had traffic for more than 60 seconds. Firewalls can exhibit the same behavior.
Keyboard, mouse, display, ... use separate connections to the guest, so when user stops typing in his keyboard, that socket stops sending data and can be closed due to inactivity by the proxy/firewall, although screen connection can be kept if a on-screen clock keeps updating screen image and generating traffic in that connection.
If this is your case, you can configure your network infrastructure to stop dropping these connections.
Alternatively, you can configure flexvdi-gateway to periodically generate network traffic, avoiding the detection of inactivity, performing the following steps:
In every host executing flexvdi-gateway, edit file /etc/flexvdi/flexvdi-gateway.conf adding a line (beween the other options) with the following content to send a packet every 15 seconds:
Then restart the flexvdi-gateway with:
The restart will drop the connections being served by the flexvdi-gateway, so end users will be disconnected, but it does not affect the virtual machines.