Linux db2cc cannot open display
If you are having problem as mention below, you may try this.
—————————————————
Problem Scenario db2cc
—————————————————
db2inst1@ubuntu:/home/xyiry$ export DISPLAY=:0.0
db2inst1@ubuntu:/home/xyiry$ db2cc
No protocol specified
Error : Can not open display
db2inst1@ubuntu:/home/xyiry$
—————————————————
Problem Solving db2cc
—————————————————
Type in this command in terminal.
db2inst1@ubuntu:/home/xyiry$ xhost +
db2inst1@ubuntu:/home/xyiry$ su db2inst1
db2inst1@ubuntu:/home/xyiry$ export DISPLAY=:0.0
db2inst1@ubuntu:/home/xyiry$ db2cc
Hope it works…
About this entry
You’re currently reading “Linux db2cc cannot open display,” an entry on Xyiry PHP Blog | Where Open Source Lives
- Published:
- 11.18.09 / 8am
- Category:
- IBM DB2
No comments
Jump to comment form | comments rss [?] | trackback uri [?]