ssh on F14 complains when I run emacs with X11 port forwarding

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

 



On F14's desktop, from gnome-terminal, I ssh to another host with port forwarding (ForwardX11 yes, and ForwardX11Trusted yes). On the other host, I start emacs. Emacs appears to come up properly, with its window tunneled, and opening on my desktop. Everything looks normal, but I notice that the original gnome-terminal has a burst of about half-a-dozen ugly "connect : Connection refused" complaints.

Some experimentation shows that this error is not coming from the host where I started emacs, but from the ssh client I started on my desktop. strace shows this:

connect(7, {sa_family=AF_FILE, path=@"/tmp/.X11-unix/X0"}, 110) = -1 ECONNREFUSED (Connection refused)
close(7)                                = 0
write(2, "connect : Connection refused\r\n", 30) = 30

The ssh client is attempting to make a connection to this AF_FILE socket, gets blown off, and whines to stderr.

Now, as far as I can tell, emacs appears to be running fine, but something is broken.

fuser shows that /tmp/.X11-unix/X0 is held open by Xorg:

[root@lc2440 ~]# fuser /tmp/.X11-unix/X0
/tmp/.X11-unix/X0:    7524
[root@lc2440 ~]# ps -ef | grep 7524
root 7524 7520 2 23:43 tty7 00:00:13 /usr/bin/Xorg :0 -br -verbose -auth /var/run/gdm/auth-for-gdm-zEGonr/database -nolisten tcp

Xorg has this socket open, but ssh can't connect to it. Not sure what the bug is, here. Who should get this bug in bugzilla?

Attachment: pgpG9dwSoDyae.pgp
Description: PGP signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[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