The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Ubuntu
.
google unix.com



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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-10-2008
agasamapetilon agasamapetilon is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 67
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
  #2 (permalink)  
Old 10-11-2008
backslash backslash is offline
Registered User
  
 

Join Date: May 2006
Posts: 21
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 (permalink)  
Old 10-19-2008
ikorolev ikorolev is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 40
add next string into /etc/profile or ~/.profile and relogin
Code:
DISPLAY="`who -m | cut -f2 -d'(' | cut -f1 -d')'`:0.0"
( source in russian - unixpin.com )
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:53 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0