Re: running firefox over X tunneling (was Re: export of programs via ssh)

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

 



On 03/29/2016 08:15 AM, Matthew Miller wrote:
On Tue, Mar 29, 2016 at 05:59:00PM +0300, Todor Petkov wrote:
My workstation is Fedora 23, with the latest updates.
I have also several virtual machines with Fedora23 and Centos 5/6/7.
When I log in Fedora via ssh and try to run firefox from Fedora, there
is no activity, it just stays and no export is coming on my screen.
When I log in this machine via Windows (putty + xming), the export is
fine. I have no problems with the export of lets say wireshark/xclock.
The machine is with the latest firefox/kernel

Try 'firefox --no-remote' — otherwise, it will try to communicate with
any already-running firefox on your _local_ system ("remote" being a
kind of weird term for this).

This smells like X isn't being forwarded.

Todor, ssh to the machine and type in "echo $DISPLAY". You should see
something like "localhost:10.0". If you don't then you aren't
forwarding the display and firefox won't work.

On the remote machine (the one you're using ssh to contact), check the
/etc/ssh/sshd_conf file and verify you have

	X11Forwarding yes

set in that file. If not, put in the line and do

	sudo systemctl restart sshd

Log out and ssh back to it. Try the "echo $DISPLAY" again. If you see
something like "localhost:10.0", then try firefox again and the display
SHOULD show up on your local machine.

If you DON'T see the "localhost:10.0" thing, then log out again and
log in but use "ssh -X remotehostname" (where "remotehostname" is the
name of the machine you're trying to ssh to) to try normal X
forwarding. Try the "echo $DISPLAY" again. If you still don't get it,
log out and try "ssh -Y remotehostname" and repeat the echo command.
Some combination of that should get the DISPLAY environment variable
set.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
- "I was contemplating the immortal words of Socrates when he said,  -
- 'I drank WHAT?'"                   -- Val Kilmer in "Real Genius"  -
----------------------------------------------------------------------
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[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