BUDGIE DE - Connection lasts less than 10 seconds

Hi,

Someone has success with BUDGIE DE ?

I have Ubuntu Budgie 24.04 and try connect with ThinLinc.

Installed server, running ok.

Created profile budgie calling budgie-desktop XDG.

When connect, auto disconnect with “Connection lasts less than 10 seconds”…

My xinit.log:

xauth: file /var/opt/thinlinc/sessions/bruno/10/Xauthority does not exist
tl-xinit: Waiting for Xserver to accept connections…

Xvnc ThinLinc release 4.17.0 build 3647 - built Jul 2 2024 13:23:03
Copyright (C) 1999-2024 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

Tue Sep 3 08:13:51 2024
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 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::34856
VNCSConnST: closing 127.0.0.1::34856: Clean disconnection
EncodeManager: Framebuffer updates: 0
EncodeManager: Total: 0 rects, 0 pixels
EncodeManager: 0 B (1:-nan ratio)
Connections: closed: 127.0.0.1::34856
ComparingUpdateTracker: 0 pixels in / 0 pixels out
ComparingUpdateTracker: (1:-nan ratio)
Connections: accepted: 127.0.0.1::34864
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
VNCSConnST: Client pixel format depth 24 (32bpp) little-endian bgr888
tl-xinit: Xserver ready for clients.
— System information —
ThinLinc 4.17.0
Linux bruno-VirtualBox 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 24.04.1 LTS \n \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”
Running /opt/thinlinc/etc/xstartup.d/01-tl-kinit.sh (Obtaining Kerberos ticket)
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:bruno being added to access control list
Running /opt/thinlinc/etc/xstartup.d/11-tl-set-title (Setting client window title)
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen
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 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: budgie
Using XDG session: budgie-desktop
Updating D-Bus and systemd environment…
Executing XDG session command: /usr/bin/budgie-desktop
Profile command exited with exit code 0
Running /opt/thinlinc/etc/xlogout.d/tl-kdestroy.sh
Running /opt/thinlinc/etc/xlogout.d/tl-umount-localdrives
tl-xinit: client terminated and returned 0
tl-xinit: Terminating X server…
X I/O error
tl-while-x11: lost Xserver connection, terminating child 5355 …
tl-while-x11: lost Xserver connection, terminating child 5365 …

Tue Sep 3 08:13:58 2024
VNCSConnST: closing 127.0.0.1::34864: Server shutdown
EncodeManager: Framebuffer updates: 143
EncodeManager: Tight:
EncodeManager: Solid: 143 rects, 7.11693 Mpixels
EncodeManager: 2.23438 KiB (1:12442.9 ratio)
EncodeManager: Bitmap RLE: 54 rects, 15.862 kpixels
EncodeManager: 1.63867 KiB (1:38.1979 ratio)
EncodeManager: Indexed RLE: 90 rects, 64.021 kpixels
EncodeManager: 15.2275 KiB (1:16.4923 ratio)
EncodeManager: Tight (JPEG):
EncodeManager: Full Colour: 265 rects, 1.06705 Mpixels
EncodeManager: 790.314 KiB (1:5.27801 ratio)
EncodeManager: Total: 552 rects, 8.26386 Mpixels
EncodeManager: 809.415 KiB (1:39.8895 ratio)
ComparingUpdateTracker: 4.51072 Mpixels in / 4.39053 Mpixels out
ComparingUpdateTracker: (1:1.02738 ratio)
tl-xinit: Xserver terminated and returned 0
tl-xinit: deleting …/10.1725361947.ended
tl-xinit: Session terminated. Exiting.

