LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 01-09-2005, 02:47 AM   #1
silverstormboy
Member
 
Registered: Apr 2003
Location: Singapore
Distribution: Ubuntu 7.10 Gutsy
Posts: 32

Rep: Reputation: 15
cant open firefox as normal user


Hi , Im using Debian testing and i just downloaded firefox from APT.

When I try to open it from the console, it said:

Xlib: conection to "0.0"refused by server
Xlib: XDM authorization key matches an existing client!

(firefox-bin:525): Gtk-WARNING **: cannot open display:

if i change to root, only this message appear:
firefox-bin:536): Gtk-WARNING **: cannot open display:



if i log on as root from the start, i have no problem opening it.

Can someone help me with this problem?

Thank you very much
 
Old 01-09-2005, 06:41 AM   #2
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
I use firefox but I've never had this problem. Then again, I never login as root.

I'd suggest that you login as normal user, remove the ~/.mozilla directory, then use "su" to become root and remove the /root/.mozilla directory. Then exit "su" to become normal user again and start Firefox. This will make you lose your previous personal settings (such as bookmarks) but it might help to solve your problem.

If this doesn't help, remove Firefox with "apt-get --purge remove mozilla-firefox", re-install it with "apt-get install mozilla-firefox", make sure that there are no .mozilla directories in root user's or your normal user's home directories, and start Firefox as normal user. Make sure that you never start Firefox as root user and there should be no problems.
 
Old 01-09-2005, 08:58 AM   #3
silverstormboy
Member
 
Registered: Apr 2003
Location: Singapore
Distribution: Ubuntu 7.10 Gutsy
Posts: 32

Original Poster
Rep: Reputation: 15
YEAHHHH, Dead Parrot, great explanation! Finallyyy i can open it as normal user!!

Thank you very much indeed....

Have a nice dayy
 
  


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 dos not open when run under user (opens only in root) saso Mandriva 8 06-15-2005 11:07 AM
Root can't open display, but normal user can? sw67 Slackware 6 06-06-2005 12:48 AM
Firefox not starting as a normal user fredgt Linux - Software 9 10-03-2004 11:27 AM
Firefox Won't Work as a Normal User Baryonic Being Linux - Software 3 09-09-2004 03:14 PM
firefox will not open with new user mikeybsae Linux - Software 4 03-21-2004 01:27 PM


All times are GMT -5. The time now is 10:08 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration