Do you mean on the Guacamole server?
If so the Guacamole manual lays it out:
https://guacamole.apache.org/doc/gug/ - Chapt 2 in particular.
In case it's of any interest I posted an install procedure for Guacamole
1.1.0 on a fresh Ubuntu 18.04 load. I realise it's not CENTOS (sorry),
but it'd be reasonably easy to spin up a VM and test... Although I've
not tried it with VNC it should work, however it works fine with RDP to
Winboxen and exhibits none of the issues you mention. I can't comment on
connections to XRDP, I've never tried it:
http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/ANNOUNCE-Apache-Guacamole-1-1-0-td7127.html
In general use over the past two or three years I've not had any issues
at all, except for one related to RAM. I see others have commented
similarly and I would concur that increasing RAM allocation may assist.
I have 2Gb allocated to my VM's, this serves a total of ~60 users well,
with a max of 5-9 concurrent connections.
On 25/02/2020 3:48 p.m., benchu yao wrote:
What do you usually install on a linux server to support rdp and vnc
protocols
Mike Jumper <[email protected] <mailto:[email protected]>>
于2020年2月25日周二 上午10:27写道:
On Mon, Feb 24, 2020 at 5:36 PM benchu yao <[email protected]
<mailto:[email protected]>> wrote:
In fact, when I only connect to linux via ssh or rdp to
windows, there is no problem.
The problem only occurs when I connect to the linux system
through rdp or vnc. Maybe it is a problem with xrdp and
vncserver. Maybe it is a problem with my configuration, but
there is actually no configuration.
I wonder if it may be that the connection has not been closed
since the connection was opened, and it directly appears that
the resources have not been released.
I'm still looking for a solution
I can't speak to whether XRDP might be holding on to any
resources, but the Guacamole webapp and guacd will both
automatically close the underlying RDP connection and release all
related resources after you have disconnected or closed the tab.
If network disruption occurs and the client can't signal the
server to disconnect, the server will still automatically do so
after the client has been unresponsive for around 15 seconds.
- Mike