Request to rebase Tigervnc to 1.10.1. The new version was released more than a year after the version we have now in RHEL 8 so I expect lots of improvements and fixes. Major changes in this release are security fixes and some new features like:
* The clipboard now supports full Unicode in the native viewer, WinVNC and Xvnc/libvnc.so
* The native client will now respect the system trust store when verifying server certificates
* Improved compatibility with VMware's VNC server
* Improved compatibility with some input methods on macOS
* Improvements to the automatic "repair" of JPEG artefacts
* Better handling of the Alt keys in some corner cases
* The Java web server has been removed as applets are no longer support by most browsers
* x0vncserver can now be configured to only allow local connections
* x0vncserver has received fixes for when only part of the display is shared
* Polling is now default in WinVNC as that works better for most
It's also much easier to deal with issues when we are as close as possible to upstream and Fedora.
There is no completely different way how to start tigervnc server. Here are the steps you have to follow in order to run a vnc server:
1) You need to load SELinux policy, you can do that with following commands:
$ sudo semodule -i /usr/share/selinux/packages/vncsession.pp
$ sudo restorecon /usr/sbin/vncsession /usr/libexec/vncsession-start
2) You don't need to do any changes to the vncserver service file, it will be
used as it is. You just need to modify /etc/tigervnc/vncserver.users, where
you can configure which display number will be used for which user. For
example if you use:
then starting vncserver@:2 will start for user named "jgrulich". If you open
that file you will see examples there so it should be pretty straightforward.
3) To configure Xvnc parameters, you can modify /etc/tigervnc/vncserver-
config-defaults. These will be used to override builtin default options and
starting point for per-user configuration stored in ~/.vnc/config. You can
then modify ~/,vnc/config for each user to use whatever option you want to use
for a specific user. Using /etc/tigervnc/vncserver-config-mandatory you can
override default configuration and also the configuration which is configured
in user directories. This can be used probably by administrators forcing
4) Tigervnc now also uses desktop files located in /usr/share/xsessions to
start particular desktop. If you want to use for example GNOME, then you have
to put "session=gnome" into one of the configuration files mentioned above.
The value should match desktop file name.
5) Now you can start a session using:
$ sudo systemctl start vncserver@:2
6) Connect from vncviewer \o/.
1) You cannot start a service for a user who is currently logged in
2) Make sure you remove old service files which previously had to be copied to
/etc/systemd/system as these will be loaded first and it will obviously fail.
The new service file is in /usr/lib/systemd/system.
I just created this doc https://docs.engineering.redhat.com/display/DESKTOPQE/VNCServer+using+systemctl and with Jan's input, this should verify that it is rebased and works.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (tigervnc bug fix and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.