Opened 14 years ago
Last modified 14 years ago
#57 assigned defect
x11vncをxinetd経由で用いると、勝手にログアウトする
Reported by: | mitty | Owned by: | mitty |
---|---|---|---|
Priority: | critical | Component: | research |
Keywords: | vnc,x11,x11vnc,xinetd,logout | Cc: |
Description (last modified by mitty)
- see also wiki:TipAndDoc/network/vnc#x11vnc
- Ubuntu 10.10 Maverick on VMware Workstation 7.1.3
Linux ubuntu-pxe 2.6.35-27-generic #48-Ubuntu SMP Tue Feb 22 20:25:46 UTC 2011 x86_64 GNU/Linux
- $ x11vnc --version
x11vnc: 0.9.10 lastmod: 2010-04-28
- $ aptitude show xinetd
1:2.3.14-7ubuntu3
- Xface4 on Xubuntu
4.6.2 (Xfce 4.6)
- UltraVNC Win32 viewer 1.0.5
- SSH forwarding to localhost:5900
- /etc/xinetd.d/x11vnc
service x11vnc { port = 5900 type = UNLISTED socket_type = stream protocol = tcp wait = no only_from = 127.0.0.1 user = root server = /usr/bin/x11vnc server_args = -display :0 -auth guess -nopw -localhost -inetd -o /var/log/x11vnc.log disable = no }
Change History (5)
comment:1 Changed 14 years ago by mitty
- Description modified (diff)
- Status changed from new to assigned
comment:2 Changed 14 years ago by mitty
comment:3 Changed 14 years ago by mitty
- VMwareのコンソールから直接ログオンすると問題は起きない
- 10分程度放置
- コンソールから直接ログオンしたまま、VNCを接続(上記コンソールセッションに接続される)すると、2分後くらいに勝手にログアウトする
- /var/log/daemon.log
Mar 8 01:03:51 ubuntu-pxe NetworkManager[855]: <error> [1299513831.196583] [nm-manager.c:1317] user_proxy_init(): could not init user settings proxy: (3) Could not get owner of name 'org.freedesktop.NetworkManagerUserSettings': no such name Mar 8 01:03:51 ubuntu-pxe acpid: client 3755[0:0] has disconnected Mar 8 01:03:51 ubuntu-pxe acpid: client connected from 4167[0:0] Mar 8 01:03:51 ubuntu-pxe acpid: 1 client rule loaded Mar 8 01:03:51 ubuntu-pxe NetworkManager[855]: <error> [1299513831.618945] [nm-manager.c:1317] user_proxy_init(): could not init user settings proxy: (3) Could not get owner of name 'org.freedesktop.NetworkManagerUserSettings': no such name Mar 8 01:03:51 ubuntu-pxe gnome-session[4189]: WARNING: Could not launch application 'metacity.desktop': Unable to start application: Failed to execute child process "metacity" (No such file or directory) Mar 8 01:03:51 ubuntu-pxe gnome-session[4189]: WARNING: Could not launch application 'gnome-power-manager.desktop': Unable to start application: Failed to execute child process "gnome-power-manager" (No such file or directory) Mar 8 01:03:52 ubuntu-pxe gdm-simple-greeter[4205]: Gtk-WARNING: /build/buildd/gtk+2.0-2.22.0/gtk/gtkwidget.c:5684: widget not within a GtkWindow Mar 8 01:03:53 ubuntu-pxe gdm-simple-greeter[4205]: Gtk-WARNING: gtk_widget_size_allocate(): attempt to allocate widget with width 193 and height -1 Mar 8 01:03:53 ubuntu-pxe gdm-simple-greeter[4205]: CRITICAL: murrine_style_draw_box: assertion `height >= -1' failed Mar 8 01:03:53 ubuntu-pxe gdm-simple-greeter[4205]: Gtk-WARNING: gtk_widget_size_allocate(): attempt to allocate widget with width 193 and height -1 Mar 8 01:03:53 ubuntu-pxe gdm-simple-greeter[4205]: CRITICAL: murrine_style_draw_box: assertion `height >= -1' failed
comment:4 Changed 14 years ago by mitty
- /etc/xinetd.d/x11vnc を以下のように変更したが効果無し
@@ -8,6 +8,6 @@ only_from = 127.0.0.1 user = root server = /usr/bin/x11vnc - server_args = -display :0 -auth guess -nopw -localhost -inetd -o /var/log/x11vnc.log + server_args = -display :0 -auth guess -nopw -localhost -inetd -o /var/log/x11vnc.log -forever -bg disable = no }
comment:5 Changed 14 years ago by mitty
- Summary changed from x11vncをxinetd経由で用いると、まれに勝手にログアウトする to x11vncをxinetd経由で用いると、勝手にログアウトする
Note: See
TracTickets for help on using
tickets.
logon Xface4 session with VNC