Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

DISABLE_SUDO=true breaks ubuntu-kde wayland

未關閉
#445 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
55/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
docker, shell, ubuntu

研究方向

Start by reading /defaults/startwm_wayland.sh, especially the commands around lines 49, 53, and 54 that fail when DISABLE_SUDO=true; then trace how that setting affects startup in the Ubuntu KDE image. Reproduce with the Docker command in the issue and check that KDE Wayland initializes without the permission errors when DISABLE_SUDO=true.

由索引模型根據 Issue 內容生成。

描述

Is there an existing issue for this?
  • I have searched the existing issues
Current Behavior

KDE Wayland does not initialize when DISABLE_SUDO=true is used

Expected Behavior

KDE Wayland should work even with DISABLE_SUDO=true

Steps To Reproduce
  1. Run container
  2. Connect to the exposed port, you will see that connection is successful but the Plasma interface does not show
Environment
- OS: Ubuntu 24.04
- How docker service was installed: Installed following the instructions at the official Docker website
CPU architecture

x86-64

Docker creation
docker run --rm -it --shm-size=1gb -p 3001:3001 -e DISABLE_SUDO=true linuxserver/webtop:ubuntu-kde-version-010e48ad bash
Container logs
INFO:printing:Print queue Selkies listening on /config/.XDG/selkies-cups/cups.sock, spooling to /config/.local/state/selkies/print
[svc-de] /config/.XDG/wayland-1 found launching de
Applying KWin clipboard rule...
/defaults/startwm_wayland.sh: line 49: /usr/bin/sudo: Permission denied
/defaults/startwm_wayland.sh: line 53: /usr/bin/sudo: Permission denied
/defaults/startwm_wayland.sh: line 54: /usr/bin/sudo: Permission denied
kbuildsycoca6 running...
INFO:ws:Client ('127.0.0.1', 50264) connected (legacy, role controller, slot None).
主要語言
Shell
星號
4.4k
分支
380
PR 合併指標
30 天內沒有已合併 PR

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

相似的 Issue

更多 Shell/Bash Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。