我已经在我的无头的ubuntu (18.04LTS)盒上运行了一段时间(超过6个月),没有问题。我必须设置一个xorg.conf,以允许任何桌面或teamviewer上的东西都可以无头运行。上周,我遇到了一个问题,任何一个桌面都会显示错误的remote server display not supported
并拒绝连接。如果我把盒子插到屏幕上,它就会让它连接起来。我看到其他人也有同样的问题被归因于wayland,但是在检查我的桌面会话时,我的桌面会话运行在X11中,所以它不是wayland。
知道我该从哪里开始吗?
发布于 2022-07-26 05:04:48
1-安装lightdm
显示管理器:
sudo apt -y install lightdm
或
sudo dnf install lightdm lightdm-gtk
2-启用lightdm
和禁用gdm
sudo systemctl enable lightdm.service && sudo systemctl disable gdm.service
3-重启。
完成之后,您可以通过以下方式再次切换到gdm:
sudo systemctl disable lightdm.service && sudo systemctl enable gdm.service
https://askubuntu.com/questions/1165303
复制