LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-23-2011, 02:55 PM   #1
jonyskiw
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Rep: Reputation: 0
DISPLAY Problem with Oracle Install On Debian


I have a dedicated PC with Debian Linux and now wish to install Oracle 11gR2. All the required changes and settings were made as per Oracle Pre-Install.
When I start the installer it errors out almost immediately due to a display problem as it it verifying if the display can accommodate 256 colours. The /etc/hosts file has a setting: 127.0.0.1 localhost so I set the DISPLAY=localhost:0.0
But it fails, why?
 
Old 03-23-2011, 05:44 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,995

Rep: Reputation: 4327Reputation: 4327Reputation: 4327Reputation: 4327Reputation: 4327Reputation: 4327Reputation: 4327Reputation: 4327Reputation: 4327Reputation: 4327Reputation: 4327
Quote:
Originally Posted by jonyskiw View Post
I have a dedicated PC with Debian Linux and now wish to install Oracle 11gR2. All the required changes and settings were made as per Oracle Pre-Install.
When I start the installer it errors out almost immediately due to a display problem as it it verifying if the display can accommodate 256 colours. The /etc/hosts file has a setting: 127.0.0.1 localhost so I set the DISPLAY=localhost:0.0
But it fails, why?
Probably a combination of reasons. First, the IP address shouldn't be your loopback address, but the IP of your machine itself. Second, you need to make sure that your X display manager is accepting incoming connections. At a prompt, type in "ps -ef | grep -i listen". If you see something like:
Code:
/usr/bin/Xorg -br :0 vt7 -nolisten tcp -auth /var/lib/xdm/authdir/authfiles/A:0-lRdKTb
then your X server isn't accepting incoming connections. Note the "nolisten" argument. There are many how-tos on how to let Debian accept incoming X connections, and this has been dealt with on this site many times as well...give a quick search, don't want to type up the same thing again.

Also, since you're paying for Oracle support, you can get help from them.
 
Old 03-31-2011, 10:13 AM   #3
jonyskiw
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Original Poster
Rep: Reputation: 0
Problem with display

Apparently the problem is with Debian. Here is the case... The initial user (say user A) logs into the OS and is granted all the capabilities of graphical display and xterm. 'xclock' works. If I 'su' to another user (say user B) then that new user, for some reason, does not inherit the graphical capabilities. 'xclock' does NOT work. Now if I log out and login as user B everything works fine. As soon as I 'su' to user A then user A does not have the graphical capabilities !
But the root account always has the graphical capabilities go figure !
 
Old 03-31-2011, 10:16 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,995

Rep: Reputation: 4327Reputation: 4327Reputation: 4327Reputation: 4327Reputation: 4327Reputation: 4327Reputation: 4327Reputation: 4327Reputation: 4327Reputation: 4327Reputation: 4327
Quote:
Originally Posted by jonyskiw View Post
Apparently the problem is with Debian. Here is the case... The initial user (say user A) logs into the OS and is granted all the capabilities of graphical display and xterm. 'xclock' works. If I 'su' to another user (say user B) then that new user, for some reason, does not inherit the graphical capabilities. 'xclock' does NOT work. Now if I log out and login as user B everything works fine. As soon as I 'su' to user A then user A does not have the graphical capabilities !
But the root account always has the graphical capabilities go figure !
No, that's not a Debian problem, but rather that the DISPLAY environment variable is getting clobbered when you su to another user. If you log in as user A, and look at the variable, then 'su' to user b and set it to be the same, things should work just fine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in Installing oracle 11g on UBUNTU 8.04, DISPLAY Error vraju040 Ubuntu 1 03-14-2009 12:41 AM
display problem after insatllation of oracle on linux as4 tman07 Linux - Hardware 2 10-07-2007 04:43 AM
LXer: Install Oracle 11g on HVM VM (CentOS 5) under Xen 3.1 on Debian Etch (x86_64) LXer Syndicated Linux News 0 09-12-2007 09:30 PM
Is it possible to install Oracle 10g (10.2) on Debian Etch? arobinson74 Debian 1 04-09-2007 08:24 PM
Is there a way to configure your display in Debian? (off a knoppix HD install) ptesone Linux - Hardware 2 03-16-2004 07:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration