error:X11 initialization failed解决办法

简介:
tatus 1:Autolaunch error:X11 initialization failed .\n (如sudo gedit ..) 解决办法:

# vi /etc/sudoers

按a进入编辑模式

Defaults env_keep="DISPLAY XAUTHORITY"

按ESC键退出编辑模式

:wq (保存并退出)

本文转自linux博客51CTO博客,原文链接http://blog.51cto.com/yangzhiming/1396721如需转载请自行联系原作者


yangzhimingg

目录
打赏
0
0
0
0
89
分享
相关文章
|
9月前
|
【ERROR】Error: transaction invalidated with status (ENDORSEMENT_POLICY_FAILURE)
【ERROR】Error: transaction invalidated with status (ENDORSEMENT_POLICY_FAILURE)
70 0
记录一个Flutter运行的异常FAILURE: Build failed with an exception. What went wrong: A problem occurred config
记录一个Flutter运行的异常FAILURE: Build failed with an exception. What went wrong: A problem occurred config
302 0
Error: A JNI error has occurred, please check your installation and try again
Error: A JNI error has occurred, please check your installation and try again
248 0
SignTool Error: An error occurred while attempting/Error information: “SignerTimeStamp() failed.“
SignTool Error: An error occurred while attempting/Error information: “SignerTimeStamp() failed.“
169 0
abort: error: Temporary failure in name resolution
abort: error: Temporary failure in name resolution
214 0
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
165 0
Gradle sync failed: Unsupported method: NativeArtifact.getSourceFolders().
Gradle sync failed: Unsupported method: NativeArtifact.getSourceFolders().
119 0
VS错误的解决解决:LINK fatal error LNK1000: Internal error during IncrBuildImage
VS错误的解决解决:LINK fatal error LNK1000: Internal error during IncrBuildImage
276 0