Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942891 - net-misc/remmina-1.4.36 timeout issues
Summary: net-misc/remmina-1.4.36 timeout issues
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-04 22:00 UTC by Chris Smith
Modified: 2024-11-06 16:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Smith 2024-11-04 22:00:28 UTC
net-misc/remmina-1.4.36 has added a Disconnect Timeout setting to VNC connection settings that doesn't work properly. Help states "0" is supposed to disable timeouts, yet with that set the timeout is instantaneous and connections to remote server fail.
If the timeout is set higher connection is possible but flaky as the feed soon stops updating and only a reconnect can bring back screen updates and keyboard/mouse control (rinse and repeat).

Reproducible: Always




emerge --info
Portage 3.0.66.1 (python 3.12.7-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-14, glibc-2.40-r5, 6.11.6-gentoo x86_64)
=================================================================
System uname: Linux-6.11.6-gentoo-x86_64-AMD_Ryzen_9_5900X_12-Core_Processor-with-glibc2.40
KiB Mem:    65778560 total,  52011236 free
KiB Swap:   12582908 total,  12582908 free
Timestamp of repository gentoo: Mon, 04 Nov 2024 21:03:46 +0000
Head commit of repository gentoo: 6300871951a3bd6e3d2f4a80c1b963762e6360d9

Head commit of repository audio-overlay: 20bf7b1970d2e2e20ed33f6b9563a659190ae368

Head commit of repository brave-overlay: 7e3f9a23dd29e2494a6a38bde6f9330db0df869f

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p2) 2.43.1
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.17-r1::gentoo
dev-build/cmake:           3.30.5::gentoo
dev-build/libtool:         2.5.3::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.6.0::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.12.7_p1::gentoo, 3.13.0::gentoo
dev-lang/rust:             1.82.0::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/sandbox:          2.40::gentoo
sys-apps/systemd:          256.7::gentoo
sys-devel/binutils:        2.43-r1::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           18.1.8-r6::gentoo, 19.1.3::gentoo
sys-devel/gcc:             14.2.1_p20241026::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            18.1.8-r6::gentoo, 19.1.3::gentoo
sys-kernel/linux-headers:  6.11::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000
    volatile: False

audio-overlay
    location: /var/db/repos/audio-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-audio/audio-overlay.git
    masters: gentoo
    volatile: False

brave-overlay
    location: /var/db/repos/brave-overlay
    sync-type: git
    sync-uri: https://gitlab.com/jason.oliveira/brave-overlay.git
    masters: gentoo
    volatile: False

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

Binary Repositories:

binhost
    priority: 9999
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64-v3

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
AR="ar"
CBUILD="x86_64-pc-linux-gnu"
CC="gcc"
CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXX="g++"
CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --autounmask-keep-masks"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-request-signature buildpkg-live clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O2 -Wl,--as-needed"
LEX="flex"
LINGUAS="en_US en"
MAKEOPTS="-j12"
NM="nm"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
RANLIB="ranlib"
SHELL="/bin/zsh"
USE="10bit 12bit X a52 aac aacs aalib acl acpi activities alsa amd64 amr apache2 aspell audiofile bash-completion bluray branding btrfs bzip2 cairo caps cdda cddb cdparanoia cdr cet chm chromecast cleartype colord corefonts crypt cups curl dbus declarative djvu dri dssi dts dv dvb dvd dvdr ebook egl encode exif fam fdk ffmpeg flac gdbm gif gles2 gmp google gphoto2 gpm gstreamer gtk gtk3 gtk4 gui iconv icu imagemagick imap imlib introspection ipv6 java jpeg jpeg2k kde kf6compat kvm kwallet ladspa lame lash lcms libffi libinput libnotify libtirpc linguas_en_US lm-sensors lvm lzma mad midi mmap mng mp3 mp4 mpeg mtp multimedia musicbrainz ncurses network networkmanager nftables nls numa ofx ogg opencl openexr opengl openmp opus pam pango pcre pdf pipewire pipewire-alsa plasma png policykit ppds pulseaudio qemu qml qt5 qt6 readline rtmp rust sasl scanner screencast sdl seccomp semantic-desktop sndfile sound speex spell ssl startup-notification subversion svg systemd test-rust theora threads tiff tk truetype udev udisks unicode upower usb v4l vaapi vcd vdpau vim-syntax vorbis vpx vst vulkan wav wavpack wayland webp widgets wmf wxwidgets x264 x265 xattr xcb xcomposite xft xine xkb xml xscreensaver xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput wacom" KERNEL="linux" L10N="en_US.utf8" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="autoindex fancyindex fastcgi gzip" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby32" SANE_BACKENDS="epson epson2" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, ARFLAGS, AS, ASFLAGS, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-05 08:14:00 UTC
This was added in https://gitlab.com/Remmina/Remmina/-/commit/28d03ff0798d14542038f0d030cd3b0e3ecb6379 but on a branch, I see https://gitlab.com/Remmina/Remmina/-/commit/df5de5854a10d6f868ccea3ee2c1c8c885b778b3.

