*SOLVED* Problem with X11 and VNC [message #5876] |
Mon, 04 September 2006 09:01 ![Go to next message Go to previous message](/theme/ovz3/images/down.png) |
slonghurst
Messages: 40 Registered: September 2006 Location: UK
|
Member |
|
|
Hi Installed opnVZ with one the centos template. But am trying to get Jboss installed and having some issues.
1) when i run Jboss install i get
- Error -
java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(Unknown Source)
at java.awt.Window.<init>(Unknown Source)
at java.awt.Frame.<init>(Unknown Source)
at java.awt.Frame.<init>(Unknown Source)
at javax.swing.JFrame.<init>(Unknown Source)
at com.izforge.izpack.installer.GUIInstaller.loadLangPack(GUIIn staller.java:179)
at com.izforge.izpack.installer.GUIInstaller.<init>(GUIInstaller.java:114)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknow n Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Un known Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.izforge.izpack.installer.Installer.main(Installer.java:5 3)
looking through the site it says something about the $DISPLAY variable but when i echo $DISPLAY i get nothing.
I have amended the sshd_config file to allow x forwarding. I am using scp to connect through on my laptop. I get the same errors when on the host server and use a terminal window to connect to it.
2) when i try and VNC through i get failed to connect, the VNC server is running on my virtual server, but am a bit confused as to why it is not working.
3) is there a way to log into the virtual server with any graphical elements? for instance Gnome or KDE?
Really frustrating so any help would be greatly appreciated.
Thanks
[Updated on: Tue, 05 September 2006 14:06] Report message to a moderator
|
|
|