Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-27-2006, 02:47 PM
|
#1
|
Member
Registered: Jul 2006
Location: Runcorn, England
Distribution: Ubuntu 6.06 & 6.1, Mandriva 2007, Knoppix
Posts: 72
Rep:
|
Ubuntu Edgy/Firefox 2/Javascript - Firefox closes accessing websites with Javascript
Is anybody having problems accessing websites that have javascript included in them?
I'm running a fresh install of Ubuntu 6.1 with the automatic updates downloaded and firefox's javascript plugin downloaded and installed.
When I access a website that's got javascript in it, firefox closes without giving me chance to look at the website. It closes all open tabs.
It happens on various webpages, the first one I noticed it on was this one, Linuxquestions.org, I've also noticed it on hotmail.
Anybody got any suggestions?
I'm going to try reinstalling the javascript plug in to see if that fixes it.
Thanks
Edit:
Javascript reinstalled, but its made no difference, it still crashes on javascript enabled websites.
Last edited by Interdictor; 10-27-2006 at 04:35 PM.
|
|
|
10-27-2006, 06:42 PM
|
#2
|
Member
Registered: Jul 2004
Location: Mile High
Posts: 161
Rep:
|
I had a problem on Dapper and I didn't upgrade. I did a couple of things to narrow down my problem. I copied the .mozilla folder on my home dir to another location then renamed the .mozilla directory and launched Firefox again. I thought mine was with javascript too, but it turned out the be the Silver Skin theme. I added in each theme and extension one by one and browsed for a little bit before I narrowed it down. You may want to try that to figure out what's causing it. I'm sure there are a couple of things that could cause it. If the problem persist you may even check /var/log/messages to see if any indication of the problem is listed. The problem I had listed no errors though.
|
|
|
10-28-2006, 03:29 PM
|
#3
|
Member
Registered: Jul 2006
Location: Runcorn, England
Distribution: Ubuntu 6.06 & 6.1, Mandriva 2007, Knoppix
Posts: 72
Original Poster
Rep:
|
I've tracked the problem down a bit further.
Its when I install the plugin for Macromedia Flash Player from the Linuxquestions.org home page and from other websites.
I've deleted the libflashplayer.so file and it seems to work ok, I just don't get flash enable websites working properly.
|
|
|
10-28-2006, 06:31 PM
|
#4
|
Member
Registered: Feb 2005
Distribution: Ubuntu 6.10
Posts: 30
Rep:
|
Hmm... i've had a similar problem, but it was not just sites with javascript, i've also found sites crash with firefox that have complex CSS scripts. After googling around a bit i found that it (in my case) there was a bug in the default nvidia driver that was responsible for the crashes, the solution was to download the newest nvidia drivers (you get can them from apt-get... just make sure you add the right sources) and enable them (nvidia-glx-config enable in the terminal once you have the latest nvidia drivers installed)
Hope that helps 
|
|
|
10-28-2006, 11:10 PM
|
#5
|
LQ Newbie
Registered: Oct 2006
Location: Upstate NY
Distribution: Xubuntu 6.10 with Gnome
Posts: 6
Rep:
|
Yeah, I get the same thing, after I installed Firefox 2 and installed Flash Player using the Firefox plugin installer, and now when I go YouTube Firefox just dissapears. If anyone can fix this please respond, I would like to use Firefox 2, for I am going to try a previous version of Firefox (1.5).
|
|
|
10-29-2006, 01:10 AM
|
#6
|
LQ Newbie
Registered: Oct 2006
Location: Upstate NY
Distribution: Xubuntu 6.10 with Gnome
Posts: 6
Rep:
|
I fixed the probably (atleast for me). What I did was edit the etc/X11/xorg.conf file:
Where is says DefaultDepth 24 - I changed that from 16, and the problem as appeared to be solved.
Section "Screen"
Identifier "Default Screen"
Device "S3 Inc. 86C270-294 Savage/IX-MV"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768"
EndSubSection
Note: My system is:
IBM Thinkpad T22
512Mb RAM
Kubuntu 6.10 (Edgy)
KDE version 3.5.5
Firefox 2.0 (installed using Adept Manager Manage Packages)
Shockwave Flash 7.0 r68 (Installed using Firefox plugin installer - clicked install missing plugins)
|
|
|
10-29-2006, 04:15 PM
|
#7
|
Member
Registered: Jul 2006
Location: Runcorn, England
Distribution: Ubuntu 6.06 & 6.1, Mandriva 2007, Knoppix
Posts: 72
Original Poster
Rep:
|
I've not tried this yet, but maybe this is the answer to Firefox crashing after Flashplayer is installed.
http://ubuntuguide.org/wiki/Ubuntu_E...ozilla_Firefox
|
|
|
11-02-2006, 10:48 AM
|
#8
|
LQ Newbie
Registered: Sep 2006
Location: london
Distribution: kubuntu 6.10
Posts: 11
Rep:
|
I too seems to be suffering the same fate upon upgrading firefox via apt-get. The problem started after installing the macromedia flash player and since then I've tried all suggestions from forums and go ogle. I tried to edit the /usr/bin/firefox as suggested in Ubuntu edgy wiki but i received an error that i do not understand. However i did also get a administrator login prompt and after inserting my password it opened firefox with the kubuntu page on. Anyway the error when typing kdesu /usr/bin/firefox:
X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
/bin/sh:
/usr/bin/esd: not found
The program 'Gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 118 error_code 8 request_code 144 minor_code 3)
(Note to programmers: normall
y, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your
debugger if you break on the gdk_x_error() function.)
If anyone can make sense of this then post a reply.
|
|
|
11-02-2006, 11:58 AM
|
#9
|
LQ Newbie
Registered: Sep 2006
Location: london
Distribution: kubuntu 6.10
Posts: 11
Rep:
|
Firefox problem solved (hopefully). Despite the error message i was receiving i did edit file /usr/bin/firefox and added the comment:export XLIB_SKIP_ARGB_VISUALS=1 . No more firefox crashes so far. Thanks to all who contributed.
|
|
|
All times are GMT -5. The time now is 10:08 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|