LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-16-2020, 07:49 AM   #1
math.qe
LQ Newbie
 
Registered: Oct 2017
Posts: 3

Rep: Reputation: Disabled
CentOS 7 Firefox display


Hi everyone,

I'm totally new with Linux and I do have an issue with opening a web browser (firefox).

In the moment I double click on the firefox' icon nothing is displayed. I didn't find some specific logs in /var/log.

Right now to only one way I can open the browser is using:

#ssh -X hostname firefox

But I'd like to figure out what's the problem to open the browser by simply clicking on the icon.

Any help will be much appreciated.

Thank you in advance!
 
Old 02-16-2020, 07:57 AM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,617

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
HOW did you install Mozilla Firefox?
What version have you installed?
Which CentOS desktop are you running? (The default is fine, but tell us that if it is so.)
 
1 members found this post helpful.
Old 02-16-2020, 08:29 AM   #3
math.qe
LQ Newbie
 
Registered: Oct 2017
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hey,

Thanks for the quick reply!

Well, I didn't install anything specific. Just installed the KDE desktop, but the same is happening with GNOME.
No specific installation over the cli, I think it's already installed. Not sure if I can paste a picture here, but in the moment I double click on the firefox icon it looks that it starts loading .. and then just stops.

If this can help:

[addie@addie ~]$ firefox -v
Failed to open connection to "session" message bus: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Running without a11y support!
Mozilla Firefox 68.4.1esr
 
1 members found this post helpful.
Old 02-16-2020, 03:49 PM   #4
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,617

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
Quote:
Originally Posted by math.qe View Post
Hey,

Thanks for the quick reply!

Well, I didn't install anything specific. Just installed the KDE desktop, but the same is happening with GNOME.
No specific installation over the cli, I think it's already installed. Not sure if I can paste a picture here, but in the moment I double click on the firefox icon it looks that it starts loading .. and then just stops.

If this can help:

[addie@addie ~]$ firefox -v
Failed to open connection to "session" message bus: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Running without a11y support!
Mozilla Firefox 68.4.1esr
That tells us quite a bit, actually. It appears to me the command portion of the shortcut was malformed. (Guessing somewhat here) It is just possible that you could fix it, and that is what I would do on my machine. The quicker fix may be to totally uninstall FireFox from the machine, Purge the settings and ensure that the shortcut is gone from the desktop, then install Firefox clean. My thought is that it does not matter if it is wrong now, as long as that install process builds a correct shortcut on your desktop you are good.

And that makes the software do all of the heavy listing, so you do not have to research the proper shortcut settings and possibly still fail. We can come back to that option if the install fails to correct the issue.
 
Old 02-16-2020, 11:26 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
in your home folder is a folder called " Desktop"

in that folder is a file called "firefox.desktop"

this is what should be in it when you open the file in "kate"
Code:
#!/usr/bin/env xdg-open
[Desktop Entry]
Categories=Network;WebBrowser;GTK;
Encoding=UTF-8
Name=Firefox
GenericName=Web Browser
Comment=Web Browser
TryExec=firefox
Exec=firefox %u
Icon=firefox
Terminal=false
StartupNotify=true
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;application/x-xpinstall;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
Type=Application

Actions=PrivateBrowsing;

[Desktop Action PrivateBrowsing]
Name=New Private Browsing Window
Exec=firefox --private-window %u
if yours is different then edit it to match mine
 
1 members found this post helpful.
Old 02-17-2020, 09:02 AM   #6
math.qe
LQ Newbie
 
Registered: Oct 2017
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thank you very much for the responses!

Currently it is working fine, without reinstalling it .. I will search for the "firefox.desktop" file and will compare it >> will share the outcomes as soon as I take a look.

Once again thanks a ton!
 
  


Reply



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
we have vfd pole display detected as hiddev0. how to display data on the vfd display kpr_hrc Linux - Newbie 2 03-21-2016 06:03 AM
[SOLVED] NFS on CentOS 6 can talk to Centos 5 but not Centos 6 clients deathsfriend99 Linux - Server 2 11-08-2013 02:33 PM
Firefox Error display=Display hitmen Linux - Newbie 8 09-02-2012 08:11 AM
CentOS Display Problems, your display needs tweaking, here you go, no xrandr needed.. damiank Linux - Desktop 0 08-09-2012 02:14 AM
HTML5 "<details>" tag display:inline, display:hidden CSS ignored (Firefox, Seamonkey) ShellyCat Programming 1 01-11-2011 10:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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