Package Details: turbovnc 3.1.1-2

Git Clone URL: https://aur.archlinux.org/turbovnc.git (read-only, click to copy)
Package Base: turbovnc
Description: A derivative of Virtual Network Computing that is tuned to provide peak performance for 3D and video workloads
Upstream URL: http://www.turbovnc.org/
Licenses: GPL-2.0-or-later
Conflicts: tigervnc, tigervnc-git, tightvnc, tightvnc-git
Submitter: kfgz
Maintainer: PlasticSoup
Last Packager: PlasticSoup
Votes: 34
Popularity: 0.20
First Submitted: 2013-06-03 18:29 (UTC)
Last Updated: 2024-03-08 02:29 (UTC)

Dependencies (23)

Required by (0)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

W47MPUSv commented on 2023-01-29 00:18 (UTC)

Hi: I make several changes to the PKGBUILD:

  1. I moved java-environment to makedepends list and put java-runtime to depends list as jdk is only needed for building and jre is enough for runtime.
  2. I removed the line specifying the openssl location as the current location is wrong (upstream package openssl has been upgraded to version 3) and the dependency is on openssl and not openssl-1.0.

I have tested the new PKGBUILD could build successfully and vncviewer runs normally. I did not test vncserver.

Here is the patch:

diff --git a/PKGBUILD b/PKGBUILD
index 4a4baf2..300896b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,12 +7,12 @@
 pkgname="turbovnc"
 pkgdesc="An optimized version of TightVNC"
 pkgver=3.0.2
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 url="http://www.turbovnc.org/"
 license=('GPL')
-makedepends=('cmake' 'rsync')
-depends=('libxaw' 'libxt' 'libxi' 'libxcursor' 'libjpeg-turbo' 'java-environment>11' 'openssl' 'python')
+makedepends=('cmake' 'rsync' 'java-environment>11')
+depends=('libxaw' 'libxt' 'libxi' 'libxcursor' 'libjpeg-turbo' 'java-runtime>11' 'openssl' 'python')
 sha256sums=('616dc72ce52351b70a239c2f464c83136e6143a23c7d316e3b29f68ea71c9949'
             'ccadf1fc708fad601e6113464d6c533a629f6dc9116f6071347cd0b465c1f48b')
 conflicts=('turbovnc-bin' 'tigervnc' 'tigervnc-svn' 'tightvnc')
@@ -25,7 +25,6 @@ backup=(etc/turbovncserver.conf
 build() {
   mkdir -p "${srcdir}"/${pkgname}-${pkgver}/build
   export JAVA_HOME=/usr/lib/jvm/default/
-  export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/openssl-1.0/pkgconfig
   cd "${srcdir}"/${pkgname}-${pkgver}/build
   ln -sf ../CMakeLists.txt
   cmake -G "Unix Makefiles" \

Thanks!

angelv commented on 2023-01-23 13:06 (UTC)

@celogeek, do you think your vncserver.service file now will work OK with all desktops? (I never start VNC at boot, so I'm just not sure what would be the best option). In any case this file is not installed by this package, so not sure if I should keep it?

celogeek commented on 2023-01-14 07:29 (UTC)

Thanks !

I have difficulties to start vnc at boot.

I manage to do that by changing a bit the system file you provide.

[Unit]
Description=Remote desktop service (VNC)
After=syslog.target network.target

[Service]
Type=forking
User=MY USER
# Clean any existing files in /tmp/.X11-unix environment, especially useful for VMs
ExecStartPre=-/usr/bin/vncserver -kill %i
# DBUS REQUIRED HERE (I use mate desktop, but others use dbus too)
ExecStart=/usr/bin/dbus-launch /usr/bin/vncserver %i
ExecStop=/usr/bin/vncserver -kill %i
# Go to home directory by default
WorkingDirectory=~

[Install]
WantedBy=multi-user.target

angelv commented on 2023-01-03 08:10 (UTC)

@celogeek both files protected now. Cheers

celogeek commented on 2022-12-30 14:58 (UTC)

Hi.

Can you protect the config files please. I've just update the package and loose my tweaks.

  • turbovncserver.conf
  • turbovncserver-security.conf

Thanks

malcolm commented on 2021-12-17 12:59 (UTC)

Is the build broken? This is what is displayed to me https://paste.rs/t2A

dklymenk commented on 2021-06-18 08:31 (UTC)

@ozz

Thanks. I've just checked and I was indeed missing the jdk-openjdk package. It's weird that is a required dependency, but wasn't pulled automatically. Also the comments below mentioning that you need to do archlinux-java set java-13-j9 are no longer true - the package build successfully with java-16-openjdk.

ozz commented on 2021-06-12 23:25 (UTC)

@dklymenk

The build seems to get confused if you have multiple versions of the JDK installed. I had to look through the packages installed (pacman -Qs java) and remove a bunch of various versions until I was left with just one version. Once I did that the build still didn't work because it couldn't find the JDK so even though I already had it installed I had to reinstall just the one I wanted (jdk-openjdk and jre-openjdk). Finally it would build.

dklymenk commented on 2021-06-06 09:32 (UTC)

I have an issue similar to one @angelv had:

/home/dklymenk/.cache/yay/turbovnc/src/turbovnc-2.2.6/java/com/turbovnc/rfb/TightDecoder.java:599: error: cannot access TJDecompressor
  private TJDecompressor tjd;
          ^
  bad class file: /usr/share/java/turbojpeg.jar(/org/libjpegturbo/turbojpeg/TJDecompressor.class)
    class file has wrong version 59.0, should be 57.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
...

Here is the output of java --version:

$ java --version
openjdk 13.0.2 2020-01-14
OpenJDK Runtime Environment AdoptOpenJDK (build 13.0.2+8)
Eclipse OpenJ9 VM AdoptOpenJDK (build openj9-0.18.0, JRE 13 Linux amd64-64-Bit Compressed References 20200117_151 (JIT enabled, AOT enabled)
OpenJ9   - 6968c18d7
OMR      - 7a1b0239a
JCL      - 9c5a41bd5f based on jdk-13.0.2+8)

I'm am using jdk13-openj9-bin package as suggested by @patryk.

How does one troubleshoot this further?