Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Persistent configuration #1

Open
frispete opened this issue Apr 13, 2021 · 1 comment
Open

Persistent configuration #1

frispete opened this issue Apr 13, 2021 · 1 comment

Comments

@frispete
Copy link

Hi Michal,

we have some customers struggling a bit with configuring/using this stuff.

While testing this with SLES15SP2, I noticed, that on one hand, this is pretty easy to setup, if you stick to the doc, on the other hand, one has to redo the config all the time after booting, most probably due to the nature of keeping the Xvnc processes running for persistent sessions. Looking into the source, I can see this app configuring Xvnc and whatnot on the fly, but no way of keeping these settings in some persistent way. So the work flow for persistent sessions is, that the first user logining in, will need to setup the session properly for others to come..

Is that correct?

Speaking of processes, I noticed this:

/usr/bin/Xvnc -log *:syslog:30,TcpSocket:syslog:-1 -inetd -MaxDisconnectionTime=5 -securitytypes=none -displayfd 11 -geometry 1920x1200 -AllowOverride=Desktop,AcceptPointerEvents,SendCutText,AcceptCutText,MaxDisconnectionTime,MaxConnectionTime,MaxIdleTime,QueryConnect,QueryConnectTimeOut,AlwaysShared,NeverShared,DisconnectClients,SecurityTypes,Password,PlainUsers -auth /run/vncmanager/auth/1 -desktop VNC manager -extension MIT-SHM

Does providing AlwaysShared,NeverShared make any sense here?

@michalsrb
Copy link
Owner

Hi,

It is out of vncmanager's scope to automatically create user sessions on boot. But it could remember the last configuration and maybe even have the option to automatically turn a session permanent right after user creates it thru remote connection. PRs are welcome.

Yes, -AllowOverride=AlwaysShared,NeverShared makes sense. This tells Xvnc that X client (like vncmanager-controller) may modify both of these parameters at runtime. It wouldn't make much sense for it to enable both at the same time, but it can enable each of them individually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants