日時: 2008/05/28 14:32
名前: しゅう
こちらのサイトを拝見しfedora core8にてサーバー構築をいたしました。 外部からVPN経由でVNC(サーバーはlinux用のVNCサーバーを使用) 接続を行いたいと思い、チャレンジしましたが、外部からVPN接続しUltra VNCクライアントにて 接続を行うと下記の現象が出ます。 ご存じの方いらっしゃいましたらお教えください。 なお、VPNサーバーはこちらのサイトを参考に構築いたしました。
@ローカルからVNC接続すると正常にデスクトップ表示(VPNは使用しない) →xstartup内の設定はtwm,GMONE両者ともOK A外部よりVPN接続し、VNC接続するとtwm設定では接続可能 →但し、デスクトップは表示されず、SSH接続のようなコマンド画面表示 Bxstartupを下記のように変更しGMONE接続を行うと(ローカルでは接続OK) VNCクライアントが固まります。
<xstartup> #!/bin/sh
# Uncomment the following two lines for normal desktop: # unset SESSION_MANAGER # exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & gnome-session & #twm &
<固まった時のログ>
Xvnc Free Edition 4.1.2Copyright (C) 2002-2005 RealVNC Ltd.See http://www.realvnc.com for information on VNC.Underlying X server release 10300000, The X.Org FoundationWed May 28 13:30:41 2008 vncext: VNC extension running! vncext: Listening for VNC connections on port 5901 vncext: Listening for HTTP connections on port 5801 vncext: created VNC server for screen 0SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/6365,unix/unix:/tmp/.ICE-unix/6365** (process:6407): WARNING **: Error doing GetSessionForUnixProcess on ConsoleKit: org.freedesktop.DBus.GLib.UnmappedError.CkManagerError.Code0: Unable to lookup session information for process '6407'** (process:6407): CRITICAL **: polkit_session_set_uid: assertion `session != NULL' failedALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 0ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM front:0ALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 0ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM surround40:0ALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 0ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM surround41:0ALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 0ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM surround50:0ALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 0ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM surround51:0ALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 0ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM surround71:0ALSA lib pcm_hw.c:1207:(_snd_pcm_hw_open) Invalid value for cardALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 0ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM front:0ALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 0ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM surround40:0ALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 0ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM surround41:0ALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 0 ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM surround50:0 ALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 0 ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM surround51:0 ALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 0 ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM surround71:0 ALSA lib pcm_hw.c:1207:(_snd_pcm_hw_open) Invalid value for cardウィンドウ・マネージャの警告: 保存されたセッションファイル /home/mmtsystems/.metacity/sessions/default1.ms の読み込み>に失敗しました: ファイル '/home/mmtsystems/.metacity/sessions/default1.ms' を開けません: そのようなファイルやディレク>トリはありません 9 ** (nm-applet:6440): WARNING **: <WARN> applet_dbus_manager_start_service(): Could not acquire the NetworkManagerUserSettings service. Message: 'Connection ":1.97" is not allowed to own the service "org.freedesktop.NetworkManagerUserSettings" due to security policies in the configuration file'
(nm-applet:6440): GLib-CRITICAL **: g_hash_table_destroy: assertion `hash_table != NULL' failed
(nm-applet:6440): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(nm-applet:6440): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed system-config-printer-applet: failed to start NewPrinterNotification serviceERROR:dbus.proxies:Introspect error on :1.31:/Updatesd: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.DBus.Introspectable" member "Introspect" error name "(unset)" destination ":1.31") Unable to connect to yum-updatesd. Please ensure that the yum-updatesd package is installed and that the service is running. could not attach to desktop process
** (gnome-panel:6414): WARNING **: Failed to authenticate with GDM
** (gnome-panel:6414): WARNING **: panel-applet-frame.c:1293: failed to load applet OAFIID:TomboyApplet:'!prefs_key=/apps/panel/applets/tomboy/prefs;background=none:;orient=down;size=x-small;locked_down=false' の解決、あるいは拡張に失敗しました Unable to connect to yum-updatesd. Please ensure that the yum-updatesd package is installed and that the service is running. Unable to connect to yum-updatesd. Please ensure that the yum-updatesd package is installed and that the service is running. Unable to connect to yum-updatesd. Please ensure that the yum-updatesd package is installed and that the service is running. Unable to connect to yum-updatesd. Please ensure that the yum-updatesd package is installed and that the service is running. 以上よろしくお願いします。
|