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

Conflicts on Fedora with package tigervnc-server-minimal, prevents use of xrdp #291

Open
gbraad opened this issue Oct 19, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@gbraad
Copy link

gbraad commented Oct 19, 2024

Describe the bug
Since the package kasmvncserver conflicts with tigervnc-server-minimal, it is not possible to install this alongside the use of xrdp. This is however possible on Debian/Ubuntu.

System Description
Fedora 40

KasmVNC Details
1.3.2 (rpm)

Installation Details

$ rpm -ivh kasmvnc...

Additional context
The use of xrdp allows a vnc connection to be forwarded over rdp, when for example x11vnc is used.

The conflict prevents other applications/package that rely on the existence of tigervnc-server-minimal.

Note:
It does not feel like a good idea to conflict with base packages. This most likely also applies to RHEL and other compatible distros. Though they might use EPEL for this, so the impact is minimal.

Note 2:
I know it is a deliberate choice:

Conflicts: tigervnc-server, tigervnc-server-minimal

but if the vncserver binary is not even compatible with legacy clients (and therefore not a drop-in replacement), do not call it vncserver, but instead use kasmvncserver as other files are already called this way, like kasmvncpasswd

cp $SRC_BIN/vncserver $DESTDIR/usr/bin;

@gbraad
Copy link
Author

gbraad commented Oct 22, 2024

I have created a rebuild of the RPMs for Fedora 40, but this needs a manual change as the binary Xvnc is hardcoded in vncserver: spotsnel#2

@mmcclaskey mmcclaskey added the enhancement New feature or request label Nov 7, 2024
@gbraad
Copy link
Author

gbraad commented Dec 11, 2024

@mmcclaskey modifications for 1.3.3 are here: https://github.com/spotsnel/AltRPMS-KasmVNC/releases/download/1.3.3/modified-kasmvncserver.spec

Mostly making sure there is no conflict reference

#Conflicts: tigervnc-server, tigervnc-server-minimal

and move kasmvnc-specific file in place with the right name:

sed -i 's/Xvnc/kasmXvnc/g' $SRC/bin/vncserver
sed -i 's/"vncpasswd"/"kasmvncpasswd"/g' $SRC/bin/vncserver
cp $SRC_BIN/Xvnc $DESTDIR/usr/bin/kasmXvnc;
cp $SRC_BIN/vncserver $DESTDIR/usr/bin/kasmvncserver;
cp -a $SRC/share/perl5/KasmVNC $DESTDIR/usr/share/perl5/
cp $SRC_BIN/vncconfig $DESTDIR/usr/bin/kasmvncconfig;
cp $SRC_BIN/kasmvncpasswd $DESTDIR/usr/bin;
cp $SRC_BIN/kasmxproxy $DESTDIR/usr/bin;
cp -r $SRC/lib/kasmvncserver $DESTDIR/usr/lib/kasmvncserver
cp -r $SRC/share/doc/kasmvnc*/* $DESTDIR/usr/share/doc/kasmvncserver/

Note: I am using the packaged binaries as the 'source' of these RPM packages, but you get the gist.

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

No branches or pull requests

2 participants