Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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:
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.
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 !
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.