LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1297|回复: 1

远程启动gnome的问题

[复制链接]
发表于 2007-6-21 08:38:57 | 显示全部楼层 |阅读模式
我在家里的windows上面用putty ssh登录到远程的debian上面,选了X11 forwarding(不是xdmcp)。然后用gnome-session启动gnome桌面环境。因为debian的本地登录是用GDM,所以在远程启动gnome以后,在终端里显示了一些警告和错误,好像是一些配置问题(dbus, metacity session file, xkb 等等)。哪位有经验的能帮我看看吗?多谢了。
另外应该怎么样配置,可以让gnome-session命令启动gnome和用gdm启动gnome是一样的配置?

终端里的显示如下:

debian:~$ gnome-session&
[1] 4898

debian:~$ SESSION_MANAGER=local/debian:/tmp/.ICE-unix/4898
** (process:4903): WARNING **: couldn't connect to dbus session bus: Failed to connect to socket /tmp/dbus-8dDaFoEhrv: Connection refused

debian:~$
(gnome-session:4898): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
Window manager warning: Failed to read saved session file /home/mike/.metacity/sessions/default0.ms: Failed to open file '/home/mike/.metacity/sessions/default0.ms': No such file or directory
Window manager warning: Log level 32: could not find XKB extension.
Initializing gnome-mount extension

(gnome-panel:4927): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -9 and height 24

** (gnome-panel:4927): WARNING **: Failed to authenticate with GDM
** Message: Could not connect to power manager: Could not get owner of name 'org.gnome.PowerManager': no such name

** (gnome-panel:4927): WARNING **: Failed to authenticate with GDM
Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0.  This shouldn't happen!
发表于 2007-6-21 13:39:54 | 显示全部楼层
你先看看下面这些参数:
echo $DISPLAY

如果是类似 localhost:10.0 这样的信息,表明你的ssh支持ForwardX11

注:
远程X的支持,是需要客户端和服务器端都支持ForwardX11的
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表