[rhn-users] Re: Xlib connection

Hiren Joshi josh at dcs.qmul.ac.uk
Mon Dec 11 19:02:44 UTC 2006


Are you installing Oracle?

I had a similar problem, as the installer doesn't like running as root. 
I got around it by assigning a password to the oracle user and granting 
oracle the right to ssh into the machine (temporarily), I then did: ssh 
-X oracle at host
Ran the installer (did the same for all add-ons as well) then as root: 
passwd -l oracle to lock the oracle user out (just a security measure).

Note:
X11Forwarding yes, must be there in your sshd_config if you intend to 
use ssh.

Also have you tried: xhost +oracle at locahost or oracle at hostname?

Larry D Sorensen wrote:
> I have tried installing both ways that you mention (as root and su -
> user), but I get the same message. I tried to run the command "xhost
> +root, and xhost +oracle" and I receive the error "xhost: bad hostname
> "root" or "oracle" depending upon which I use. I am running the command
> as root. Any more suggestions?
> 
> Larry
> On Mon, 11 Dec 2006 18:30:52 +0000 Hiren Joshi <josh at dcs.qmul.ac.uk>
> writes:
>> Are you installing the app as root?
>>
>> How do you log into the system (ssh or are you sitting in front of 
>> the 
>> machine).
>>
>> If your installing the app as root (after 'su -' from a user) then 
>> as 
>> the user try: xhost +root
>> So that root has access to your display.
>>
>> If your sshing into the machine, have you tried: ssh -X root at host?
>>
>> Regards,
>> Josh.
>>
>> Larry D Sorensen wrote:
>>> I am trying to install a product that needs to open an xwindow as 
>> part of
>>> the installation. I get the message
>>>
>>> "connection to ":0.0" refused by server. How do I go about making 
>> sure
>>> that the service is running and that the port is open and 
>> listening to
>>> start a session?
>>>
>>> Larry
>>>
>>> _______________________________________________
>>> rhn-users mailing list
>>> rhn-users at redhat.com
>>> https://www.redhat.com/mailman/listinfo/rhn-users
>> -- 
>> +--Hiren Joshi---------------------------------------------+
>> | Systems                                                  |
>> | Tel: +44 (0) 20 7882 8010 http://www.dcs.qmul.ac.uk/     |
>> +------------DCS, Queen Mary, University of London---------+
>>
>> _______________________________________________
>> rhn-users mailing list
>> rhn-users at redhat.com
>> https://www.redhat.com/mailman/listinfo/rhn-users
>>
>>
> 
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users

-- 
+--Hiren Joshi---------------------------------------------+
| Systems                                                  |
| Tel: +44 (0) 20 7882 8010 http://www.dcs.qmul.ac.uk/     |
+------------DCS, Queen Mary, University of London---------+




More information about the rhn-users mailing list