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
 
LinkBack Search this Thread
Old 09-08-2010, 10:53 AM   #1
Cultist
Member
 
Registered: Feb 2010
Location: Chicago, IL
Distribution: Slackware64 14.1
Posts: 776

Rep: Reputation: 101Reputation: 101
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, 11:01 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,774

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

Original Poster
Rep: Reputation: 101Reputation: 101
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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Error: can't open display. swdiaz Linux - General 3 02-03-2014 05:58 AM
[SOLVED] Cannot open X display `:0.0' error wufo Slackware 1 01-14-2010 01:22 PM
Paid Assist Request - VPS Firefox Launch No Display Error jeewiz Linux - Software 3 08-21-2009 05:07 AM
No XBL binding error trying to launch Firefox GothManiac Linux - Software 1 04-18-2007 12:35 AM


All times are GMT -5. The time now is 01:07 AM.

Main Menu
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