Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

add overrides for Xtightvnc invocation #7

Open
mbmilligan opened this issue Apr 24, 2018 · 2 comments
Open

add overrides for Xtightvnc invocation #7

mbmilligan opened this issue Apr 24, 2018 · 2 comments

Comments

@mbmilligan
Copy link

So I've just gotten this working on a CentOS system. For reasons beyond my understanding, Debian derivatives ship with TightVNC, but RedHat derivatives use TigerVNC. This results in different executable naming (/usr/bin/Xvnc vs /usr/bin/Xtightvnc) and different defaults. In particular, TigerVNC defaults to security settings that wind up requiring the user to input a (not existing) password.

In my CentOS container I got around this by creating a /usr/bin/Xtightvnc shell script like:

#!/bin/sh
exec /usr/bin/Xvnc $@ -localhost -SecurityTypes=None

But it would be nicer to be able to either configure the command that supervisor runs, or at least drop a script like that in a less-hardcoded location.

@ryanlovett
Copy link
Owner

Does 5a64d9e suffice? You could set it to be your wrapper script or to the expanded command that is run from it.

@mbmilligan
Copy link
Author

That definitely ought to do the trick. I'll let you know once I've had a chance to test it, but I expect that'll work.

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

No branches or pull requests

2 participants