xubuntu25.10でZwiftコンテナが動かなくなった件、期待したが26.04でも同様だった。

X11のせいかなと思ってwaylandのgnomeで試したらいけた。しかしX11のサポートをやめたなんて書いていないし、Xのせいというのはないんじゃないかと思い始めた。
もしかしてzwiftのコマンドってシェルスクリプトなのかなと思ってエディタで開いてみたら当たり。該当メッセージのあたりを探ってみた。
################################### ##### Window manager settings ##### # Determine Window Manager # XDG_SESSION_TYPE is either wayland, x11 or tty # - On wayland, it is wayland # - On xorg, it is x11 # - On tty, it is tty # - On tty, manually starting x11 with xstart, it remains tty # So we cannot rely on XDG_SESSION_TYPE to detect the window manager window_manager="" if [[ ${WINE_EXPERIMENTAL_WAYLAND} -eq 1 ]]; then if [[ -n ${WAYLAND_DISPLAY} ]]; then window_manager="Wayland" else msgbox warning "WINE_EXPERIMENTAL_WAYLAND: Window manager is not Wayland, ignoring" fi fi if [[ -z ${window_manager} ]]; then if [[ -n ${WAYLAND_DISPLAY} ]]; then window_manager="XWayland" elif [[ -n ${DISPLAY} ]] && [[ -S /tmp/.X11-unix/X${DISPLAY#*:} ]]; then window_manager="XOrg" else # no window manager, tty? msgbox error "Can't run Zwift without window manager" exit 1 fi fi
$DISPLAYのフォーマットが期待した形ではないようだ。
ホスト、ディスプレイ、スクリーンを指定するために X Window System によって使用されます。形式は ホスト名:ディスプレイ.スクリーン です。
決して特殊事例ではなさそうなんだが。
修正はできるけど、スクリプトファイル自体の更新チェックをやっているのであまりやりたくないところ。スクリプトファイルをコピーしてきて試してみた。
# elif [[ -n ${DISPLAY} ]] && [[ -S /tmp/.X11-unix/X${DISPLAY#*:} ]]; then
elif [[ -n ${DISPLAY} ]] && [[ -S /tmp/.X11-unix/X${DISPLAY:1:1} ]]; then できた。ファンが高速回転しとる。.zwoをシンクロするだけだからかまわんけど。

今後どうするかは引き続き検討。
