LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 09-08-2010, 11:53 AM   #1
Cultist
Member
 
Registered: Feb 2010
Location: Chicago, IL
Distribution: Slackware64 14.1
Posts: 777

Rep: Reputation: 102Reputation: 102
error: cannot open display: 0 when trying to launch Firefox


So I just installed 32-bit Squeeze. I've done exactly two things since booting into the first install: apt-get install gtk+2.0, and ./firefox, so unless gtk did something, this might be an easily fixable problem with Debian itself. After installing gtk and trying to run firefox via command line, it tells me
Code:
Error: cannot open display: :0
I googled a bit and couldn't come up with a solid solution, but the problem seems to be around other places. Any idea how to fix this?
 
Old 09-08-2010, 12:01 PM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,975

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
I guess you're trying to run firefox an a different user, than the one that is logged in X
 
Old 09-08-2010, 12:03 PM   #3
Cultist
Member
 
Registered: Feb 2010
Location: Chicago, IL
Distribution: Slackware64 14.1
Posts: 777

Original Poster
Rep: Reputation: 102Reputation: 102
ah okay I feel like an idiot now.
I was still in root from installing gtk. changing back to my regular username fixed it. Thanks lol
 
  


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
[SOLVED] Error: can't open display. swdiaz Linux - General 3 02-03-2014 06:58 AM
[SOLVED] Cannot open X display `:0.0' error wufo Slackware 1 01-14-2010 02:22 PM
Paid Assist Request - VPS Firefox Launch No Display Error jeewiz Linux - Software 3 08-21-2009 06:07 AM
No XBL binding error trying to launch Firefox GothManiac Linux - Software 1 04-18-2007 01:35 AM


All times are GMT -5. The time now is 02:42 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