warning (.:10947): Gtk-WARNING **: cannot open display - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html) +--- Forum: Xorg Problems (https://www.linux-noob.com/forums/forum-56.html) +---- Forum: Gnome (https://www.linux-noob.com/forums/forum-17.html) +---- Thread: warning (.:10947): Gtk-WARNING **: cannot open display (/thread-798.html) |
warning (.:10947): Gtk-WARNING **: cannot open display - sting - 2008-10-26
Hello,
I'm establishing a remote desktop connection from a windows xp to linux redhat server via ssh. I have a java application which is developed under J2SE using netbeans 5.0. I uploaded the jar files of the application to the server. I trying to execute that application but I'm getting this warning (.:10947): Gtk-WARNING **: cannot open display, Hope guys you can help me... Thanks.... warning (.:10947): Gtk-WARNING **: cannot open display - anyweb - 2008-10-26 is X running on the linux box ? because that's what the error seems to be implying.... warning (.:10947): Gtk-WARNING **: cannot open display - sting - 2008-10-26 I'm using putty to connect to the server... I'm a newbie in the world of linux, what is linux box? and what is X? warning (.:10947): Gtk-WARNING **: cannot open display - Dungeon-Dave - 2008-10-26 "X" is the graphical desktop. To start yours, use "init 5" from putty - that will put your server in run-level 5 (graphical desktop). It's a good chance you're still running in run-level 3 (type runlevel to see what level you're currently in) To stop it, just type "init 3" to drop back to run-level 3. To have your server come up in 5 permanently, edit the /etc/inittab file and change the "initdefault" line from 3 to 5. Just be damned careful when editing this file - it can cause a non-bootable system next time around! |