LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 02-05-2006, 02:15 PM   #1
bsmntbombdood
LQ Newbie
 
Registered: Oct 2005
Posts: 10

Rep: Reputation: 0
Firefox Xlib error


I just made a new user to run firefox from, so if there is a firefox exploit only that user will be affected. I cd to the home directory of the user ("firefox") and run "./firefox". Then I get this error--
Code:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(firefox-bin:5834): Gtk-WARNING **: cannot open display:
Running firefox from any user works fine. Whats wrong and how can I fix it?

thanks
 
Old 02-06-2006, 06:59 AM   #2
acidzebra
Member
 
Registered: Mar 2005
Location: Netherlands
Distribution: FC4, debian, SuSE
Posts: 64

Rep: Reputation: 15
well in a nutshell, you are running your X-windows server as a certain user (whoever you log in as by default). Another user will not have rights to 'connect' to this x server and run programs on it.

A brutal fix would be to type
xhost +
but this will open your server to the world.

try running
man xhost
and it will inform you of all the ways to allow other users to connect to your x server.
 
  


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
Firefox/xlib problems? sojz Linux - Software 2 12-22-2005 05:53 AM
using vi I get an Xlib error steve1401 Linux - General 2 02-04-2005 04:45 PM
Firefox: Xlib: no protocol specified Brain Drop Linux - Software 2 06-19-2004 01:23 PM
Error message from remadmin :Xlib: nathangg Linux - General 3 02-21-2003 02:28 PM
Xlib error Pres Linux - Software 1 11-25-2002 01:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:43 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
Open Source Consulting | Domain Registration