Thanks for your reply. When there is only one user, I think I can limit the number of connections to one by setting the number of simultaneous connections to the number of users (in this case, one) in the connection group settings. However, I don't think this setting can limit the number of connections to one for each user when there are multiple users. I don't want one user to be able to have multiple connections at the same time.
2021年9月29日(水) 23:53 Nick Couchman <[email protected]>: > On Wed, Sep 29, 2021 at 10:42 AM Mike Jumper <[email protected]> > wrote: > >> On Wed, Sep 29, 2021 at 5:31 AM Nick Couchman <[email protected]> wrote: >> >>> On Wed, Sep 29, 2021 at 3:21 AM takuya morita <[email protected]> >>> wrote: >>> >>>> Hi, Guacamole. >>>> I'm Takuya. >>>> >>>> Thanks for always answering my questions. >>>> >>>> I can connect from one PC to multiple PCs at the same time using >>>> Guacamole. >>>> Is there a setting that allows me to connect to only one PC at a time? >>> >>> >>> I do not believe that there is any way currently to restrict a user to a >>> maximum number of overall concurrent connections. You can restrict each >>> connection or connection group such that users can only access the connect >>> a single time, and you can set defaults on this that apply to all >>> connections/connection groups which do not explicitly have a limit set, but >>> I don't think you can limit the overall concurrent connections per user or >>> client. >>> >> >> There is an overall, absolute limit available via guacamole.properties >> that can be enforced on connections defined through the database: >> >> https://guacamole.apache.org/doc/gug/jdbc-auth.html#jdbc-auth-concurrency >> (See "mysql-absolute-max-connections", >> "postgresql-absolute-max-connections", etc.) >> >> Setting that limit will restrict the total number of connections >> maintained across the entire web application, regardless of which Guacamole >> connections/groups are being used and regardless of which user(s) are using >> them. >> >> > My understanding from the original request was a limit to the number of > connections that each user can have open at a time. So, it looks as if you > can: > * Restrict the total number of connections that all users of Guacamole can > have open concurrently (total connection load) > * On a per-connection or per-connection-group, restrict the number of > times a user can be connected to that object. > > The ask is somewhere in between - restrict each user to a single session > in the entirety of the Guacamole Client. > > -Nick > >>
