![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to export the Display variable | FredSmith | UNIX for Dummies Questions & Answers | 1 | 06-19-2006 06:07 AM |
| How to read variable with no display | dayanandra | Shell Programming and Scripting | 9 | 05-25-2006 09:09 AM |
| Display from a variable using echo. | jagannatha | UNIX for Dummies Questions & Answers | 4 | 06-12-2003 12:38 PM |
| Display variable | dansanmex | Security | 2 | 10-01-2001 08:25 PM |
| Passing DISPLAY variable through rsh | 98_1LE | UNIX for Dummies Questions & Answers | 4 | 02-16-2001 02:06 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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 |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
You need to be running an X-server on your PC like Exceed for windows or a X11 server (Gnome desktop/KDE etc)
If you are on a remote PC you will need to set your DISPLAY to IP_of_PC:0 e.g. export DISPLAY=192.1.1.123:0 If you are on a Linux desktop you will need to allow remote clients to display graphics on it. Use 'xhost +' as a starting point but you can make this more secure if you like. See 'man xhost' You could also try vnc once you've installed vnc-server on your DB host. |
|
#3
|
|||
|
|||
|
add next string into /etc/profile or ~/.profile and relogin
Code:
DISPLAY="`who -m | cut -f2 -d'(' | cut -f1 -d')'`:0.0"
|
|||
| Google The UNIX and Linux Forums |