Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
10-13-2004, 04:50 PM
|
#1
|
Member
Registered: Oct 2001
Location: Tokyo, Japan
Distribution: Slackware
Posts: 105
Rep:
|
xhost + as user oracle not working, need to see oracle install GUI
Hello,
I'm trying to install oracle on a machine that on the opposite side of the planet as me. I can do xhost + as user root and then /usr/X11R6/bin/xclock and the clock on the remote server shows up on my Linux X screen here.
I try it with user oracle and get this:
[oracle@67 oracle]$ /usr/X11R6/bin/xclock
X11 connection rejected because of wrong authentication.
X connection to localhost:10.0 broken (explicit kill or server shutdown).
[oracle@67 oracle]$ xhost +
X11 connection rejected because of wrong authentication.
X connection to localhost:10.0 broken (explicit kill or server shutdown).
[oracle@67 oracle]$ DISPLAY=localhost:0.0; export DISPLAY
[oracle@67 oracle]$ /usr/X11R6/bin/xclock
Error: Can't open display: localhost:0.0
[oracle@67 oracle]$
How can I allow the oracle user to access the display? I need to be able to do xhost + as user oracle so I can run the Installer from my client machine.
|
|
|
01-04-2007, 01:42 PM
|
#2
|
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
|
Long overdue answer - just saw this post today when viewing "similar" posts to another thread. Figured I'd post it in case someone found this thread later in a search.
Anyway you can get around the whole Xhost thing by using ssh X forwarding (tunneling) when you open the original login.
ssh -X <hostname>. This will set your DISPLAY automatically and it will display back over the ssh connection. Make sure you don't have anything in the login (/etc/profile, /etc/bashrc, $HOME/.profile, $HOME/.bashrc etc...) that explicity sets DISPLAY as it would overwite the value you need.
|
|
|
02-11-2007, 11:27 AM
|
#3
|
LQ Newbie
Registered: Jun 2006
Posts: 11
Rep:
|
Quote:
Originally Posted by jlightner
Long overdue answer - just saw this post today when viewing "similar" posts to another thread. Figured I'd post it in case someone found this thread later in a search.
Anyway you can get around the whole Xhost thing by using ssh X forwarding (tunneling) when you open the original login.
ssh -X <hostname>. This will set your DISPLAY automatically and it will display back over the ssh connection. Make sure you don't have anything in the login (/etc/profile, /etc/bashrc, $HOME/.profile, $HOME/.bashrc etc...) that explicity sets DISPLAY as it would overwite the value you need.
|
thanks alot
|
|
|
All times are GMT -5. The time now is 04:36 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|