tmoe
tmoe copied to clipboard
chroot容器使用kali和debian安装xfce桌面都只有一个终端,背景全黑无法点击
Are you rooted?
Yes
Desktop environment
🐭 xfce
Container type
chroot
Configuration
container | value |
---|---|
os | kali dev |
arch | arm64 |
host | value |
---|---|
os | android 13 |
arch | arm64 |
terminal | termux |
tmoe | latest |
Describe the bug
无
Screenshots
How to reproduce
1.安装debian的chroot容器 2.安装xfce桌面 3.使用vnc viewer打开
Expected behavior
无
Error Logs
无
Additional context
无
执行startxfce4会报这个错误
/usr/bin/startxfce4: X server already running on display :2
xrdb: Connection refused
xrdb: Can't open display ':2'
dbus-update-activation-environment: error: unable to connect to D-Bus: /usr/bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
xfce4-session: Cannot open display: .
Type 'xfce4-session --help' for usage.
不知道有没有影响
在那个终端里执行xfce4-session是什么结果
在那个终端里执行xfce4-session是什么结果
xfce4-session: Cannot open display: . Type 'xfce4-session --help' for usage.
我试了lxde和xfce都不行,lxqt就正常显示
选择 Weekly builds --> xfce --> kali --> 节点: azure
然后下载 kali-xfce_arm64_2023-02-23_13-27-rootfs.tar.zst
我这边没问题。不管是 root 用户还是普通用户都能显示出画面。
你之前是不是用过xrdb,我没怎么试过。是不是那时的设置没关(你的DISPLAY变量设置的有问题。试着在vnc里面的终端运行export DISPLAY=:0
再执行startxfce4
或xfce4-session
试试:-)
你之前是不是用过xrdb,我没怎么试过。是不是那时的设置没关(你的DISPLAY变量设置的有问题。试着在vnc里面的终端运行
export DISPLAY=:0
再执行startxfce4
或xfce4-session
试试:-)
不清楚,容器都是新的,设置DISPLAY变量startxfce4也不行
这里感觉是你的x配置有问题。很明显,现在你的x实现为xrdb,而非xvnc,所以我怀疑是不是你用过rdb。如果不是的话,或许可以看一下/bin
下是否有xvnc
文件,如果存在,可以临时执行sudo cp /bin/xrdb /bin/xrdb.orig
sudo cp /bin/xvnc /bin/xrdb
(标准错误操作.jpg)试下,也许可以运行。。。不过我建议试试重新安装和配置vnc和xfce
这里感觉是你的x配置有问题。很明显,现在你的x实现为xrdb,而非xvnc,所以我怀疑是不是你用过rdb。如果不是的话,或许可以看一下
/bin
下是否有xvnc
文件,如果存在,可以临时执行sudo cp /bin/xrdb /bin/xrdb.orig
sudo cp /bin/xvnc /bin/xrdb
(标准错误操作.jpg)试下,也许可以运行。。。不过我建议试试重新安装和配置vnc和xfce
bin下没有xvnc,有xrdb,但是我现在换了lxde桌面可以用vnc正常连接,xfce还是不行
这里感觉是你的x配置有问题。很明显,现在你的x实现为xrdb,而非xvnc,所以我怀疑是不是你用过rdb。如果不是的话,或许可以看一下
/bin
下是否有xvnc
文件,如果存在,可以临时执行sudo cp /bin/xrdb /bin/xrdb.orig
sudo cp /bin/xvnc /bin/xrdb
(标准错误操作.jpg)试下,也许可以运行。。。不过我建议试试重新安装和配置vnc和xfcebin下没有xvnc,有xrdb,但是我现在换了lxde桌面可以用vnc正常连接,xfce还是不行
没有xvnc感觉可能是那个问题。lxde后装的,估计已经使用vnc了。顺带一提,xvnc没有的感觉是因为没有tigervnc。在我这边执行Xvnc -version
结果如下:
/home/fish4terrisa〉Xvnc -version 03/13/2023 11:59:44 上午
Xvnc TigerVNC 1.13.0 - built Feb 4 2023 22:12:23
Copyright (C) 1999-2022 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12101006
所以xvnc
应该是tigervnc的binary。所以,没有xvnc应该是没有配置好tigervnc。至于为什么你lxde能用。。。。。。我不能理解欸。。。:)
这里感觉是你的x配置有问题。很明显,现在你的x实现为xrdb,而非xvnc,所以我怀疑是不是你用过rdb。如果不是的话,或许可以看一下
/bin
下是否有xvnc
文件,如果存在,可以临时执行sudo cp /bin/xrdb /bin/xrdb.orig
sudo cp /bin/xvnc /bin/xrdb
(标准错误操作.jpg)试下,也许可以运行。。。不过我建议试试重新安装和配置vnc和xfcebin下没有xvnc,有xrdb,但是我现在换了lxde桌面可以用vnc正常连接,xfce还是不行
没有xvnc感觉可能是那个问题。lxde后装的,估计已经使用vnc了。顺带一提,xvnc没有的感觉是因为没有tigervnc。在我这边执行
Xvnc -version
结果如下:/home/fish4terrisa〉Xvnc -version 03/13/2023 11:59:44 上午 Xvnc TigerVNC 1.13.0 - built Feb 4 2023 22:12:23 Copyright (C) 1999-2022 TigerVNC Team and many others (see README.rst) See https://www.tigervnc.org for information on TigerVNC. Underlying X server release 12101006
所以
xvnc
应该是tigervnc的binary。所以,没有xvnc应该是没有配置好tigervnc。至于为什么你lxde能用。。。。。。我不能理解欸。。。:)
的确是tigervnc包里的。
/home/fish4terrisa〉sudo pacman -F Xvnc 03/13/2023 12:05:07 下午
community/tigervnc 1.12.0-3 [已安装: 1.13.0-1]
usr/bin/Xvnc
所以看下你tigervnc是不是安装好了吧。。。
这里感觉是你的x配置有问题。很明显,现在你的x实现为xrdb,而非xvnc,所以我怀疑是不是你用过rdb。如果不是的话,或许可以看一下
/bin
下是否有xvnc
文件,如果存在,可以临时执行sudo cp /bin/xrdb /bin/xrdb.orig
sudo cp /bin/xvnc /bin/xrdb
(标准错误操作.jpg)试下,也许可以运行。。。不过我建议试试重新安装和配置vnc和xfcebin下没有xvnc,有xrdb,但是我现在换了lxde桌面可以用vnc正常连接,xfce还是不行
没有xvnc感觉可能是那个问题。lxde后装的,估计已经使用vnc了。顺带一提,xvnc没有的感觉是因为没有tigervnc。在我这边执行
Xvnc -version
结果如下:/home/fish4terrisa〉Xvnc -version 03/13/2023 11:59:44 上午 Xvnc TigerVNC 1.13.0 - built Feb 4 2023 22:12:23 Copyright (C) 1999-2022 TigerVNC Team and many others (see README.rst) See https://www.tigervnc.org for information on TigerVNC. Underlying X server release 12101006
所以
xvnc
应该是tigervnc的binary。所以,没有xvnc应该是没有配置好tigervnc。至于为什么你lxde能用。。。。。。我不能理解欸。。。:)的确是tigervnc包里的。
/home/fish4terrisa〉sudo pacman -F Xvnc 03/13/2023 12:05:07 下午 community/tigervnc 1.12.0-3 [已安装: 1.13.0-1] usr/bin/Xvnc
所以看下你tigervnc是不是安装好了吧。。。
好的好的,非常感谢