10-10-2008
Configure DISPLAY variable for DB2
I am trying to install a DB2 90-day trail but I got the error with the DISPLAY, it says is not configured correctly. I cannot post the error due to I am not in my personal PC but when I type: echo $DISPLAY it shows nothing.
I also tried: xclock & and nothing appears just an error. I know there are different ways to install DB2 but I want to try this way.
Can someone please guide me on how to configure the DISPLAY variable correctly to proceed with the installation process? I will appreciate any help!
P.S.: I am using Ubuntu 7.10
10 More Discussions You Might Find Interesting
1. Cybersecurity
Hi:
Im trying to change the display setting from my Linux server to Linux workstation but a Refused connection by server appear.
The first task that I doing is to export the DISPLAY variable on my Linux Workstation so I tried to execute several X programs with the Refused Connection message.... (2 Replies)
Discussion started by: dansanmex
2 Replies
2. UNIX for Dummies Questions & Answers
I have a variable that is outputting a lot of space.
here has been 45 lines returned ...
how can I remove the spaces between the "been and the 45"
CODE:
fil_len=`wc -l < coshb.txt`
if ; then
cat coshb.txt | more
echo " "
echo "There has been ${fil_len} lines... (4 Replies)
Discussion started by: jagannatha
4 Replies
3. Shell Programming and Scripting
I'll be reading user name and password from the person while running a shell
script so that he is authenticated.
The challenge here is to read the password variable without displaying on screen. Is there a way?
I presently do it displaying it on the screen as
echo " please enter your... (9 Replies)
Discussion started by: dayanandra
9 Replies
4. UNIX for Dummies Questions & Answers
I'm trying to open an xwindow on my Sun server. What am I doing wrong?
# echo $SHELL
/sbin/sh
#
# export DISPLAY=localhost:0.0
DISPLAY=localhost:0.0: is not an identifier
Thank you! (1 Reply)
Discussion started by: FredSmith
1 Replies
5. Shell Programming and Scripting
Guys Quick help...
----------------------------
#!/usr/bin/ksh
db2 -x "select count(*) from ${SCHEMA}.EMP"> $HOME/count.dat
COUNT=`cat $HOME/count.dat`
echo Table Count: $COUNT
if ( $COUNT -eq 0 ); then
echo Record Count in Table is 0
exit 1
fi
echo Records Exist... (2 Replies)
Discussion started by: freakygs
2 Replies
6. UNIX for Dummies Questions & Answers
Hi...
I m working on UNIX z/OS. Actually i have to pass the parameters from the JCL to java-db2 program thru PARM. I am able to pass the arguments but the problem occured is, it is throwing an exception while loading the db2 driver as 'Javaclassnotfound:com.ibm.db2.jcc.DB2Driver'... (0 Replies)
Discussion started by: Sujatha Gowda
0 Replies
7. Shell Programming and Scripting
I need to pass a variable as a parameter from shell script into a DB2 database.
var=bhuk_1123_Q_11/22/09
select * from tbl1 where serial_id='$var';
I have tried executing it using
db2 -tvf scriptname
Somebody please help me out with this. It is throwing an error. Please tell me how... (2 Replies)
Discussion started by: ss3944
2 Replies
8. UNIX for Dummies Questions & Answers
I've seen articles which say "export DISPLAY=<IP>:0" and others which say "export DISPLAY=<IP>:0.0". Can someone explain what the difference is?
TIA (4 Replies)
Discussion started by: cjhancock
4 Replies
9. Shell Programming and Scripting
Hi All,
I have browsed through the forums for a similar topic, but there is no topic which explains about this problem, when the backend is DB2.
I want to assign the output of a select count(*) from tablename to a unix variable in a shell script.
I am using ksh.
The database used to... (3 Replies)
Discussion started by: Siddarth
3 Replies
10. Shell Programming and Scripting
Hello
For this future package for community, i'd like to know your preference on this presented 'issue'.
Writing some commands which will display some strings, using another command supporting 3 strings to be supplied, i wonder how the 'default output' should look like.
Let me use a... (2 Replies)
Discussion started by: sea
2 Replies
pdweb(1M) pdweb(1M)
NAME
pdweb - start the HP-UX Peripheral Device tool, part of the System Management Homepage Web interface.
SYNOPSIS
Path:
DESCRIPTION
The HP-UX Peripheral Device tool (pdweb) can be used to easily and quickly view I/O devices and OLRAD cards. It helps manage hot pluggable
PCI slots on systems that support adding and replacing cards without rebooting. On all HP-UX systems, will display the I/O devices and can
be used to (re)create device files for a selected device.
The HP-UX Peripheral Device tool user interface uses a Web browser. Executing the command, with DISPLAY variable set and without any
options performs the following tasks:
o start the System Management Homepage Web server and
o start a Web client (browser)
An attempt will be made to connect to the browser specified with the BROWSER environment variable, or Mozilla, or Netscape. The Web
browser will be displayed on the X server defined by the DISPLAY environment variable. If a running browser is found, it will be used,
otherwise a new session will be initiated. This will only happen if the browser process is running on the same system used to exectue the
pdweb command (defined by the DISPLAY variable), unless the option is used.
Options
The recognizes the following options:
Opens the terminal interface for Cards and Devices regardless of the
current setting of the DISPLAY environment variable.
Forces a client browser to be used in less secure ways.
Two security features are overridden by the option.
The option forces the client browser to be used or started, even if the X-traffic between the X-server and the Mozilla
browser is not secure.
When is invoked by the option is used.
Only a priviledged user (root) can execute When used with the option, a temporary login bypass key will be generated. The
bypass key allows the user to access the Web interface without having to provide login information again.
Only use this option if you are sure the network traffic is secure between the host where Mozilla is running, and the host
in the DISPLAY variable.
The browser uses URL http://hostname:2301/ and you may paste this into any browser if a browser does open with the pdweb
command.
Online Help
Once the HP-UX Peripheral Device tool is started, the online help provides details on how to use the tool.
RETURN VALUES
Upon completion, returns one of the following values:
Successful.
An error occurred.
AUTHORS
pdweb was developed by Hewlett-Packard
SEE ALSO
hpsmh(1M), smhstartconfig(1M), olrad(1M), ioscan(1M), insf(1M)
pdweb(1M)