我最近尝试通过 VGA 电缆将我的 Ubuntu 机器插入电视。我只是将其插入并重新启动,以查看 Xwindows 是否可以在不进行任何调整的情况下处理它(它不能)。这不是什么大问题,但它似乎搞砸了一些东西。我拔下电视插头,重新插入显示器并重新启动,但现在我根本无法使用全屏 Flash。如果我打开(例如)Youtube 视频并单击全屏按钮,屏幕会闪烁,然后返回到 Firefox,嵌入的视频会消失并被一个棕褐色的框替换。我在下面列出了从终端运行 Firefox 时遇到的错误。
*** NSPlugin Viewer *** WARNING: unhandled variable 18 (<unknown variable>) in NPN_GetValue()
*** NSPlugin Viewer *** WARNING: unhandled variable 18 (<unknown variable>) in NPN_GetValue()
*** NSPlugin Viewer *** WARNING: unhandled variable 18 (<unknown variable>) in NPN_GetValue()
*** NSPlugin Wrapper *** ERROR: NPP_Write() wait for reply: Connection reset by peer
*** NSPlugin Wrapper *** WARNING:(/build/buildd/nspluginwrapper-1.2.2/src/npw-wrapper.c:2235):invoke_NPP_DestroyStream: assertion failed: (rpc_method_invoke_possible(plugin->connection))
*** NSPlugin Wrapper *** WARNING:(/build/buildd/nspluginwrapper-1.2.2/src/npw-wrapper.c:2119):invoke_NPP_URLNotify: assertion failed: (rpc_method_invoke_possible(plugin->connection))
*** NSPlugin Wrapper *** WARNING:(/build/buildd/nspluginwrapper-1.2.2/src/npw-wrapper.c:1923):invoke_NPP_SetWindow: assertion failed: (rpc_method_invoke_possible(plugin->connection))
*** NSPlugin Wrapper *** WARNING:(/build/buildd/nspluginwrapper-1.2.2/src/npw-wrapper.c:2533):invoke_NPP_HandleEvent: assertion failed: (rpc_method_invoke_possible(plugin->connection))
*** NSPlugin Wrapper *** ERROR: NPObject 0x7f61348a9890 is no longer valid!
*** NSPlugin Wrapper *** ERROR: NPObject 0x7f61348a9890 is no longer valid!
*** NSPlugin Wrapper *** ERROR: NPObject 0x7f61348a9890 is no longer valid!
*** NSPlugin Wrapper *** ERROR: NPObject 0x7f61348a9890 is no longer valid!
*** NSPlugin Wrapper *** ERROR: NPObject 0x7f61348a9890 is no longer valid!
*** NSPlugin Wrapper *** ERROR: NPObject 0x7f61348a9890 is no longer valid!
*** NSPlugin Wrapper *** ERROR: NPObject 0x7f61348a9890 is no longer valid!
*** NSPlugin Wrapper *** ERROR: NPObject 0x7f61348a9890 is no longer valid!
*** NSPlugin Wrapper *** ERROR: NPObject 0x7f61348a9890 is no longer valid!
*** NSPlugin Wrapper *** ERROR: NPObject 0x7f61348a9890 is no longer valid!
*** NSPlugin Wrapper *** WARNING:(/build/buildd/nspluginwrapper-1.2.2/src/npw-wrapper.c:2533):invoke_NPP_HandleEvent: assertion failed: (rpc_method_invoke_possible(plugin->connection))
*** NSPlugin Wrapper *** WARNING:(/build/buildd/nspluginwrapper-1.2.2/src/npw-wrapper.c:1854):invoke_NPP_Destroy: assertion failed: (rpc_method_invoke_possible(plugin->connection))
*** NSPlugin Wrapper *** ERROR: NPObject 0x7f6136861b60 is no longer valid!
*** NSPlugin Wrapper *** WARNING:(/build/buildd/nspluginwrapper-1.2.2/src/npw-wrapper.c:1854):invoke_NPP_Destroy: assertion failed: (rpc_method_invoke_possible(plugin->connection))
*** NSPlugin Wrapper *** ERROR: NPObject 0x7f61348a9890 is no longer valid!
有什么办法可以让我重新运行 Ubuntu 安装的 X 设置位来恢复我的原始设置吗?
答案1
sudo apt-get purge xorg && sudo apt-get install xorg
应该删除 xorg 及其所有配置文件并重新安装它。