Hello,
I have the following situation:
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
When I start firefox with strace, it says:
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TKILL, si_pid=5575, si_uid=1003} --- rt_sigreturn({mask=[]}) = -1 EINTR (Interrupted system call) wait4(5592, 0x7ffeecd03cc4, 0, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
Similar problem is for Centos7 - firefox starts, but it's like hung - no url back, just gray window. Xclock export is fine. Windows putty session with firefox is fine
Can someone give a hint what I am doing wrong?
Regards,
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).
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@alldigital.com - - 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" - ----------------------------------------------------------------------
On Tue, Mar 29, 2016 at 7:50 PM, Rick Stevens ricks@alldigital.com wrote:
On 03/29/2016 08:15 AM, Matthew Miller wrote:
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.
Hello Rick and Matthew,
X forwarding is fine, wireshark/vlc/xclock are displayed, just browsers (firefox/seamonkey/chrome) are not working. I have tried in the beginning with --no-remote (I knew of the switch), but the result is the same :
[todor.petkov@fedora-vm ~]$ firefox --no-remote
and it stays like this, no graphic on my display.
I will try from another Linux workstation today.
Regards,
On Wed, Mar 30, 2016 at 10:19:52AM +0300, Todor Petkov wrote:
I will try from another Linux workstation today.
Ah. Try LIBGL_DRI3_DISABLE=1
See this thread:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/...