Solved this with upgrade of Mesa (https://itsfoss.com/install-mesa-ubuntu)

But, problem remains…

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: budgie
Using XDG session: budgie-desktop
Updating D-Bus and systemd environment…
Executing XDG session command: /usr/bin/budgie-desktop
Profile command exited with exit code 0
Running /opt/thinlinc/etc/xlogout.d/tl-kdestroy.sh
Running /opt/thinlinc/etc/xlogout.d/tl-umount-localdrives
tl-xinit: client terminated and returned 0
tl-xinit: Terminating X server…
X I/O error
tl-while-x11: lost Xserver connection, terminating child 3385 …
tl-while-x11: lost Xserver connection, terminating child 3396 …

do you get any more clues by tailing the systemd journal while trying to establish the session?

See this on syslog:

2024-09-03T14:06:53.463468-03:00 bruno-VirtualBox systemd[1]: Started session-5.scope - Session 5 of User bruno.
2024-09-03T14:06:53.607327-03:00 bruno-VirtualBox systemd[1]: Started session-6.scope - Session 6 of User bruno.
2024-09-03T14:06:53.922554-03:00 bruno-VirtualBox systemd[1]: session-5.scope: Deactivated successfully.
2024-09-03T14:06:54.295345-03:00 bruno-VirtualBox systemd[1]: Started session-7.scope - Session 7 of User bruno.
2024-09-03T14:06:59.117608-03:00 bruno-VirtualBox budgie-session[3510]: budgie-session-check-accelerated: GL Helper exited with code 512
2024-09-03T14:06:59.161237-03:00 bruno-VirtualBox budgie-session[3530]: libEGL warning: DRI3: Screen seems not DRI3 capable
2024-09-03T14:06:59.161309-03:00 bruno-VirtualBox budgie-session[3530]: libEGL warning: DRI3: Screen seems not DRI3 capable
2024-09-03T14:06:59.172555-03:00 bruno-VirtualBox budgie-session[3530]: MESA: error: ZINK: failed to choose pdev
2024-09-03T14:06:59.173165-03:00 bruno-VirtualBox budgie-session[3530]: libEGL warning: egl: failed to create dri2 screen
2024-09-03T14:06:59.214372-03:00 bruno-VirtualBox budgie-session[3510]: budgie-session-check-accelerated: GLES Helper exited with code 512
2024-09-03T14:06:59.386820-03:00 bruno-VirtualBox systemd[1]: session-6.scope: Deactivated successfully.
2024-09-03T14:06:59.386901-03:00 bruno-VirtualBox systemd[1]: session-6.scope: Consumed 1.871s CPU time.
2024-09-03T14:07:01.047736-03:00 bruno-VirtualBox org.buddiesofbudgie.BudgiePanel.desktop[2689]: sys:1: Warning: instance with invalid (NULL) class pointer
2024-09-03T14:07:01.047821-03:00 bruno-VirtualBox org.buddiesofbudgie.BudgiePanel.desktop[2689]: sys:1: Warning: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
2024-09-03T14:07:01.057509-03:00 bruno-VirtualBox systemd[1]: session-7.scope: Deactivated successfully.

Maybe, something with Budgie session. Opened issue on Budgie forum, but…

Hi @brunok, welcome to the forum.

I’ve never tried Budgie myself, but does it help if you call budgie-session from the ThinLinc profile, rather than budgie-desktop?

Tried with budgie-session, but receive profile not found.

See that tlwebadm service is not running…

tlwebadm.service: Can’t open PID file /run/tlwebadm.pid (yet?) after start: No such file or directory
tlwebadm.service: Failed with result ‘protocol’.

Create pid file can’t solve, but, i use gui client and not web.

Could you post your Budgie profile stanza from /opt/thinlinc/etc/conf.d/profiles.hconf please?

Copy from “terminal profile”…

[/profiles]

The default profile. Must be present in the “order” parameter.
default=budgie

The order the profiles will be presented in. Only profiles that exist in
this parameter will be presented as alternatives. This is a space-separated
list.
order=budgie unity ubuntu gnome gnome-classic kde xfce cinnamon mate lxde

[/profiles/budgie]
xdg_session=budgie-desktop
name=Budgie
name[de]=Terminal
name[es]=Terminal
name[it]=Terminale
name[fr]=Terminal
name[nl]=Terminal
name[pt_BR]=Budgie
name[ru]=Terminal
name[sv]=Terminal
name[tr]=Terminal
description=A bare bone environment with just a single graphical terminal started. Only meant to be used for debugging and testing.
description[de]=Eine Minimalumgebung mit lediglich einem graphischen Terminal. Nur für Test- und Debugzwecke gedacht.
description[es]=Un sistema mínimo con sólo un terminal gráfico arrancado. Diseñado para ser utilizado únicamente para tracear y probar.
description[it]=È stato avviato un ambiente bare bone con un solo terminale grafico. L’utilizzo è previsto solo per debugging e test.
description[fr]=Un environnement standard avec simplement un terminal graphique lancé. Destiné uniquement au débogage et aux tests.
description[nl]=Een uitgeklede omgeving waarbij maar één grafische terminal is gestart. Alleen bedoeld voor fouten opsporen en testen.
description[pt_BR]=Um ambiente básico, contendo apenas um terminal gráfico simples de linha de comandos. Deve ser utilizado apenas para depuração e testes.
description[ru]=Базовая рабочая среда с одним графическим терминалом. Предназначена для отладки и тестирования.
description[sv]=En minimal miljö med enbart en enda grafisk terminal. Endast tänkt för felsökning och testning.
description[tr]=Yalnızca tek grafiksel terminalin başlatıldığı yalın bir sistemdir. Yalnızca hata ayıklama ve test için kullanılmak amaçlı sağlanmaktadır.
icon=
screenshot=
cmdline=
testcmd=
description_from_testcmd=false

Okay. So what happens if you get rid of the xdg_session line, and set the cmdline parameter to budgie-session instead?

This method found profile, but hangs without show screen… “less than 10 seconds” again…

I think this is some issues with virtualbox. But i want try first, before apply in my workstation.

Log:

xinit.log

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"
Running /opt/thinlinc/etc/xstartup.d/01-tl-kinit.sh (Obtaining Kerberos ticket)
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:bruno 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: budgie
Updating D-Bus and systemd environment...
Executing profile command: budgie-session
Profile command exited with exit code 0
Running /opt/thinlinc/etc/xlogout.d/tl-kdestroy.sh
Running /opt/thinlinc/etc/xlogout.d/tl-umount-localdrives
tl-xinit: client terminated and returned 0
tl-xinit: Terminating X server...
X I/O error
tl-while-x11: lost Xserver connection, terminating child 3568 ...
tl-while-x11: lost Xserver connection, terminating child 3578 ...

syslog

2024-09-04T22:14:05.329705-03:00 bruno-VirtualBox systemd[1]: Started session-3.scope - Session 3 of User bruno.
2024-09-04T22:14:07.824591-03:00 bruno-VirtualBox systemd[1]: session-3.scope: Deactivated successfully.
2024-09-04T22:14:16.313130-03:00 bruno-VirtualBox systemd[1]: Started session-4.scope - Session 4 of User bruno.
2024-09-04T22:14:16.421000-03:00 bruno-VirtualBox systemd[1]: Started session-5.scope - Session 5 of User bruno.
2024-09-04T22:14:16.825909-03:00 bruno-VirtualBox systemd[1]: session-4.scope: Deactivated successfully.
2024-09-04T22:14:17.197030-03:00 bruno-VirtualBox systemd[1]: Started session-6.scope - Session 6 of User bruno.
2024-09-04T22:14:21.734115-03:00 bruno-VirtualBox budgie-session[3606]: budgie-session-check-accelerated: GL Helper exited with code 512
2024-09-04T22:14:21.777094-03:00 bruno-VirtualBox budgie-session[3626]: libEGL warning: DRI3: Screen seems not DRI3 capable
2024-09-04T22:14:21.777176-03:00 bruno-VirtualBox budgie-session[3626]: libEGL warning: DRI3: Screen seems not DRI3 capable
2024-09-04T22:14:21.787991-03:00 bruno-VirtualBox budgie-session[3626]: MESA: error: ZINK: failed to choose pdev
2024-09-04T22:14:21.788524-03:00 bruno-VirtualBox budgie-session[3626]: libEGL warning: egl: failed to create dri2 screen
2024-09-04T22:14:21.848603-03:00 bruno-VirtualBox budgie-session[3606]: budgie-session-check-accelerated: GLES Helper exited with code 512
2024-09-04T22:14:22.014679-03:00 bruno-VirtualBox systemd[1]: session-5.scope: Deactivated successfully.
2024-09-04T22:14:22.014782-03:00 bruno-VirtualBox systemd[1]: session-5.scope: Consumed 1.921s CPU time.
2024-09-04T22:14:23.113845-03:00 bruno-VirtualBox org.buddiesofbudgie.BudgiePanel.desktop[2692]: sys:1: Warning: instance with invalid (NULL) class pointer
2024-09-04T22:14:23.113924-03:00 bruno-VirtualBox org.buddiesofbudgie.BudgiePanel.desktop[2692]: sys:1: Warning: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
2024-09-04T22:14:23.997588-03:00 bruno-VirtualBox systemd[1]: session-6.scope: Deactivated successfully.

It looks like Budgie is trying to figure out if your remote session should be accelerated or not (it shouldn’t).

Are you logged in anywhere else on this machine as the bruno user? If so, try logging out before connecting with ThinLinc (or even better, create a new user which will only be used via ThinLinc).

Its work if my user does not make login.
Work with another user too.

Profile that WORK:

[/profiles]

The default profile. Must be present in the “order” parameter.
default=budgie

The order the profiles will be presented in. Only profiles that exist in
this parameter will be presented as alternatives. This is a space-separated
list.
order=budgie unity ubuntu gnome gnome-classic kde xfce cinnamon mate lxde

[/profiles/budgie]
xdg_session=budgie-desktop
name=Budgie

1 Like