Problem forwarding gnome using X11 and SSH

Hello all,

Ok, I've been trying to forward the entire gnome desktop to my mac for a while now and keep running into the same problem:

SESSION_MANAGER=local/unix:/tmp/.ICE-unix/3010
Window manager warning: Screen 0 on display "localhost:10.0" already has a window manager
Window manager warning: Screen 0 on display "localhost:10.0" already has a window manager
Unable to connect to yum-updatesd. Please ensure that the yum-updatesd
package is installed and that the service is running.

** (nautilus:3039): WARNING **: Can not caclulate NET_NUMBER_OFDESKTOPS

** (nautilus:3039): WARNING **: Can not calculate NET_NUMBER_OFDESKTOPS

** (nautilus:3039): WARNING **: Can not get NETWORKAREA

** (nautilus:3039): WARNING **: Can not determine workarea, guessing at layout

** (gnome-panel:3038): WARNING **: Failed to authenticate with GDM

These error messages come after using SSH with -X to log into the remote machine and running gnome-session. I then get the error messages, and the gnome desktop in a quasi full screen setup, its just not usable. I then have to kill X11 to remove the gnome desktop which is place on top of all the other windows. I've tried enabling "Full screen mode" in X11 preferences and using the key commands to toggle between full screen and windowed without success.

Any thoughts?

MacBook Pro - 2.0 GHz Core Duo - 2 GB Memory, Mac OS X (10.5.2)

Posted on Mar 21, 2008 7:32 AM

Reply
11 replies

Mar 21, 2008 10:43 AM in response to robkal

I just tired it (with Ubuntu) and it seems to work ok, and then the whole screen goes blue (probably my default desktop). But when I use the F8 key to see all my OS X desktops, I can see the whole of the gnome environment, so I think it must be some sort of spaces/x11 bug. The same thing happens with xfce4-session, so I don't think it is gnome per se.

Maybe try with spaces turned off?


Edit: No. That didn't work. X11 bug.

Grr.

Mar 30, 2008 6:39 PM in response to robkal

Hello....is there any further information on this topic?

I am also trying to forward the Gnome desktop to the Mac and get the same warnings. The desktop is clearly there but I am unable to get to it. I can see it using Expose but when i switch to it the only visible trace of Gnome is the background image and a few icons...that are not selectable.

Any idea how to correct this problem?

Cheers...

Jul 11, 2008 2:25 AM in response to Bill Scott

That is basically what I do, but you don't need to create extra xinitrc scripts. All you need to do is run the appropriate commands. For instance, here's how I might start a full-blown GNOME desktop environment on my Mac OS X 10.5.4 system so that I have full access to the menu bars and what not. Obviously, this requires X11 to be installed and all that good stuff.

-----

MyMachine:~ meitar$ ssh -X username@my.linux.machine
username@my.linux.machine's password:
Last login: Fri Jul 11 18:58:41 2008 from MyMachine
[username@my.linux.machine ~]$ echo $DISPLAY
localhost:10.0
[username@my.linux.machine ~]$ Xnest :1 &
[1] 32215
[username@my.linux.machine ~]$ Couldn't get keyboard.

[username@my.linux.machine ~]$ gnome-session --display :1
SESSION_MANAGER=local/my.linux.machine:/tmp/.ICE-unix/32216

** (eggcups:32254): WARNING **: IPP request failed with status 1030

** (eggcups:32254): WARNING **: IPP request failed with status 1030
Initializing nautilus-open-terminal extension

-----

The trick is to create pick the right X displays. As you can see, I first echo $DISPLAY to check which display ssh has forward to (in this case it was localhost:10.0, or :0), so I run Xnest and attach it to display :1.

At this point. A blank (black) Xnest window opens up in the Mac's X11 application. It looks like nothing's happening and that's because Xnest is running as a server for the X11.app client without any clients of its own. So all you need to do is start one.

To start a full-blown GNOME desktop instance, run gnome-session and pass it the --display option with whatever display you've attached Xnest to, in my case this is :1.

Hope this helps.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Problem forwarding gnome using X11 and SSH

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.