As soon as I initiate the connection through the client, the window closes and the message appears saying that “the connection was closed in less than 10 seconds”.
Looking at the forums I saw that I could try to find out what was wrong in the logs in /var/opt/thinlinc/sessions/<session>/last/xinit.log
. I really don’t know if I found the error but to me it looks like this:
W: [pulseaudio] main.c: Couldn't canonicalize binary path, cannot self execute.
If this is indeed the line that indicates the error, is it because I don’t have pulseaudio
installed but rather pipewire-pulse
instead? How to make the connection using pipewire-pulse
?
Full log:
xauth: file /var/opt/thinlinc/sessions/rhuan/10/Xauthority does not exist
tl-xinit: Waiting for Xserver to accept connections...
Xvnc ThinLinc release 4.15.0 build 3358 - built Aug 21 2023 07:22:38
Copyright (C) 1999-2023 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12013000
(II) Initializing extension VNC-EXTENSION
Fri Nov 24 17:47:52 2023
vncext: VNC extension running!
vncext: Listening for VNC connections on local interface(s), port 5910
vncext: created VNC server for screen 0
(II) Initializing extension Generic Event Extension
(II) Initializing extension SHAPE
(II) Initializing extension MIT-SHM
(II) Initializing extension XInputExtension
(II) Initializing extension XTEST
(II) Initializing extension BIG-REQUESTS
(II) Initializing extension SYNC
(II) Initializing extension XKEYBOARD
(II) Initializing extension XC-MISC
(II) Initializing extension XFIXES
(II) Initializing extension RENDER
(II) Initializing extension RANDR
(II) Initializing extension COMPOSITE
(II) Initializing extension DAMAGE
(II) Initializing extension MIT-SCREEN-SAVER
(II) Initializing extension DOUBLE-BUFFER
(II) Initializing extension RECORD
(II) Initializing extension DPMS
(II) Initializing extension Present
(II) Initializing extension DRI3
(II) Initializing extension X-Resource
(II) Initializing extension XVideo
(II) Initializing extension XVideo-MotionCompensation
(II) Initializing extension GLX
(II) IGLX: Loaded and initialized swrast
(II) GLX: Initialized DRISWRAST GL provider for screen 0
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Unsupported high keycode 372 for name <I372> ignored
> X11 cannot support keycodes above 255.
> This warning only shows for the first high keycode.
Errors from xkbcomp are not fatal to the X server
Connections: accepted: 127.0.0.1::37206
VNCSConnST: closing 127.0.0.1::37206: Clean disconnection
EncodeManager: Framebuffer updates: 0
EncodeManager: Total: 0 rects, 0 pixels
EncodeManager: 0 B (1:-nan ratio)
Connections: closed: 127.0.0.1::37206
ComparingUpdateTracker: 0 pixels in / 0 pixels out
ComparingUpdateTracker: (1:-nan ratio)
tl-xinit: Xserver ready for clients.
--- System information ---
ThinLinc 4.15.0
Linux reaper 6.6.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 20 Nov 2023 23:18:21 +0000 x86_64 GNU/Linux
Arch Linux \r (\l)
--- End system information ---
Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
Fri Nov 24 17:47:53 2023
Connections: accepted: 127.0.0.1::37218
SConnection: Client needs protocol version 3.8
SConnection: Client requests security type VncAuth(2)
VNCSConnST: Replacing existing connection
VNCSConnST: Server default pixel format depth 24 (32bpp) little-endian rgb888
Running /opt/thinlinc/etc/xstartup.d/01-tl-kinit.sh (Obtaining Kerberos ticket)
kinit: Client 'rhuan@ATHENA.MIT.EDU' not found in Kerberos database while getting initial credentials
Running /opt/thinlinc/etc/xstartup.d/02-tl-dbus-launch.sh (Starting session D-Bus server)
Existing session D-Bus server found.
Setting initial D-Bus and systemd environment...
Running /opt/thinlinc/etc/xstartup.d/03-tl-x11-allow-localuser
localuser:rhuan being added to access control list
Running /opt/thinlinc/etc/xstartup.d/11-tl-set-title (Setting client window title)
Running /opt/thinlinc/etc/xstartup.d/12-tl-default-keyboard (Configuring default keyboard layout)
Setting default keyboard layout to "us"
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Unsupported high keycode 372 for name <I372> ignored
> X11 cannot support keycodes above 255.
> This warning only shows for the first high keycode.
Errors from xkbcomp are not fatal to the X server
Running /opt/thinlinc/etc/xstartup.d/15-tl-shadow-notify (Enabling notifications when the session is shadowed)
Running /opt/thinlinc/etc/xstartup.d/20-tl-select-profile.sh (Choosing a profile)
Running /opt/thinlinc/etc/xstartup.d/30-tl-xdg-user-dirs (Translating standard folders)
Running /opt/thinlinc/etc/xstartup.d/40-tl-mount-localdrives (Mounting local drives)
Running /opt/thinlinc/etc/xstartup.d/41-tl-lp-redir-launch (Setting up printer port redirection)
Running /opt/thinlinc/etc/xstartup.d/43-tl-pulseaudio-launch.sh (Starting session PulseAudio server)
W: [pulseaudio] main.c: Couldn't canonicalize binary path, cannot self execute.
Session PulseAudio server started. Redirecting applications...
Running /opt/thinlinc/etc/xstartup.d/50-tl-wait-smartcard (Waiting for smart card connection)
Client has no smartcard capability
Stopping initial window manager...
Done.
Executing profile: gnome
Using XDG session: gnome
Updating D-Bus and systemd environment...
Executing XDG session command: /usr/bin/gnome-session
Profile command exited with exit code 1
Running /opt/thinlinc/etc/xlogout.d/tl-kdestroy.sh
kdestroy: No credentials cache found while destroying cache
Running /opt/thinlinc/etc/xlogout.d/tl-umount-localdrives
tl-xinit: client terminated and returned 0
tl-xinit: Terminating X server...
tl-while-x11: lost Xserver connection, terminating child 51640 ...
X I/O error
tl-while-x11: lost Xserver connection, terminating child 51629 ...
Fri Nov 24 17:48:02 2023
VNCSConnST: closing 127.0.0.1::37218: Server shutdown
EncodeManager: Framebuffer updates: 312
EncodeManager: Tight:
EncodeManager: Solid: 215 rects, 2.34912 Mpixels
EncodeManager: 3.35938 KiB (1:2732.29 ratio)
EncodeManager: Bitmap RLE: 62 rects, 16.574 kpixels
EncodeManager: 1.88672 KiB (1:34.6998 ratio)
EncodeManager: Indexed RLE: 217 rects, 175.408 kpixels
EncodeManager: 27.6758 KiB (1:24.8495 ratio)
EncodeManager: Tight (JPEG):
EncodeManager: Full Colour: 465 rects, 1.67313 Mpixels
EncodeManager: 1.44706 MiB (1:4.41433 ratio)
EncodeManager: Total: 959 rects, 4.21423 Mpixels
EncodeManager: 1.47921 MiB (1:10.8754 ratio)
ComparingUpdateTracker: 8.93731 Mpixels in / 4.00949 Mpixels out
ComparingUpdateTracker: (1:2.22904 ratio)
tl-xinit: Xserver terminated and returned 0
tl-xinit: deleting ../10.1700858786.ended
tl-xinit: Session terminated. Exiting.