LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-25-2006, 05:56 AM   #1
Gone Fishing
LQ Newbie
 
Registered: Oct 2006
Posts: 5

Rep: Reputation: 0
Firefox on Slackware 10.2: '-remote' command fails on a dual-head system


This is my first post to this forum. I have already asked this question on Firefox support at Mozilla but got 0 (zero) replies so I thought I'd ask here as there probably are more tech savy readers about.

I run Slackware 10.2 in a dual-head configuration with PWM as the window manager. I usually have firefox running on display :0.0. When I try to call firefox from display :0.1, usually from rmail or gnus, nothing happens. Trying from a shell prompt on display :0.1 gives this:

$ firefox -display=:0.0 -remote "openURL(localhost, new-tab)"; echo "$?"
Error: No running window found
2
NOTE: in the actual command I used the proper form for the URL but the system here won't let me post it.

and as a further test:

$ firefox -display=:0.0 -remote "ping()"; echo "$?"
Error: No running window found
2

When these commands are run from display :0.0 everything runs as expected with or without the '-display' option. As a further check, other programs, xterm, xeyes etc., work fine with the display option and appear where expected every time.

If anyone has any ideas on how to fix this or what the problem may be it would be much appreciated.

Joe
 
Old 10-26-2006, 03:32 PM   #2
Maestro485
Member
 
Registered: Apr 2004
Location: Pittsburgh
Distribution: Slackware
Posts: 136

Rep: Reputation: 16
For what it's worth, I've had a similar problem with Firefox and Slackware 10.2 on a dual-head also, except with KDE. If I open a Firefox window on one display and then attempt to open another Firefox instance on the second, Firefox complains that there's already a running process and it must be closed before the second instance will be opened.

Maybe the solution will be similar as well.

Matt Bragano
 
Old 10-26-2006, 05:34 PM   #3
Gone Fishing
LQ Newbie
 
Registered: Oct 2006
Posts: 5

Original Poster
Rep: Reputation: 0
So, we have pretty much the same problem.

AFAIK firefox has never been able to run more than one instance. In this case
however, I'm wondering if this is a Slackware/Firefox compatibilty issue as no other forums appear to have reported the problem or seem to have any ideas as to its solution.

Joe
 
Old 10-28-2006, 12:26 AM   #4
number22
Member
 
Registered: Sep 2006
Location: Earth
Distribution: Slackware 14.1 Slackware64-current multilib
Posts: 195
Blog Entries: 2

Rep: Reputation: Disabled
AFAIK, firefox can not share one profile at two different instance (display location); there can be only one lock file in your profile directory, however, once I had seemonkey build to work with dual display, Anyway, this is workaround:
first you create a second profile(or make a duplicate of firefox profile with different name):

firefox --display=:0.1 -ProfileManager

Create a Icon on your Desktop/Display with following command build-in:

firefox --display=:0.1 -browser -P name of your second profile

Modify your Icon on your other Desktop/Display with following command:

firefox --display=:0.0 -browser -P default

Last edited by number22; 10-28-2006 at 12:40 AM.
 
Old 10-28-2006, 07:18 AM   #5
Gone Fishing
LQ Newbie
 
Registered: Oct 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Interesting snippet filed for future reference. Thanks.

However, this doesn't really solve my problem which is using the -remote command from display :0.1 to open a URL in a new tab in an already running firefox on display :0.0. All I ever get is "Error: No running window found". I'm beginning to think it can't be done - does firefox implement the -display command properly - or at all? I'm just wondering because running

firefox -display=:0.0 -P default2

from a shell on display :0.1 starts a new instance on :0.1.

Anyway, as it's looking more like a firefox problem than a Slackware/firefox one, these questions would seem to be more appropriate for the firefox forums so I'll try there (again).

Thanks,

Joe
 
Old 10-28-2006, 03:57 PM   #6
number22
Member
 
Registered: Sep 2006
Location: Earth
Distribution: Slackware 14.1 Slackware64-current multilib
Posts: 195
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by Gone Fishing
However, this doesn't really solve my problem which is using the -remote command from display :0.1 to open a URL in a new tab in an already running firefox on display :0.0.
Ok, I thought you are trying to run two firefox at same time on two different display/monitors.

Check this link for remote on unix, http://www.mozilla.org/unix/remote.html.

and you may have to rebuild your firefox to support remote,

Last edited by number22; 10-28-2006 at 04:00 PM.
 
  


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
SUSE 10.1 Ati Dual head system problem botia Linux - Hardware 3 09-15-2006 07:37 PM
Multi-monitor Issues on RH9, Geforce 4 Ti Dual Head + TNT2 Single Head the letter b Linux - Newbie 3 12-05-2004 12:23 AM
x86 Solaris 9 XSun and Matrox G550 dual-head... one head down, one to go. finegan Solaris / OpenSolaris 4 03-11-2003 01:39 PM
gnome-terminal on a dual head system acid_kewpie Linux - Software 0 02-05-2003 01:34 PM
Dual-head Slackware (2.5.24) Linux gludeklis Linux - General 1 06-26-2002 04:29 PM


All times are GMT -5. The time now is 04:56 PM.

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