LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   linux problem (https://www.linuxquestions.org/questions/linux-newbie-8/linux-problem-509278/)

user52 12-11-2006 12:00 AM

linux problem
 
xlib : No protocol specified

sir i am getting some error
My linux release 3.(red hat)


$xhost +
Xlib: connection to "spidummy:0.0" refused by server
Xlib: No protocol specified

xhost: unable to open display
"spidummy:0.0"

drkstr 12-11-2006 12:15 AM

Red Hat 3? Wow, talk about blast from the past! Anyways, how to you expect us to help you without telling us anything about what your doing. All I can tell you is that this error is caused by trying use an xserver you do not have access to (possibly as root?).

best regards,
...drkstr

user52 12-11-2006 12:29 AM

sir thank you sir..
sir i am trying to install oracle software on my linux box.

for oracle installation i have to run "runinstaller" file on terminal;
but when i am trying to run those file i go error.

xlib : no protocol specified.
i am connect as oracle user not in root.


hope this clear
or if you want more info i will give..
plz sir reply..
thank

drkstr 12-11-2006 12:42 AM

You will need to grant access to the xsession for the user(and machine?) running oracle.

You can start here

http://tldp.org/HOWTO/Remote-X-Apps-6.html

then google around for a bit for XAuthority.

Post back if you are still having issues.

best regards,
...drkstr

**edit**
also, running 'xhost +' is a HUGE security whole, FYI.

user52 12-11-2006 12:47 AM

thank you for ur reply..
sir i am google on net.. and found.. try first "xhost" command.
but when i give as root user or as oracle user
in both user i got "xlib : no protocol specified".

what is problem sir ?
plz reply

thanx\

drkstr 12-11-2006 12:58 AM

Don't use xhost or you will open up your network to any 12 year old with a hacking tutorial. You will need a much more indepth approach, thus Xauthority (also search for Xauth). There are many howtos on this topic. I would start by reading the one I gave you.

best regards,
...drkstr


All times are GMT -5. The time now is 06:26 AM.