473,406 Members | 2,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

can't remote open DB2 Control Center

Hi all,
I had installed DB2 V9 Express-C on my server Ubuntu 6.10 and it runs
well. Now, I would like to open DB2 Control Center from my windows (I
use ssh and putty to connect with server ).In fact, I can do my
requests using the commands, but I think that it will be better with
control center. So i install Xming as Xserver. And i use the commands
xhost + MyAddressIP and export DISPLAY=localhost:0.0 to configuer. Now
if i login with the usr of linux, it runs well (i had used xclock to
test). But if I login as db2inst1, all of these variables of envirement
were reset. And I use the commandsabove for set ces var. But the
results are:
Exception in thread "main" java.lang.NoClassDefFoundError:
sun.awt.X11.Xtoolkit.
But it is so strange that : if i use export DISPLAY=:0.0, the control
center is opened from the server.
Any idea?
Thanks
xiaoning

Jan 23 '07 #1
1 3715
Ian
xi***********@gmail.com wrote:
Hi all,
I had installed DB2 V9 Express-C on my server Ubuntu 6.10 and it runs
well. Now, I would like to open DB2 Control Center from my windows (I
use ssh and putty to connect with server ).In fact, I can do my
requests using the commands, but I think that it will be better with
control center.
I don't understand why you don't just install the DB2 Admin Client on
your windows machine?
So i install Xming as Xserver. And i use the commands
xhost + MyAddressIP and export DISPLAY=localhost:0.0 to configuer. Now
if i login with the usr of linux, it runs well (i had used xclock to
test).
Check what DISPLAY is set to after you log in as linux:

echo $DISPLAY

If you're allowing ssh to forward X11 traffic, then the SSH daemon
on your server is setting DISPLAY for you.

Use what you got from above to set DISPLAY for db2inst1.

Jan 25 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rajesh R. | last post by:
Hi, I have developed an application in asp with backend as ms-access database. The mdb file is on a one machine and my IIS is running on a different machine. The code which I tried is as follows...
3
by: Elp | last post by:
Hi, I have developped a Windows applcation (in C#) that allows, among other things, users to view and control the desktop of a remote Windows XP Pro machine. I have actually simply embedded the...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
3
by: Pakna | last post by:
Hello, I have what may be a beginner's question regarding DB2. How does one access a remote table on a remote database via SQL? What is the command string, is there an equivalent of Oracle...
1
by: grace01 | last post by:
My php program has no response after migration. Here is the php code: <?php include_once("classes/ets.php"); include_once("classes/em_documents.php"); ...
0
by: aboutjav.com | last post by:
Hi, I need some help. I am getting this error after I complete the asp.net register control and click on the continue button. It crashed when it tries to get it calls this Profile property ...
5
by: Cirene | last post by:
I just deployed my new ASP.NET (3.5 FW) site to the hosting company I'm using, webhost4life. NOTE: I HAVE deployed other SQL Server sites to the same account with no issues. Now I'm getting...
0
by: =?Utf-8?B?SGFwcHlqYWNr?= | last post by:
I programmed my satellite box remote using media HELP PLEASE!!!!!!!!!!! -- Thanks, Jack
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.