Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 7th June 2011, 01:36 PM
vorand Offline
Registered User
 
Join Date: Jun 2011
Posts: 2
linuxfirefox
SSH X forwarding trouble/

Hello, guys.
Yesterday, I installed Fedora 15 to my server. I preffer to work over SSH and I enable X forwarding.
My configurational file:

/etc/ssh/sshd_config:

X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes

From my laptop I run next commands

ssh -X user@xx.xx.xx.xx
startx

and the session start on server, no redirect occur.

Next output I saw in terminal
X.Org X Server 1.10.2
Release Date: 2011-05-28
X Protocol Version 11, Revision 0
Build Operating System: x86-17 2.6.32-71.14.1.el6.x86_64
Current Operating System: Linux fc15.vorand.ru 2.6.38.6-27.fc15.i686 #1 SMP Sun May 15 17:57:13 UTC 2011 i686
Kernel command line: ro root=/dev/mapper/vg_fc15-lv_root rd_LVM_LV=vg_fc15/lv_root rd_LVM_LV=vg_fc15/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
Build Date: 30 May 2011 12:42:31AM
Build ID: xorg-x11-server 1.10.2-1.fc15
Current version of pixman: 0.20.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Jun 7 19:35:09 2011
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
gnome-session-is-accelerated: No hardware 3D support.
gnome-session-check-accelerated: Helper exited with code 256
gnome-session[13496]: WARNING: Session 'gnome' runnable check failed: Завершено с кодом 1
GNOME_KEYRING_CONTROL=/tmp/keyring-xtKFZs
GNOME_KEYRING_PID=13515
GNOME_KEYRING_CONTROL=/tmp/keyring-xtKFZs
GNOME_KEYRING_CONTROL=/tmp/keyring-xtKFZs
GPG_AGENT_INFO=/tmp/keyring-xtKFZs/gpg:0:1
GNOME_KEYRING_CONTROL=/tmp/keyring-xtKFZs
GPG_AGENT_INFO=/tmp/keyring-xtKFZs/gpg:0:1
SSH_AUTH_SOCK=/tmp/keyring-xtKFZs/ssh

(gnome-settings-daemon:13519): PackageKit-WARNING **: failed to set proxy: failed to obtain auth

(gnome-settings-daemon:13519): updates-plugin-WARNING **: failed to set proxies: failed to obtain auth
[1307450111,000,xklavier.c:xkl_engine_start_listen/] The backend does not require manual layout management - but it is provided by the application
Failed to play sound: File or data not found
** Message: applet now removed from the notification area

(nm-applet:13570): Gtk-CRITICAL **: gtk_cairo_should_draw_window: assertion `GDK_IS_WINDOW (window)' failed

(nm-applet:13570): Gtk-CRITICAL **: gtk_cairo_should_draw_window: assertion `GDK_IS_WINDOW (window)' failed
Initializing nautilus-gdu extension
** Message: applet now embedded in the notification area

(nm-applet:13570): Gtk-CRITICAL **: gtk_cairo_should_draw_window: assertion `GDK_IS_WINDOW (window)' failed

(gnome-power-manager:13602): Gtk-CRITICAL **: gtk_cairo_should_draw_window: assertion `GDK_IS_WINDOW (window)' failed

(nm-applet:13570): Gtk-CRITICAL **: gtk_cairo_should_draw_window: assertion `GDK_IS_WINDOW (window)' failed

(nm-applet:13570): Gtk-CRITICAL **: gtk_cairo_should_draw_window: assertion `GDK_IS_WINDOW (window)' failed

(gnome-power-manager:13602): Gtk-CRITICAL **: gtk_cairo_should_draw_window: assertion `GDK_IS_WINDOW (window)' failed

(gnome-sound-applet:13561): Gtk-CRITICAL **: gtk_cairo_should_draw_window: assertion `GDK_IS_WINDOW (window)' failed

