RHEL9 Pre-release build problem (?)

62 views
Skip to first unread message

Chris Nelson

unread,
Jan 15, 2025, 11:23:07 AMJan 15
to TigerVNC Developer Discussion
I'm tracking the addition of clipboard support in x0vncserver, and trying pre-release builds.  Installing tigervnc-server from rhel-9-x86_64-appstream-rpms works fine.

-----------

I installed
- tigervnc-server-1.14.80-1.el9.x86_64.rpm
- tigervnc-server-minimal-1.14.80-1.el9.x86_64.rpm

and ran `x0vncserver -PasswordFile=/home/cjn/.config/tigervnc/passwd -AlwaysShared=1 -Display=:1 -rfbport=5901`

The startup messages...
```
Tue Jan 14 15:19:42 2025
 Geometry:    Desktop geometry is set to 3840x2160+0+0
 XDesktop:    Using evdev codemap
 XDesktop:    
 XDesktop:    XTest extension present - version 2.2
 Main:        Listening for VNC connections on all interface(s), port 5900
```
Notice `port 5900`.  My desktop is on DISPLAY = :1, and I ssh (putty) in with tunnel localhost:5901 > remote 5901.  Changing the tunnel to remote 5900, Windows Real VNC Viewer thinks about it for a couple seconds, then "Sorry, loopback connections are not enabled".  
>> Shouldn't the Main:  line port reflect the command line -rfbport number?

I then uninstalled V14 and tried to install V15:
- tigervnc-server-1.15.80-1.el8.x86_64.rpm
- tigervnc-server-minimal-1.15.80-1.el8.x86_64.rpm

with these install errors:
```
$ sudo dnf install tigervnc-server-minimal-1.15.80-1.el8.x86_64.rpm tigervnc-server-1.15.80-1.el8.x86_64.rpm
Updating Subscription Management repositories.
Last metadata expiration check: 3:06:27 ago on Tue 14 Jan 2025 12:35:45 PM MST.
Error:
 Problem 1: conflicting requests
  - nothing provides libhogweed.so.4()(64bit) needed by tigervnc-server-minimal-1.15.80-1.el8.x86_64 from @commandline
  - nothing provides libhogweed.so.4(HOGWEED_4)(64bit) needed by tigervnc-server-minimal-1.15.80-1.el8.x86_64 from @commandline
  - nothing provides libnettle.so.6()(64bit) needed by tigervnc-server-minimal-1.15.80-1.el8.x86_64 from @commandline
  - nothing provides libnettle.so.6(NETTLE_6)(64bit) needed by tigervnc-server-minimal-1.15.80-1.el8.x86_64 from @commandline
 Problem 2: conflicting requests
  - nothing provides libhogweed.so.4()(64bit) needed by tigervnc-server-1.15.80-1.el8.x86_64 from @commandline
  - nothing provides libhogweed.so.4(HOGWEED_4)(64bit) needed by tigervnc-server-1.15.80-1.el8.x86_64 from @commandline
  - nothing provides libnettle.so.6()(64bit) needed by tigervnc-server-1.15.80-1.el8.x86_64 from @commandline
  - nothing provides libnettle.so.6(NETTLE_6)(64bit) needed by tigervnc-server-1.15.80-1.el8.x86_64 from @commandline
```

I may have missed installing dependencies dbus-x11 and tigervnc-selinux.  For the latter I think I tried setenforce 0.
(please pardon the md formatting)

Chris Nelson

unread,
Jan 21, 2025, 2:37:26 PMJan 21
to TigerVNC Developer Discussion
Still a problem with 2025-01-20 builds tigervnc-server-1.15.80-1.el9.x86_64.rpm and tigervnc-server-minimal-1.15.80-1.el9.x86_64.rpm

This version/build still seems to ignore the command line -rfbport=5901 switch.

On startup:

Tue Jan 21 12:24:38 2025

 Geometry:    Desktop geometry is set to 3840x2160+0+0
 XDesktop:    Using evdev codemap
 XDesktop:    
 XDesktop:    XTest extension present - version 2.2
 Main:        Listening for VNC connections on all interface(s), port 5900

Also, the install errors noted in the OP were my mistake.  I had tried to install el8 versions.  Disregard.

Is anyone listening?  Does this post belong somewhere else?

Pierre Ossman

unread,
Jan 28, 2025, 4:20:16 AMJan 28
to Chris Nelson, TigerVNC Developer Discussion
On 15/01/2025 17:23, Chris Nelson wrote:
> Notice `port 5900`. My desktop is on DISPLAY = :1, and I ssh (putty) in
> with tunnel localhost:5901 > remote 5901. Changing the tunnel to remote
> 5900, Windows Real VNC Viewer thinks about it for a couple seconds, then
> "Sorry, loopback connections are not enabled".
>>> Shouldn't the Main: line port reflect the command line -rfbport number?
>

Unfortunately, a bug got into the argument parser for x0vncserver. It
should be resolved now, so please give the updated code a try.

Regards,
--
Pierre Ossman Software Development
Cendio AB https://cendio.com
Teknikringen 8 https://twitter.com/ThinLinc
583 30 Linköping https://facebook.com/ThinLinc
Phone: +46-13-214600

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Chris Nelson

unread,
Mar 2, 2025, 11:34:58 AMMar 2
to TigerVNC Developer Discussion
Confirming that the tigervnc-server-1.15.80-1.el9.x86_64.rpm and tigervnc-server-minimal-1.15.80-1.el9.x86_64.rpm install correctly on RHEL9.  Also the x0vncserver clipboard feature seems to work correctly.
Thank you all,
cjn
Reply all
Reply to author
Forward
0 new messages