Error: Can\\\'t open display

当你运行xterm出现错误如下:

xterm Xt error: Can‘t open display:
xterm: DISPLAY is not set

我的系统centos6.2

解决办法:

1、首先确定你安装了x11:yum -y install xorg-x11-xauth

2、其次修改配置文件:/etc/ssh/sshd_config,

AllowTcpForwarding yes

X11Forwarding yes

ForwardX11 yes 或者(ForwardX11Trusted )

3、重启

Error: Can\\\'t open display

时间: 2024-10-11 21:40:38

Error: Can\\\'t open display的相关文章

Error: Can't open display

当你运行xterm出现错误如下: xterm Xt error: Can't open display:xterm: DISPLAY is not set 我的系统centos6.2 解决办法: 1.首先确定你安装了x11:yum -y install xorg-x11-xauth 2.其次修改配置文件:/etc/ssh/sshd_config, AllowTcpForwarding yes X11Forwarding yes ForwardX11 yes 或者(ForwardX11Truste

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.2018-11-02 17:15:00.028 ERROR 21400 --- [ main] o.s.boot.SpringApplication : Application run failed org.springframework.context.Applicati

springboot启动报错:"Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled."

报错内容 java.lang.Object.wait(Native Method)java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:41)2019-02-14 14:58:00.326 INFO 17688 --- [ main] Condition

Debug - SpringBoot - Error starting ApplicationContext. To display the auto-configuration report re-runyour application

Error log 2019-12-07 22:33:03.959 ERROR 3760 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: Failed to configure a DataSource: 'url' attribute is no

xshell virt-manager "RuntimeError: could not open display"

使用xshell连接到linux主机,使用virt-manager命令调用kvm的管理界面,结果 [[email protected] ~]# virt-manager  Traceback (most recent call last):   File "/usr/share/virt-manager/virt-manager.py", line 383, in <module>     main()   File "/usr/share/virt-manage

HP StorageWorks MSL2024 Tape Libraries - Tape library Error Codes

Main error codes Error Code Description Details and Solution 80 Can not initialize bar code reader Power-cycle the unit and retry the operation 81 No response from bar code reader 82 No response from EEPROM on robotic controller 83 Robotic controller

xterm: DISPLAY is not set的异常处理

当你运行xterm出现错误如下:    xterm Xt error: Can't open display:    xterm: DISPLAY is not set 解决办法:    yum -y install xorg-x11-xauth    重新开一个新窗口即可!

Oracle Alert - APP-ALR-04108: SQL error ORA-01455

SELECT OD.ORGANIZATION_CODE, TO_CHAR(H.ORDER_NUMBER), --ORACLE ALERT 自动转数字类型最长11位,转字符处理解决APP-ALR-04108 (L.LINE_NUMBER || '.' || L.SHIPMENT_NUMBER), MSI.SEGMENT1 , L.CANCELLED_QUANTITY, TO_CHAR(L.CREATION_DATE, 'YYYY-MM-DD'), TO_CHAR(L.LAST_UPDATE_DAT

ssh -X前设置DISPLAY=localhost:0

如果是在windows上用XMing做XServer,前面的localhost不能省,否则会被当作一个unix domain socket,而XMing没有实现这个功能,所以会出错 connect /tmp/.X11-unix/X0: No such file or directory Error: Can't open display: localhost:10.0 而指定localhost:0就会明确使用tcp socket了.