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