![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Ubuntu Ubuntu is a complete desktop Linux operating system, freely available with both community and professional support. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to export the Display variable | FredSmith | UNIX for Dummies Questions & Answers | 1 | 06-19-2006 09:07 AM |
| How to read variable with no display | dayanandra | Shell Programming and Scripting | 9 | 05-25-2006 12:09 PM |
| Display from a variable using echo. | jagannatha | UNIX for Dummies Questions & Answers | 4 | 06-12-2003 03:38 PM |
| Display variable | dansanmex | Security | 2 | 10-01-2001 11:25 PM |
| Passing DISPLAY variable through rsh | 98_1LE | UNIX for Dummies Questions & Answers | 4 | 02-16-2001 05:06 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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 |
|
||||
|
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. |
|
||||
|
add next string into /etc/profile or ~/.profile and relogin
Code:
DISPLAY="`who -m | cut -f2 -d'(' | cut -f1 -d')'`:0.0"
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|