On 10/19/2016 07:35 AM, Tim wrote: > On Wed, 2016-10-19 at 11:29 +0100, Gary Stainburn wrote: >> Be aware though that Firefox seems to try to be clever. I use this >> technique from home to access intranet web sites by first making an >> inbound SSH connection. However, if I already have Firefox running >> locally, then try to start a remote Firefox via the SSH connection, it >> seems to want to action it via the local Firefox instance > > That can be avoided by using "firefox -no-remote" as your command to > start Firefox. While the name of the option sounds counter-intuitive, > think of it as your command to run a new instance of Firefox, as opposed > to remotely controlling an already running instance (such as loading a > new address in a tab). > > When you run Firefox, you don't actually run it directly, you're calling > its handler program. That handler is making a decision about how to use > Firefox. > > See: man firefox I've done this before. Essentially: 1. Ensure "X11Forwarding yes" is set in the REMOTE system's /etc/ssh/sshd_config file and make sure sshd has been restarted to read it. 2. Run "xhost +" as root on the LOCAL system to permit everyone to make connections to the LOCAL system's X server. 2. "su - unprivileged-user-name" on the LOCAL machine. 3. "ssh -X user@REMOTEHOST" to log into the REMOTE machine. 4. Verify you have a DISPLAY variable set by doing "echo $DISPLAY" on the REMOTE machine. You should get a value like "localhost:10.0", indicating you have X forwarded. 5. Run "firefox" on the REMOTE machine. The display should pop up on your local machine. This has worked for me for a long time. ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@xxxxxxxxxxxxxx - - AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 - - - - The world is coming to an end ... SAVE YOUR FILES!!! - ---------------------------------------------------------------------- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx