linuxdeepin / developer-center

Deepin developer center, provide developer wiki and community forum.
452 stars 73 forks source link

【deepin 25】【一般】【正常】【集成测试】【treeland】6.6.36内核下,添加集成后进入treeland模式后,终端reboot需要sudo权限 #10540

Open vivianxf opened 2 months ago

vivianxf commented 2 months ago

SUMMARY | 问题概要

关联集成:https://github.com/linuxdeepin/developer-center/issues/10003

SOFTWARE/OS VERSIONS | 软件/系统版本信息

https://cdimage.uniontech.com/daily-iso/image-beige/release/amd64/deepin-desktop-community-23-amd64.iso
内核:6.6.36

PRE-REQUIREMENT | 预置条件

X11 切换 Treeland 步骤: sudo apt install ddm treeland sudo systemctl disable lightdm sudo systemctl enable ddm sudo reboot 使用测试demo,需要安装 sudo apt install treeland-examples 若测试机器为N卡,需设置变量强制使用软光标: 编辑文件 /etc/environment,添加:WLR_NO_HARDWARE_CURSORS=1 然后重启

STEPS TO REPRODUCE | 复现步骤

1.进入系统后,打开ctrl+alt+t 2.输入reboot,尝试重启系统

OBSERVED RESULT | 观察到的结果

1.6.6.36内核下,添加集成后进入treeland模式后,终端reboot需要sudo权限

EXPECTED RESULT | 期望的结果

1.reboot不需要sudo权限

ADDITIONAL INFORMATION | 额外补充

No response

babyfengfjx commented 2 months ago

@Groveer 这个帮忙确认一下,貌似有多用户同时登陆的是会需要root吧?