4
我正在嘗試在我的新Amazon EC2 Linux實例上安裝Glassfish。如何在我的Macbook上將Amazon EC2 Linux DISPLAY指向X11?
安裝告訴我設置DISPLAY
變量。
我確定我的IP使用http://www.whatismyip.com(例如123.45.67.89)
我打開X11在我的Mac和我在Linux中設置的IP地址(例如出口DISPLAY = 123.45.67.89)
但Glassfish安裝拋出異常
java.lang.InternalError: Can't connect to X11 window server using '123.45.67.89' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
...
任何想法?
我從我的MacBook嘗試了SSH命令,但我得到的消息 - 「權限被拒絕(公鑰) 「。有什麼建議? – 2012-07-10 00:32:29
它是否交互式地詢問您的密碼?你有在服務器上沒有配置的客戶端密鑰嗎?另請參閱:http://serverfault.com/questions/39733/why-do-i-get-permission-denied-publickey-when-trying-to-ssh-from-local-ubunt – 2012-07-10 01:38:11