我试图从远程终端调用 VNC,无论我提交什么命令行,我都会得到:
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 73 (X_GetImage)
Serial number of failed request: 40
Current serial number in output stream: 40
Run Code Online (Sandbox Code Playgroud)
会议如常开始......
owen@Thor:~$ x11vnc -storpasswd
05/11/2017 12:01:57 passing arg to libvncserver: -storpasswd
05/11/2017 12:01:57 x11vnc version: 0.9.13 lastmod: 2011-08-10 pid: 13865
05/11/2017 12:01:57 XOpenDisplay("") failed.
05/11/2017 12:01:57 Trying again with XAUTHLOCALHOSTNAME=localhost ...
05/11/2017 12:01:57
05/11/2017 12:01:57 *** XOpenDisplay failed. No -display or DISPLAY.
05/11/2017 12:01:57 *** Trying ":0" in 4 seconds. Press Ctrl-C to abort.
05/11/2017 12:01:57 *** 1 2 3 4
05/11/2017 12:02:01 *** XOpenDisplay of ":0" successful.
05/11/2017 12:02:01
05/11/2017 12:02:01 Using X display :0
05/11/2017 12:02:01 rootwin: 0x270 reswin: 0x2a00001 dpy: 0xf3ac80f0
05/11/2017 12:02:01
05/11/2017 12:02:01 ------------------ USEFUL INFORMATION ------------------
--snip--
05/11/2017 12:02:01 X FBPM extension not supported.
05/11/2017 12:02:01 X display is not capable of DPMS.
05/11/2017 12:02:01 --------------------------------------------------------
05/11/2017 12:02:01
05/11/2017 12:02:01 Default visual ID: 0x24
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 73 (X_GetImage)
Serial number of failed request: 40
Current serial number in output stream: 40
Run Code Online (Sandbox Code Playgroud)
看来您的一台机器正在 Wayland 上作为显示管理器运行,并且包括 x11vnc 在内的许多应用程序严重依赖于 Xorg/Xserver 并且无法在 Wayland 上工作。
因此,切换到 Xorg 广告显示管理器应该可以解决您的问题。您可以通过注销并通过单击登录按钮旁边的小齿轮来更改显示管理器来完成此操作。(参见屏幕截图)
归档时间: |
|
查看次数: |
13711 次 |
最近记录: |