I'm not sure what the REM-XXXX refers to, it doesn't seem to be a gitlab bug or an MR at a glance?
Comment 2 Chris Smith 2024-11-05 13:42:15 UTC
(In reply to Sam James from comment #1)
> This was added in
> https://gitlab.com/Remmina/Remmina/-/commit/
> 28d03ff0798d14542038f0d030cd3b0e3ecb6379 but on a branch, I see
> https://gitlab.com/Remmina/Remmina/-/commit/
> df5de5854a10d6f868ccea3ee2c1c8c885b778b3.
> 
> I'm not sure what the REM-XXXX refers to, it doesn't seem to be a gitlab bug
> or an MR at a glance?

Probably something wrong with that commit.
I've had to mask 1.4.36 as I find it unusable for VNC.
Comment 3 Ben Kohler gentoo-dev 2024-11-05 15:13:44 UTC
re: REM-3854: https://gitlab.com/Remmina/Remmina/-/issues/2854

If you apply https://gitlab.com/Remmina/Remmina/-/commit/df5de5854a10d6f868ccea3ee2c1c8c885b778b3.patch via /etc/portage/patches/net-misc/remmina, does VNC work normally?

If so, I'd like to report this info on one of the upstream issues, and I can add this revert in 1.4.36-r1 for now.
Comment 4 Chris Smith 2024-11-05 16:07:41 UTC
(In reply to Ben Kohler from comment #3)
> re: REM-3854: https://gitlab.com/Remmina/Remmina/-/issues/2854
> 
> If you apply
> https://gitlab.com/Remmina/Remmina/-/commit/
> df5de5854a10d6f868ccea3ee2c1c8c885b778b3.patch via
> /etc/portage/patches/net-misc/remmina, does VNC work normally?
> 
> If so, I'd like to report this info on one of the upstream issues, and I can
> add this revert in 1.4.36-r1 for now.

The patch applies but building then fails.
* Applying user patches from /etc/portage/patches ...
 * Applying df5de5854a10d6f868ccea3ee2c1c8c885b778b3.patch ...
 * User patches applied.
 * ============================================================================================================================
 * Hardcoded definition(s) removed in CMakeLists.txt:
 *  set(CMAKE_COLOR_MAKEFILE ON)
 *    set(CMAKE_BUILD_TYPE "Release")
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/net-misc/remmina-1.4.36/work/Remmina-v1.4.36"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/net-misc/remmina-1.4.36/work/Remmina-v1.4.36_build"
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/net-misc/remmina-1.4.36/work/Remmina-v1.4.36"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/net-misc/remmina-1.4.36/work/Remmina-v1.4.36_build"
 * ERROR: net-misc/remmina-1.4.36::gentoo failed (compile phase):
 *   ninja -v -j12 -l0 failed
Comment 6 Larry the Git Cow gentoo-dev 2024-11-06 16:24:37 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfcc14b90be39f14b1fc63f6d02d3b32c7b1ba20

commit dfcc14b90be39f14b1fc63f6d02d3b32c7b1ba20
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2024-11-06 16:23:45 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2024-11-06 16:24:32 +0000

    net-misc/remmina: add 1.4.36_p20241106
    
    Bug: https://bugs.gentoo.org/942891
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 net-misc/remmina/Manifest                        |   1 +
 net-misc/remmina/remmina-1.4.36_p20241106.ebuild | 105 +++++++++++++++++++++++
 2 files changed, 106 insertions(+)
Comment 7 Ben Kohler gentoo-dev 2024-11-06 16:24:57 UTC
Can you try this new snapshot?
Comment 8 Chris Smith 2024-11-06 16:45:09 UTC
(In reply to Ben Kohler from comment #7)
> Can you try this new snapshot?

Appears to work fine - the VNC Timeoiut setting is not there, as in 1.4.35 and connect seems good. This was just a quick test, but so far looks like it's OK.