Re: starting remote firefox via SSH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Allegedly, on or about 19 October 2016, Rick Stevens sent:
> 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. 

It's an issue with Firefox, chiefly.  It tries to be clever, and use an
already (locally) running Firefox instance if there is one.

Sure, if there isn't any Firefox running at the time, then issuing the
command will run Firefox on the remote computer displaying on the local
machine.  But, if if Firefox was already running locally, then any
attempt to run Firefox, will (usually) re-use the local one.

-- 
[tim@localhost ~]$ uname -rsvp
Linux 3.9.10-100.fc17.x86_64 #1 SMP Sun Jul 14 01:31:27 UTC 2013 x86_64

Boilerplate:  All mail to my mailbox is automatically deleted, there is
no point trying to privately email me, I only get to see the messages
posted to the mailing list.

Lucky for you I typed this, you'd never be able to read my handwriting.


_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]
  Powered by Linux