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 |
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.
|
|
08-20-2012, 12:50 PM
|
#1
|
Senior Member
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983
|
reverse ssh howto force a new instance of either FF or Chrome
on the remote computer.
I have reverse ssh working from my house to the office. I can get applications like Putty or gedit to open without an issue, but when i try to open chrome or firefox i get a display error and a msg telling me it is already running, as it is, and that it will open a new screen on my work computer.
it never brings it to the home computer.
what options do i need to add to get /usr/bin/google-chrome to open on the computer at the house via ssh?
|
|
|
08-20-2012, 12:56 PM
|
#2
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
I've not played with Chrome in this way but with Firefox you can only have one instance of each profile open at a time. So the only way to have Firefox open on two difference X displays is to open a different profile on each.
I'm being lazy so just googled quickly and found this:
http://www.callum-macdonald.com/abou...fox-instances/
The principals apply whenever you're running Firefox on different X servers though which includes remote ones.
You may also need to specify the DISPLAY variable to Firefox when opening remotely.
Last edited by 273; 08-20-2012 at 01:03 PM.
Reason: Very bad fingers, as seen below.
|
|
1 members found this post helpful.
|
08-20-2012, 12:58 PM
|
#3
|
LQ Guru
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573
|
Quote:
Originally Posted by 273
I've not played with Chrome in this way but with Firefox you acn only have one instance of each profile o
|
Chrome works the same way - the way around it is to make a second profile for these remote connections.
|
|
1 members found this post helpful.
|
08-20-2012, 01:06 PM
|
#4
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
I don't have Chrome but Chromium does this
Code:
$ chromium
Created new window in existing browser session.
Meaning it opens another window on the same desktop as the first -- so running it remotely doesn't work (neither does it work on a monitor set as a separate X desktop). Perhaps if a DISPLAY is passed to it?
|
|
|
08-20-2012, 01:29 PM
|
#5
|
LQ Guru
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573
|
Quote:
Originally Posted by 273
I don't have Chrome but Chromium does this
Code:
$ chromium
Created new window in existing browser session.
Meaning it opens another window on the same desktop as the first -- so running it remotely doesn't work (neither does it work on a monitor set as a separate X desktop). Perhaps if a DISPLAY is passed to it?
|
Tried that before, still doesn't work. The only solution I've found is to set up a new profile.
I run separate X desktops on my machine at work, and I have to have a separate profile for each. The launcher in the taskbar for one monitor is:
Code:
/opt/google/chrome/google-chrome %U
The other monitor is:
Code:
/opt/google/chrome/google-chrome %U --user-data-dir=~/.config/google-chrome0
It works fine, the only downside is you can't share bookmarks between them. So when I want to add a new bookmark, I have to add it to each of them separately.
|
|
2 members found this post helpful.
|
08-20-2012, 01:33 PM
|
#6
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
Ah, so the same as Firefox then. Good to know, thanks.
|
|
|
08-20-2012, 02:44 PM
|
#7
|
Senior Member
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983
Original Poster
|
thanks all. glad it is something semi easy to resolve.
|
|
|
All times are GMT -5. The time now is 08:38 PM.
|
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
|
|