Db2cc Cannot Open Display Error
Contents |
Topic: db2cc - problem 16 replies Latest Post - 2008-11-04T11:58:04Z by ocgstyles Display:ConversationsBy Date 1-17 of 17 Previous Next SystemAdmin 110000D4XK 5837 Posts xhost unable to open display linux Pinned topic db2cc - problem 2008-10-28T09:52:30Z | Tags: Answered question cannot open display linux This question has been answered. Unanswered question This question has not been answered yet. I installed xhost unable to open display redhat the DB2 and tried to use the command: sh-3.1$ /opt/ibm/db2/V9.5/bin/db2cc I see: /opt/ibm/db2/V9.5/bin/db2cc: line 26: db2javit: command not found sh-3.1$ What I can to do? Help error cannot open display 0.0 firefox me please! Log in to reply. Updated on 2008-11-04T11:58:04Z at 2008-11-04T11:58:04Z by ocgstyles ocgstyles 060000N6VY 472 Posts Re: db2cc - problem 2008-10-28T14:30:38Z This is the accepted answer. This is the accepted answer. You shouldn't be executing that command from there, under the install directory. Did you create an instance yet? Please
Xhost Unable To Open Display Ubuntu
give some more information about your OS too. Keith Log in to reply. SystemAdmin 110000D4XK 5837 Posts Re: db2cc - problem 2008-10-28T15:21:44Z This is the accepted answer. This is the accepted answer. ocgstyles 060000N6VY 2008-10-28T14:30:38Z You shouldn't be executing that command from there, under the install directory. Did you create an instance yet? Please give some more information about your OS too. Keith More... My OS - Debian "Etch" But otherwise, how can I run Control Center and this file (db2cc)? Log in to reply. ocgstyles 060000N6VY 472 Posts Re: db2cc - problem 2008-10-28T16:39:22Z This is the accepted answer. This is the accepted answer. SystemAdmin 110000D4XK 2008-10-28T15:21:44Z My OS - Debian "Etch" But otherwise, how can I run Control Center and this file (db2cc)? More... That depends. You still haven't answered whether or not you created an instance. Typically, people create the "db2admin" instance. Was that done? Keith Log in to reply. SystemAd
2010-11-19 17:53:38 lubiebudyn Member Registered: 2010-11-19 Posts: 4 Error: cannot open display: :0.0 [SOLVED] Hi,After my last reebot
Cannot Open Display Ubuntu
I've got some problem with Xorg. Everything goes ok, kdm xhost unable to open display centos starts, I can log in and...On KDE I can't start any application(some parts of access control disabled, clients can connect from any host KDE doesn't start too(for example krunner)).On fluxbox I can start only few apps(2-3). And when I try to start another one:No protocol specifiedError: cannot https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014158444 open display: :0.0Thanks for all advices. Last edited by lubiebudyn (2010-11-19 19:24:35) Offline #2 2010-11-19 19:01:29 PrivateLooms Member Registered: 2010-11-19 Posts: 5 Re: Error: cannot open display: :0.0 [SOLVED] Try either :export DISPLAY=":0.0"or xhost +your-usernamein the terminal, that is how I solved my problem.P.S: if xhost +your-username doesn't https://bbs.archlinux.org/viewtopic.php?id=108695 work try xhost + Offline #3 2010-11-19 19:13:56 lubiebudyn Member Registered: 2010-11-19 Posts: 4 Re: Error: cannot open display: :0.0 [SOLVED] PrivateLooms wrote:Try either :export DISPLAY=":0.0"or xhost +your-usernamein the terminal, that is how I solved my problem.P.S: if xhost +your-username doesn't work try xhost + Unfortunately:export DISPLAY=":0.0"Doesn't change anything.xhost ...returns:No protocol specified xhost: unable to open display ":0.0" Last edited by lubiebudyn (2010-11-19 19:14:31) Offline #4 2010-11-19 19:14:26 schuay Trusted User (TU) From: Austria Registered: 2008-08-19 Posts: 564 Re: Error: cannot open display: :0.0 [SOLVED] Maybe this? https://bbs.archlinux.org/viewtopic.php?id=108562 Offline #5 2010-11-19 19:24:20 lubiebudyn Member Registered: 2010-11-19 Posts: 4 Re: Error: cannot open display: :0.0 [SOLVED] schuay wrote:Maybe this? https://bbs.archlinux.org/viewtopic.php?id=108562Thanks a lot!I didn't suspect NetworkManager... Offline Pages: 1 Index »Applications & Desktop Environments »Error: cannot open display: :0.0 [SOLVED] Board footer Jump to Newbie Corner Installation Kernel & Hardware Applications & Desktop Environments
and get tips https://bytes.com/topic/db2/answers/182662-errors-running-db2cc & solutions from a community of 418,478 IT Pros & Developers. It's quick & easy. errors running db2cc ..... P: n/a Mairhtin http://superuser.com/questions/310197/how-do-i-fix-a-cannot-open-display-error-when-opening-an-x-program-after-sshi O'Feannag Hello, According to the IBM website : http://www- 106.ibm.com/developerworks/linux/library/l-ss3-db2/ If you are using Red Hat 9, with its new thread library, open display Native POSIX Thread Library (NPTL), then the Java installation code used by DB2 will not work. You can force compatibility mode by setting the environment variable LD_ASSUME_KERNEL to 2.2.5 before starting the install program (db2setup). LD_ASSUME_KERNEL=2.2.5 export LD_ASSUME_KERNEL Note: This is not a supported cannot open display platform for DB2 V8.1, and some functions may not work as expected. You should also add these lines to the .bashrc profile file for any user (for example, db2inst1) who wants to use the DB2 Control Center or other Java tools. Well... I have done that. But when I run the ./db2cc from /home/db2inst1/sqllib/bin ... , I get the following : [db2inst1@mairl bin]$ ./db2cc Xlib: connection to ":0.0" refused by server Xlib: No protocol specified 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.(X11GraphicsEnviron ment.java:7 7) at java.lang.Class.forName1(Native Method) at java.lang.Class.forName(Class.java:142) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvir onment(GraphicsEnvi ronment.java:72) at java.awt.Font.initializeFont(Font.java:285) at java.awt.Font.(Font.java:319) at javax.swing.plaf.FontUIResource.(FontUIResource.ja va:51) at javax.swing.plaf.basic.BasicLookAndFeel.getFont(Ba sicLookAndFeel.java :252) at javax.swing.plaf.basic.BasicLookAndFeel.initCompon entDefaults(BasicLo okAndFeel.java:271) at javax.swing.plaf.metal.MetalLookAndFeel.initCompon entDefaults(MetalLo okAndFeel.java
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top How do I fix a “cannot open display” error when opening an X program after ssh'ing with X11 forwarding enabled? up vote 50 down vote favorite 22 After launching the X11 app (XQuartz 2.3.6, xorg-server 1.4.2-apple56) on my Mac (OS X 10.6.8), opening an terminal in X11 and running xhost +, I then ssh -Y to my Ubuntu 10.04 VM (running on VMware Fusion). When I run gedit .bashrc (for example), I get: (gedit:9510): Gtk-WARNING **: cannot open display: set | grep DISPLAY returns nothing. But if I ssh -Y into my Ubuntu 11.04 machine, gedit .bashrc works. echo $DISPLAY returns "localhost:10.0". I tried export DISPLAY=localhost:10.0 while sshed into my VM and then running gedit .bashrc, but I get: (gedit:9625): Gtk-WARNING **: cannot open display: localhost:10.0 What could be different in the configuration of the two difference Ubuntu machines that would explain why one works and the other doesn't? Update: As suggested by Zoredache in the comment below, I ran sudo apt-get install xbase-clients, but I continue to have the same problem. ssh display xorg gtk share|improve this question edited Feb 9 '14 at 12:20 Pablo Saratxaga 1133 asked Jul 13 '11 at 18:13 Daryl Spitzer 2,91893236 migrated from serverfault.com Jul 13 '11 at 18:31 This question came from our site for system and network administrators. 2 Does the Ubuntu 10.04 box have the proper tools for X11 installed? Install xbase-clients, if it isn't installed already. –Zoredache Jul 13 '11 at 18:22 I installed it but still have the same problem. (See above.) –Daryl Spitzer Jul 13 '11 at 18:29 Yes. Just to be sure, I restarted the VM (and reconnected through SSH afterward). –Daryl Spitzer Jul 13 '11 at 18:38 3 Maybe try passing the -vv option to ssh when you connect, this prints verbose debug messages, you should see several comments about X11 forwarding while connecting. –Zoredache Jul 13 '11 at 18:43 @jcrawfordor You did check the X11Forwarding on the ubuntu one, and that you have xbase-clients installed and that you can st