(nm-applet:13570): Gtk-CRITICAL **: gtk_cairo_should_draw_window: assertion `GDK_IS_WINDOW (window)' failed

(gnome-power-manager:13602): Gtk-CRITICAL **: gtk_cairo_should_draw_window: assertion `GDK_IS_WINDOW (window)' failed

(gnome-sound-applet:13561): Gtk-CRITICAL **: gtk_cairo_should_draw_window: assertion `GDK_IS_WINDOW (window)' failed

(gnome-settings-daemon:13519): updates-plugin-WARNING **: failed to open directory: Произошла ошибка при открытии каталога «/run/udev/firmware-missing»: Нет такого файла или каталога


So If somebody can help me, please help
Reply With Quote
  #2  
Old 7th June 2011, 01:50 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,149
linuxfedorafirefox
Re: SSH X forwarding trouble/

Don't use startx.

Startx is used to start an X server on an unused graphics display.

Just start your application:

Code:
ssh -X user@xx.xx.xx.xx <application name>
And the window created by your application will show up.
Reply With Quote
  #3  
Old 7th June 2011, 02:14 PM
vorand Offline
Registered User
 
Join Date: Jun 2011
Posts: 2
linuxfirefox
Re: SSH X forwarding trouble/

Thank's, jpollard for you answer.
So I hame a some questions to you.

1. How can I redirect to my laptop full desktop enviroment, not single application? Previously, I used FC12 and Xming on winXP and gnome-session redirected full destop to Xming.

NOW I enter command
ssh -X user@xx.xx.xx.xx gnome-session , and I have next trace output


[vorand@fc15 ~]$ gnome-session
*** glibc detected *** gnome-session: double free or corruption (!prev): 0x083a3a48 ***
======= Backtrace: =========
/lib/libc.so.6[0x4f7e4f95]
/usr/lib/libXi.so.6(XIFreeDeviceInfo+0x33)[0x4fe97893]
/usr/lib/libgdk-3.so.0[0x418287ac]
/lib/libgobject-2.0.so.0(g_object_newv+0x85a)[0x4fb066da]
/lib/libgobject-2.0.so.0(g_object_new_valist+0x22b)[0x4fb0714b]
/lib/libgobject-2.0.so.0(g_object_new+0x80)[0x4fb073a0]
/usr/lib/libgdk-3.so.0[0x41826f25]
/usr/lib/libgdk-3.so.0[0x4182bb0b]
/usr/lib/libgdk-3.so.0[0x41829c57]
/usr/lib/libgdk-3.so.0(gdk_display_manager_open_display+0x18)[0x41809e88]
/usr/lib/libgdk-3.so.0(gdk_display_open+0x25)[0x418091f5]
/usr/lib/libgdk-3.so.0(gdk_display_open_default_libgtk_only+0x6d)[0x418013cd]
/usr/lib/libgtk-3.so.0[0x414fd794]
/lib/libglib-2.0.so.0(g_option_context_parse+0x2e8)[0x4fa04e28]
/usr/lib/libgtk-3.so.0(gtk_init_with_args+0xd0)[0x414fdcf0]
gnome-session[0x80505e1]
/lib/libc.so.6(__libc_start_main+0xf3)[0x4f78b513]
gnome-session[0x8050b55]
======= Memory map: ========
0097b000-00986000 r-xp 00000000 fd:01 1354 /lib/libnss_files-2.13.90.so
00986000-00987000 r--p 0000a000 fd:01 1354 /lib/libnss_files-2.13.90.so
00987000-00988000 rw-p 0000b000 fd:01 1354 /lib/libnss_files-2.13.90.so
00b27000-00b28000 r-xp 00000000 00:00 0 [vdso]
08048000-08082000 r-xp 00000000 fd:01 151547 /usr/bin/gnome-session
08082000-08086000 rw-p 00039000 fd:01 151547 /usr/bin/gnome-session
08380000-083c2000 rw-p 00000000 00:00 0 [heap]
41010000-41032000 r-xp 00000000 fd:01 150772 /usr/lib/libgdk_pixbuf-2.0.so.0.2300.3
41032000-41033000 rw-p 00021000 fd:01 150772 /usr/lib/libgdk_pixbuf-2.0.so.0.2300.3
41035000-4117d000 r-xp 00000000 fd:01 141636 /usr/lib/libxml2.so.2.7.8
4117d000-41182000 rw-p 00147000 fd:01 141636 /usr/lib/libxml2.so.2.7.8
41182000-41183000 rw-p 00000000 00:00 0
41185000-41187000 r-xp 00000000 fd:01 150770 /usr/lib/libXcomposite.so.1.0.0
41187000-41188000 rw-p 00001000 fd:01 150770 /usr/lib/libXcomposite.so.1.0.0
4118a000-41195000 r-xp 00000000 fd:01 150450 /usr/lib/libpangocairo-1.0.so.0.2800.4
41195000-41196000 rw-p 0000a000 fd:01 150450 /usr/lib/libpangocairo-1.0.so.0.2800.4
41198000-411c4000 r-xp 00000000 fd:01 150242 /usr/lib/libpangoft2-1.0.so.0.2800.4
411c4000-411c5000 rw-p 0002b000 fd:01 150242 /usr/lib/libpangoft2-1.0.so.0.2800.4
411c7000-4127b000 r-xp 00000000 fd:01 150006 /usr/lib/libcairo.so.2.11000.2
4127b000-4127d000 rw-p 000b3000 fd:01 150006 /usr/lib/libcairo.so.2.11000.2
4127d000-4127f000 rw-p 00000000 00:00 0
41281000-4128a000 r-xp 00000000 fd:01 150769 /usr/lib/libXcursor.so.1.0.2
4128a000-4128b000 rw-p 00008000 fd:01 150769 /usr/lib/libXcursor.so.1.0.2
4128d000-4128f000 r-xp 00000000 fd:01 150751 /usr/lib/libXinerama.so.1.0.0
4128f000-41290000 rw-p 00001000 fd:01 150751 /usr/lib/libXinerama.so.1.0.0
41292000-412af000 r-xp 00000000 fd:01 150775 /usr/lib/libatk-1.0.so.0.9.1
412af000-412b1000 rw-p 0001c000 fd:01 150775 /usr/lib/libatk-1.0.so.0.9.1
412b3000-412fa000 r-xp 00000000 fd:01 141640 /usr/lib/libpango-1.0.so.0.2800.4
412fa000-412fc000 rw-p 00046000 fd:01 141640 /usr/lib/libpango-1.0.so.0.2800.4
41381000-413a5000 r-xp 00000000 fd:01 135101 /usr/lib/libdbus-glib-1.so.2.1.0
413a5000-413a6000 rw-p 00024000 fd:01 135101 /usr/lib/libdbus-glib-1.so.2.1.0
413a8000-413ac000 r-xp 00000000 fd:01 14940 /lib/libuuid.so.1.3.0
413ac000-413ad000 rw-p 00003000 fd:01 14940 /lib/libuuid.so.1.3.0
413af000-417de000 r-xp 00000000 fd:01 150776 /usr/lib/libgtk-3.so.0.0.10
417de000-417e4000 rw-p 0042e000 fd:01 150776 /usr/lib/libgtk-3.so.0.0.10
417e4000-417e5000 rw-p 00000000 00:00 0
417e7000-417ec000 r-xp 00000000 fd:01 150773 /usr/lib/libcairo-gobject.so.2.11000.2
417ec000-417ed000 rw-p 00005000 fd:01 150773 /usr/lib/libcairo-gobject.so.2.11000.2
417ef000-41863000 r-xp 00000000 fd:01 150774 /usr/lib/libgdk-3.so.0.0.10
41863000-41866000 rw-p 00074000 fd:01 150774 /usr/lib/libgdk-3.so.0.0.10
418fe000-4190e000 r-xp 00000000 fd:01 150883 /usr/lib/libupower-glib.so.1.0.1
4190e000-4190f000 rw-p 0000f000 fd:01 150883 /usr/lib/libupower-glib.so.1.0.1
41d7d000-41d82000 r-xp 00000000 fd:01 150915 /usr/lib/libXtst.so.6.1.0
41d82000-41d83000 rw-p 00004000 fd:01 150915 /usr/lib/libXtst.so.6.1.0
41d9c000-41da3000 r-xp 00000000 fd:01 150830 /usr/lib/libSM.so.6.0.1
41da3000-41da4000 rw-p 00006000 fd:01 150830 /usr/lib/libSM.so.6.0.1
41ec8000-41f1b000 r-xp 00000000 fd:01 150786 /usr/lib/libORBit-2.so.0.1.0
41f1b000-41f25000 rw-p 00052000 fd:01 150786 /usr/lib/libORBit-2.so.0.1.0
41f27000-41f3d000 r-xp 00000000 fd:01 141877 /usr/lib/libICE.so.6.3.0
41f3d000-41f3f000 rw-p 00015000 fd:01 141877 /usr/lib/libICE.so.6.3.0
41f3f000-41f40000 rw-p 00000000 00:00 0
41f6e000-41fa5000 r-xp 00000000 fd:01 150787 /usr/lib/libgconf-2.so.4.1.5
41fa5000-41fa8000 rw-p 00036000 fd:01 150787 /usr/lib/libgconf-2.so.4.1.5
4221e000-42258000 r-xp 00000000 fd:01 150852 /usr/lib/libcroco-0.6.so.3.0.1
42258000-4225b000 rw-p 00039000 fd:01 150852 /usr/lib/libcroco-0.6.so.3.0.1
42291000-422c7000 r-xp 00000000 fd:01 150853 /usr/lib/librsvg-2.so.2.32.1
422c7000-422c8000 rw-p 00036000 fd:01 150853 /usr/lib/librsvg-2.so.2.32.1
4f74f000-4f76e000 r-xp 00000000 fd:01 7451 /lib/ld-2.13.90.so
4f76e000-4f76f000 r--p 0001f000 fd:01 7451 /lib/ld-2.13.90.so
4f76f000-4f770000 rw-p 00020000 fd:01 7451 /lib/ld-2.13.90.so
4f772000-4f8fa000 r-xp 00000000 fd:01 7452 /lib/libc-2.13.90.so
4f8fa000-4f8fc000 r--p 00188000 fd:01 7452 /lib/libc-2.13.90.so
4f8fc000-4f8fd000 rw-p 0018a000 fd:01 7452 /lib/libc-2.13.90.so
4f8fd000-4f900000 rw-p 00000000 00:00 0
4f902000-4f919000 r-xp 00000000 fd:01 7821 /lib/libpthread-2.13.90.so
4f919000-4f91a000 r--p 00016000 fd:01 7821 /lib/libpthread-2.13.90.so
4f91a000-4f91b000 rw-p 00017000 fd:01 7821 /lib/libpthread-2.13.90.so
4f91b000-4f91d000 rw-p 00000000 00:00 0
4f91f000-4f922000 r-xp 00000000 fd:01 8652 /lib/libdl-2.13.90.so
4f922000-4f923000 r--p 00002000 fd:01 8652 /lib/libdl-2.13.90.so
4f923000-4f924000 rw-p 00003000 fd:01 8652 /lib/libdl-2.13.90.so
4f926000-4f92d000 r-xp 00000000 fd:01 7822 /lib/librt-2.13.90.so
4f92d000-4f92e000 r--p 00006000 fd:01 7822 /lib/librt-2.13.90.so
4f92e000-4f92f000 rw-p 00007000 fd:01 7822 /lib/librt-2.13.90.so
4f931000-4f95a000 r-xp 00000000 fd:01 8657 /lib/libm-2.13.90.so
4f95a000-4f95b000 r--p 00028000 fd:01 8657 /lib/libm-2.13.90.so
4f95b000-4f95c000 rw-p 00029000 fd:01 8657 /lib/libm-2.13.90.so
4f95e000-4f97b000 r-xp 00000000 fd:01 8729 /lib/libselinux.so.1
4f97b000-4f97c000 r--p 0001c000 fd:01 8729 /lib/libselinux.so.1
4f97c000-4f97d000 rw-p 0001d000 fd:01 8729 /lib/libselinux.so.1
4f97f000-4f99b000 r-xp 00000000 fd:01 8654 /lib/libgcc_s-4.6.0-20110509.so.1
4f99b000-4f99c000 rw-p 0001b000 fd:01 8654 /lib/libgcc_s-4.6.0-20110509.so.1
4f99e000-4f9b3000 r-xp 00000000 fd:01 8701 /lib/libz.so.1.2.5
4f9b3000-4f9b4000 rw-p 00014000 fd:01 8701 /lib/libz.so.1.2.5
4f9b6000-4face000 r-xp 00000000 fd:01 7824 /lib/libglib-2.0.so.0.2800.6
4face000-4facf000 rw-p 00118000 fd:01 7824 /lib/libglib-2.0.so.0.2800.6
4fad1000-4fad5000 r-xp 00000000 fd:01 7825 /lib/libgthread-2.0.so.0.2800.6Аварийный останов (core dumped)

WHAT DOES IT MEAN?
Reply With Quote
  #4  
Old 7th June 2011, 03:46 PM
AndrewSerk Offline
Registered User
 
Join Date: Oct 2010
Posts: 888
linuxredhatfirefox
Re: SSH X forwarding trouble/

ssh -Y user@xx.xx.xx.xx startx --/usr/bin/Xnest :3
Reply With Quote
  #5  
Old 7th June 2011, 08:43 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,149
linuxfedorafirefox
Re: SSH X forwarding trouble/

You have identified a bug in gnome-session.

But that said, you also don't run gnome-session that way.

Use of Xnest as shown by AndrewSerk will do it if Xnest is installed...
But gnome-session may still fail (if trying gnome3) due to limitations in Xnest. It doesn't have 3D acceleration - at least it didn't the last time I used it.

When a session is started, the X server is locked to prevent conflicts with window managers as only one window manager may be active at a time. Window managers control the presentation of control borders, how the root window menus work, and general handling of the display.

Normally window managers don't need any windows to control the display, other than those used with menus or general controls. Within that limit, you run applications that open windows - such as gnome-terminal, xterm, or other applications.

For the most part, it isn't necessary to run a complete environment that way (which is what Xnest will try to do). One of the limitations imposed by running Xnest is that cut-and-paste buffers cannot be shared between the Xnest window (which emulates a X server display) and the host Xserver. Xnest is running on the remote system, the real X server is running locally, and there is no communication path between them other than the window presenting the Xnest display. It has no server-to-server communication (interesting thought though... could be done if someone wrote a server extension for it...).
Reply With Quote
Reply

Tags
forwarding, ssh, trouble or

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
X11 Forwarding eXDee Using Fedora 2 26th March 2010 02:40 PM
port forwarding, not forwarding?!!! Stranger Servers & Networking 2 29th September 2005 07:53 AM
freezing during screensaver and trouble on reboot + gnome panel trouble bwalsh Using Fedora 0 5th July 2005 02:45 AM
FC3 ip forwarding Shock^ Servers & Networking 5 9th January 2005 11:48 AM
SSH X11 forwarding kama Servers & Networking 1 11th November 2004 10:11 AM


Current GMT-time: 22:17 (Tuesday, 18-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat