$ls -ld /usr/bin/Xorg
-rwsrr-xr-x 1 root root 271 Feb 26 03:02 /usr/bin/Xorg
$groups
archuser video storage input audio wheel
$ls -al
-rwxr-xr-x 1 archuser archuser 167 Apr 22 21:58 .xinitrc
$vi /usr/share/xsessions/dwm.desktop
[Desktop Entry]
Name=dwm
Comment=Dynamic Windwos Manager
Exec=startx(xinitrc也是一个结果)
Type=Application
$startx(如果Exec是dwm的话这时候是能登陆的,但是输入法和壁纸都启动不了,startx也会直接拒绝)
/usr/lib/Xorg.wrap: Only console users are allowed to run the X server
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn't get a file descriptor referring to the console.
$vi ~/.xsession-errors
/usr/lib/Xorg.wrap: Only console users are allowed to run the X server
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn't get a file descriptor referring to the console.
我没辙了,跪求大佬指点TAT