Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
今天在linux上安裝oracle的時候,執行runInstaller命令時,系統報錯:
[oracle@linux201 Disk1]$ ./runInstaller
[oracle@linux201 Disk1]$ Initializing Java Virtual Machine from /tmp/OraInstall2008-04-25_04-03-11PM/jre/bin/java. Please wait...
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
at java.awt.Window.
at java.awt.Frame.
at java.awt.Frame.
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:593)
後來執行了一下命令:
xhost +oracle
後,問題就解決了
[@more@]來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/11422417/viewspace-1002974/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Can't connect to X11 window server using '127.0.0.1:0.0'Server127.0.0.1
- Can't connect to X11 window server using DISPLAY variableServer
- java.lang.InternalError: Can't connect to X11 window server using ':0.0' asJavaErrorServer
- Can't connect to X11 window server usingServer
- DELL R900伺服器上基於REDHAT 4.6安裝oracle中碰到的Can't connect to X11 window server using 'localhost:0.0'伺服器RedhatOracleServerlocalhost
- [jenkins]Can’t connect to window server – not enough permissionsJenkinsServer
- Linux下安裝Oracle 錯誤解決 - Error: Can't open display:127.0..0.1:0.0LinuxOracleError
- export DISPLAY=:0.0Export
- 異常:Can't connect to MySQL server (10060)MySqlServer
- MySQL連線提示Can't connect to local MySQL server through socketMySqlServer
- Can't connect to local MySQL server through socket '/tmp/mysql.sock'MySqlServer
- mysql遇到Variable can’t be set to the value of ‘NULL’MySqlNull
- 連線MySQL錯誤:Can't connect to MySQL server (10060)MySqlServer
- MySQL 2003 - Can’t connect to MySQL server on (10060)MySqlServer
- 解決Can 't connect to local MySQL server through socket '/tmp/mysql.sock '(2) "MySqlServer
- mysqldump: Got error: 2002: Can't connect to local MySQL server through.....MySqlGoErrorServer
- 完美解決stack Error: Can‘t find Python executable “python“, you can set the PYTHON env variable.ErrorPython
- 【linux】Can't connect to MySQL server on 'XXX' (13)問題解決方式LinuxMySqlServer
- Linux 5.4 NO VNC extension on display :0.0LinuxVNC
- Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock錯誤MySqlServer
- ERROR 2002 (HY000): Can't connect server socket /tmp/mysql.sockErrorServerMySql
- MySQL 5.5 關閉資料庫報錯"Can't connect to local MySQL server through socket"MySql資料庫Server
- mysql can't connect error about privilege----not root userMySqlError
- MySQL問題記錄--Can't connect to MySQL server on localhost (10061)解決方法MySqlServerlocalhost
- MySQL報錯'ERROR 2002 (HY000): Can't connect to local MySQL server through'MySqlErrorServer
- ERROR 2003 (HY000)Can't connect to MySQL server on '192.168.8.247' (113)ErrorMySqlServer
- ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)ErrorMySqlServerlocalhost
- Can't Connect to MySQL Server on IP Address (10061) 錯誤的解決方案MySqlServer
- ERROR 2002 (HY000): Can't connect server socket /var/run/mysqld/mysqld.sockErrorServerMySql
- Xmanager用法(export DISPLAY=客戶端IP:0.0)Export客戶端
- Error:Can't connect to SOCKS proxy:Connection refused (Connection refused)Error
- Mysql:Variable 'XXXt' can't be set to the value of 'NULL'解決MySqlNull
- 解決問題:Variable 'time_zone' can't be set to the value of 'NULL'Null
- mysql:Variable 'character_set_client' can't be set to the value of 'NULL'解決MySqlclientNull
- Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)解決方法MySqlServer
- Can't use function return value in write context 使用empty遇到報錯FunctionContext
- Variable 'character_set_client' can't be set to the value of Null的解決方法clientNull
- [Err] 1231 - Variable 'sql_mode' can't be set to the value of 'NULLSQLNull