[DD] 2012/11/09 20:45:52 main_loop.loop_init(False) [II] 2012/11/09 20:45:53 main_loop.loop_init(False) twisted version 12.0.0 [II] 2012/11/09 20:45:53 globals os.uname=('Linux', 'stommel', '3.2.0-3-amd64', '#1 SMP Mon Jul 23 02:45:17 UTC 2012', 'x86_64') [II] 2012/11/09 20:45:53 globals python package info: __version__=0.12.16 [II] 2012/11/09 20:45:53 globals version=0.12.16 (svn revision 5059 - 0 local modifications), built on winswitch.org by buildbot, 2012-09-11, release_build=True [II] 2012/11/09 20:45:53 globals uid=1074, username=rogeriobastos, name=Rogerio Bastos, hostname=stommel, locale=en_US, argv=[/usr/bin/winswitch_server --daemon] [II] 2012/11/09 20:45:53 globals Python version 2.7.3rc2 (default, Apr 22 2012, 22:30:17) [GCC 4.6.3] [II] 2012/11/09 20:45:53 process_util.() using twisted ProcessProtocol=winswitch.twisted.HiddenSpawnedProcess.HiddenSpawnedProcess [II] 2012/11/09 20:45:53 DistroHelper.__init__(wheezy,apt,{},{'nx': ['/usr/bin/nxproxy', '/usr/local/bin/nxproxy', '/usr/NX/bin/nxproxy'], 'windows': ['/usr/bin/rdesktop', '/usr/local/bin/rdesktop'], 'xpra': ['/usr/bin/xpra', '/usr/local/bin/xpra'], 'vnc': ['/usr/bin/vncviewer', '/usr/local/bin/vncviewer']}) [DD] 2012/11/09 20:45:53 DistroHelper.find_command(nx) paths=[/usr/bin/nxproxy, /usr/local/bin/nxproxy, /usr/NX/bin/nxproxy] [II] 2012/11/09 20:45:53 DistroHelper.find_command(nx) found in /usr/bin/nxproxy [DD] 2012/11/09 20:45:53 DistroHelper.find_command(xpra) paths=[/usr/bin/xpra, /usr/local/bin/xpra] [II] 2012/11/09 20:45:53 DistroHelper.find_command(xpra) found in /usr/bin/xpra [DD] 2012/11/09 20:45:53 DistroHelper.find_command(vnc) paths=[/usr/bin/vncviewer, /usr/local/bin/vncviewer] [II] 2012/11/09 20:45:53 DistroHelper.find_command(vnc) found in /usr/bin/vncviewer [DD] 2012/11/09 20:45:53 DistroHelper.find_command(windows) paths=[/usr/bin/rdesktop, /usr/local/bin/rdesktop] [II] 2012/11/09 20:45:53 DistroHelper.find_command(windows) found in /usr/bin/rdesktop [II] 2012/11/09 20:45:53 commands_util.() ssh=/usr/bin/ssh, keygen=/usr/bin/ssh-keygen, xpra=/usr/bin/xpra, nxagent=/usr/bin/nxagent, nxproxy=/usr/bin/nxproxy, vncviewer=/usr/bin/vncviewer, Xvnc=/usr/bin/Xvnc, vncshadow=/usr/bin/x0vncserver, rdesktop=/usr/bin/rdesktop, java=/usr/bin/java, screen=/usr/bin/screen, xterm=/usr/bin/xterm, Xming=, xmodmap=/usr/bin/xmodmap, Xvfb=/usr/bin/Xvfb, Xnest=/usr/bin/Xephyr, cupsd=/usr/bin/cupsd, gst_capture=/usr/lib/winswitch/gst_capture, gst_playback=/usr/lib/winswitch/gst_playback, app dir=/usr/lib/pymodules/python2.7/winswitch/server [II] 2012/11/09 20:45:53 net_util.() netifaces loaded sucessfully [II] 2012/11/09 20:45:53 net_util.() successfully loaded C library from libc.so.6 [DD] 2012/11/09 20:45:53 icon_cache.() pixmaps_dir=['/usr/share/winswitch/icons', '/usr/share/pixmaps', '/usr/share/icons/hicolor/48x48/apps', '/usr/share/icons', '/usr/share/winswitch/wm_icons', '/usr/share/winswitch/default_icons', '/usr/share/winswitch/wm_icons', '/usr/share/winswitch/default_icons', '/usr/share/winswitch/wm_icons'] [II] 2012/11/09 20:45:53 gstreamer_util.() found gst version GStreamer 0.10.36 and pygst version (0, 10, 22, 0) [DD] 2012/11/09 20:45:53 gstreamer_util.() found the following plugins: [adder, alsamixer, alsasink, alsasrc, appsink, appsrc, audioconvert, audiorate, audioresample, audiotestsrc, bin, capsfilter, cdparanoiasrc, decodebin, decodebin2, encodebin, fakesink, fakesrc, fdsink, fdsrc, ffmpegcolorspace, filesink, filesrc, funnel, gconfaudiosink, gconfaudiosrc, gconfvideosink, gconfvideosrc, gdpdepay, gdppay, giosink, giosrc, giostreamsink, giostreamsrc, identity, input-selector, multifdsink, multiqueue, oggaviparse, oggdemux, oggmux, oggparse, ogmaudioparse, ogmtextparse, ogmvideoparse, output-selector, pipeline, playbin, playbin2, playsink, queue, queue2, ssaparse, subparse, subtitleoverlay, tcpclientsink, tcpclientsrc, tcpserversink, tcpserversrc, tee, theoradec, theoraenc, theoraparse, typefind, uridecodebin, valve, videorate, videoscale, videotestsrc, volume, vorbisdec, vorbisenc, vorbisparse, vorbistag] [II] 2012/11/09 20:45:53 WinSwitchServer.__init__(False) sys.argv=[/usr/bin/winswitch_server, --daemon] [II] 2012/11/09 20:45:53 PortMapper.load_blacklisted_ports() this may take a few seconds... please be patient [DD] 2012/11/09 20:45:53 PortMapper.load_blacklisted_ports() loading from file /etc/winswitch/ports.conf [DD] 2012/11/09 20:45:53 PortMapper.load_blacklisted_ports() loaded 20 lines [II] 2012/11/09 20:45:53 PortMapper.load_blacklisted_ports() blacklisted_ports above 1024: [1024, 5900, 3389] [II] 2012/11/09 20:45:53 process_util.register_sigusr_debugging() signal debugging installed, use SIGUSR1/SIGUSR2 to enable/disable debug logging and frames dumping [DD] 2012/11/09 20:45:53 file_io.populate_object_from_properties({..},ServerSettings(),winswitch.objects.server_settings.ServerSettings,[],[],[],True,True) [DD] 2012/11/09 20:45:53 config.get_local_server_config() conf=ServerSettings(stommel), ssh_host_public_key_file= [II] 2012/11/09 20:45:53 WinSwitchServer.check() found existing config=ServerSettings(stommel) [DD] 2012/11/09 20:45:53 server_portinfo.get_local_server_portinfo() ID=83524822432, port(/home/stommel/rogeriobastos/.winswitch/server/lock/server_port)=None [II] 2012/11/09 20:45:53 WinSwitchServer.start() [DD] 2012/11/09 20:45:53 main_loop.loop_run() reactor uses gtk/glib main loop [II] 2012/11/09 20:45:53 main_loop.loop_run() calling reactor.run() [II] 2012/11/09 20:45:53 ServerSettings.test_supports_ssh() OK: X11 Forwarding is enabled (config line=x11forwarding yes) [DD] 2012/11/09 20:45:53 WinSwitchServer.prepare_server_config() debug_mode=True [II] 2012/11/09 20:45:53 common.do_check_xpra_version_string(0.6.0) OK: xpra version matches the minimum required ([0, 3, 0]) [DD] 2012/11/09 20:45:53 file_io.load_properties(/home/stommel/rogeriobastos/.winswitch/client/client.conf) is not a valid file! [II] 2012/11/09 20:45:53 WinSwitchServer.prepare_server_config() configuration ready: ServerSettings(stommel) [II] 2012/11/09 20:45:53 icon_cache.populate_pixmap_lookup() this may take a few seconds.. [II] 2012/11/09 20:45:53 icon_cache.populate_pixmap_lookup() pixmap cache size=1262, stats={'/usr/share/winswitch/wm_icons': 18, '/usr/share/pixmaps': 41, '/usr/share/winswitch/icons': 92, '/usr/share/icons/hicolor/48x48/apps': 39, '/usr/share/winswitch/default_icons': 18, '/usr/share/icons': 10272} [DD] 2012/11/09 20:45:53 WinSwitchServer.load_server_start_menu() [DD] 2012/11/09 20:45:53 load_desktop_menus.do_load_start_menu(['winswitch_applet', 'xpra_launcher', 'compiz', 'alltray', 'ccsm', 'avant-window-navigator', 'awn-manager', 'fusion-icon', 'vncviewer', 'nxclient', '*blueproximity*', 'bluetooth*', 'gpilotd-control-applet', 'gsynaptics', 'gnome-obex-server', 'gnome-display-properties', 'grandr', '*gdmsetup', '*gdmphotosetup', 'gnome-screensaver-preferences', 'resapplet', '*xscreensaver*', '*screenshot*', 'istanbul', 'gtk-recordMyDesktop', 'lxrandr', 'gnome-mouse-properties', 'gnome-power-preferences', '*gparted', '*jockey-gtk', 'unetbootin', 'usb-creator', 'gnome-session-properties', 'gnome-panel', 'alacarte', 'screenlets-manager', 'gnome-appearance-properties', 'onboard-settings', 'gnome-window-properties', 'lxsession-edit', 'gnome-keybinding-properties', 'gnome-keyboard-properties', 'oo*', 'openoffice*', '*battery-graph*', 'decibel-audio-player*', 'pavucontrol', 'padevchooser', 'xfce4-mixer', 'rhythmbox*', '*javaws', '*jconsole', 'openbox-session', 'konqueror*', 'chromium*', 'xdg-open*', '*/xdg-open*', 'exo-open*', ''],['*'],['', 'GNOME', 'GTK', 'Application', 'Screensaver'],['screensavers']) loading from /home/stommel/rogeriobastos/.winswitch/server/menu [DD] 2012/11/09 20:45:53 load_desktop_menus.load_menu_files(/home/stommel/rogeriobastos/.winswitch/server/menu,.desktop,True,['winswitch_applet', 'xpra_launcher', 'compiz', 'alltray', 'ccsm', 'avant-window-navigator', 'awn-manager', 'fusion-icon', 'vncviewer', 'nxclient', '*blueproximity*', 'bluetooth*', 'gpilotd-control-applet', 'gsynaptics', 'gnome-obex-server', 'gnome-display-properties', 'grandr', '*gdmsetup', '*gdmphotosetup', 'gnome-screensaver-preferences', 'resapplet', '*xscreensaver*', '*screenshot*', 'istanbul', 'gtk-recordMyDesktop', 'lxrandr', 'gnome-mouse-properties', 'gnome-power-preferences', '*gparted', '*jockey-gtk', 'unetbootin', 'usb-creator', 'gnome-session-properties', 'gnome-panel', 'alacarte', 'screenlets-manager', 'gnome-appearance-properties', 'onboard-settings', 'gnome-window-properties', 'lxsession-edit', 'gnome-keybinding-properties', 'gnome-keyboard-properties', 'oo*', 'openoffice*', '*battery-graph*', 'decibel-audio-player*', 'pavucontrol', 'padevchooser', 'xfce4-mixer', 'rhythmbox*', '*javaws', '*jconsole', 'openbox-session', 'konqueror*', 'chromium*', 'xdg-open*', '*/xdg-open*', 'exo-open*', ''],['*'],['Mobile', 'KDE'],True,['screensavers'],Command) [II] 2012/11/09 20:45:53 load_desktop_menus.do_load_start_menu(['winswitch_applet', 'xpra_launcher', 'compiz', 'alltray', 'ccsm', 'avant-window-navigator', 'awn-manager', 'fusion-icon', 'vncviewer', 'nxclient', '*blueproximity*', 'bluetooth*', 'gpilotd-control-applet', 'gsynaptics', 'gnome-obex-server', 'gnome-display-properties', 'grandr', '*gdmsetup', '*gdmphotosetup', 'gnome-screensaver-preferences', 'resapplet', '*xscreensaver*', '*screenshot*', 'istanbul', 'gtk-recordMyDesktop', 'lxrandr', 'gnome-mouse-properties', 'gnome-power-preferences', '*gparted', '*jockey-gtk', 'unetbootin', 'usb-creator', 'gnome-session-properties', 'gnome-panel', 'alacarte', 'screenlets-manager', 'gnome-appearance-properties', 'onboard-settings', 'gnome-window-properties', 'lxsession-edit', 'gnome-keybinding-properties', 'gnome-keyboard-properties', 'oo*', 'openoffice*', '*battery-graph*', 'decibel-audio-player*', 'pavucontrol', 'padevchooser', 'xfce4-mixer', 'rhythmbox*', '*javaws', '*jconsole', 'openbox-session', 'konqueror*', 'chromium*', 'xdg-open*', '*/xdg-open*', 'exo-open*', ''],['*'],['', 'GNOME', 'GTK', 'Application', 'Screensaver'],['screensavers']) no files found in /home/stommel/rogeriobastos/.winswitch/server/menu, using system locations: ['/usr/local/share/applications', '/usr/share/applications', '/home/stommel/rogeriobastos/.local/share/applications'] [DD] 2012/11/09 20:45:53 load_desktop_menus.load_menu_files(/usr/local/share/applications,.desktop,True,['winswitch_applet', 'xpra_launcher', 'compiz', 'alltray', 'ccsm', 'avant-window-navigator', 'awn-manager', 'fusion-icon', 'vncviewer', 'nxclient', '*blueproximity*', 'bluetooth*', 'gpilotd-control-applet', 'gsynaptics', 'gnome-obex-server', 'gnome-display-properties', 'grandr', '*gdmsetup', '*gdmphotosetup', 'gnome-screensaver-preferences', 'resapplet', '*xscreensaver*', '*screenshot*', 'istanbul', 'gtk-recordMyDesktop', 'lxrandr', 'gnome-mouse-properties', 'gnome-power-preferences', '*gparted', '*jockey-gtk', 'unetbootin', 'usb-creator', 'gnome-session-properties', 'gnome-panel', 'alacarte', 'screenlets-manager', 'gnome-appearance-properties', 'onboard-settings', 'gnome-window-properties', 'lxsession-edit', 'gnome-keybinding-properties', 'gnome-keyboard-properties', 'oo*', 'openoffice*', '*battery-graph*', 'decibel-audio-player*', 'pavucontrol', 'padevchooser', 'xfce4-mixer', 'rhythmbox*', '*javaws', '*jconsole', 'openbox-session', 'konqueror*', 'chromium*', 'xdg-open*', '*/xdg-open*', 'exo-open*', ''],['*'],['Mobile', 'KDE'],True,['screensavers'],Command) [DD] 2012/11/09 20:45:53 load_desktop_menus.load_menu_files(/usr/share/applications,.desktop,True,['winswitch_applet', 'xpra_launcher', 'compiz', 'alltray', 'ccsm', 'avant-window-navigator', 'awn-manager', 'fusion-icon', 'vncviewer', 'nxclient', '*blueproximity*', 'bluetooth*', 'gpilotd-control-applet', 'gsynaptics', 'gnome-obex-server', 'gnome-display-properties', 'grandr', '*gdmsetup', '*gdmphotosetup', 'gnome-screensaver-preferences', 'resapplet', '*xscreensaver*', '*screenshot*', 'istanbul', 'gtk-recordMyDesktop', 'lxrandr', 'gnome-mouse-properties', 'gnome-power-preferences', '*gparted', '*jockey-gtk', 'unetbootin', 'usb-creator', 'gnome-session-properties', 'gnome-panel', 'alacarte', 'screenlets-manager', 'gnome-appearance-properties', 'onboard-settings', 'gnome-window-properties', 'lxsession-edit', 'gnome-keybinding-properties', 'gnome-keyboard-properties', 'oo*', 'openoffice*', '*battery-graph*', 'decibel-audio-player*', 'pavucontrol', 'padevchooser', 'xfce4-mixer', 'rhythmbox*', '*javaws', '*jconsole', 'openbox-session', 'konqueror*', 'chromium*', 'xdg-open*', '*/xdg-open*', 'exo-open*', ''],['*'],['Mobile', 'KDE'],True,['screensavers'],Command) [DD] 2012/11/09 20:45:54 load_desktop_menus.load_menu_files(/home/stommel/rogeriobastos/.local/share/applications,.desktop,True,['winswitch_applet', 'xpra_launcher', 'compiz', 'alltray', 'ccsm', 'avant-window-navigator', 'awn-manager', 'fusion-icon', 'vncviewer', 'nxclient', '*blueproximity*', 'bluetooth*', 'gpilotd-control-applet', 'gsynaptics', 'gnome-obex-server', 'gnome-display-properties', 'grandr', '*gdmsetup', '*gdmphotosetup', 'gnome-screensaver-preferences', 'resapplet', '*xscreensaver*', '*screenshot*', 'istanbul', 'gtk-recordMyDesktop', 'lxrandr', 'gnome-mouse-properties', 'gnome-power-preferences', '*gparted', '*jockey-gtk', 'unetbootin', 'usb-creator', 'gnome-session-properties', 'gnome-panel', 'alacarte', 'screenlets-manager', 'gnome-appearance-properties', 'onboard-settings', 'gnome-window-properties', 'lxsession-edit', 'gnome-keybinding-properties', 'gnome-keyboard-properties', 'oo*', 'openoffice*', '*battery-graph*', 'decibel-audio-player*', 'pavucontrol', 'padevchooser', 'xfce4-mixer', 'rhythmbox*', '*javaws', '*jconsole', 'openbox-session', 'konqueror*', 'chromium*', 'xdg-open*', '*/xdg-open*', 'exo-open*', ''],['*'],['Mobile', 'KDE'],True,['screensavers'],Command) [DD] 2012/11/09 20:45:54 load_desktop_menus.load_menu_files(/usr/share/desktop-directories,.directory,False,None,['*'],['Mobile', 'KDE'],True,[],Category) [DD] 2012/11/09 20:45:54 load_desktop_menus.load_menu_files(/usr/local/share/desktop-directories,.directory,False,None,['*'],['Mobile', 'KDE'],True,[],Category) [II] 2012/11/09 20:45:54 load_desktop_menus.do_load_start_menu(['winswitch_applet', 'xpra_launcher', 'compiz', 'alltray', 'ccsm', 'avant-window-navigator', 'awn-manager', 'fusion-icon', 'vncviewer', 'nxclient', '*blueproximity*', 'bluetooth*', 'gpilotd-control-applet', 'gsynaptics', 'gnome-obex-server', 'gnome-display-properties', 'grandr', '*gdmsetup', '*gdmphotosetup', 'gnome-screensaver-preferences', 'resapplet', '*xscreensaver*', '*screenshot*', 'istanbul', 'gtk-recordMyDesktop', 'lxrandr', 'gnome-mouse-properties', 'gnome-power-preferences', '*gparted', '*jockey-gtk', 'unetbootin', 'usb-creator', 'gnome-session-properties', 'gnome-panel', 'alacarte', 'screenlets-manager', 'gnome-appearance-properties', 'onboard-settings', 'gnome-window-properties', 'lxsession-edit', 'gnome-keybinding-properties', 'gnome-keyboard-properties', 'oo*', 'openoffice*', '*battery-graph*', 'decibel-audio-player*', 'pavucontrol', 'padevchooser', 'xfce4-mixer', 'rhythmbox*', '*javaws', '*jconsole', 'openbox-session', 'konqueror*', 'chromium*', 'xdg-open*', '*/xdg-open*', 'exo-open*', ''],['*'],['', 'GNOME', 'GTK', 'Application', 'Screensaver'],['screensavers']) loaded 56 commands and 6 directories [DD] 2012/11/09 20:45:54 load_desktop_menus.load_xsessions(['startmoblin'],['*']) loading from /home/stommel/rogeriobastos/.winswitch/server/xsessions [DD] 2012/11/09 20:45:54 load_desktop_menus.load_menu_files(/home/stommel/rogeriobastos/.winswitch/server/xsessions,.desktop,True,None,['*'],['Mobile', 'KDE'],True,[],Desktop) [II] 2012/11/09 20:45:54 load_desktop_menus.load_xsessions(['startmoblin'],['*']) no files found in /home/stommel/rogeriobastos/.winswitch/server/xsessions, using system locations: ['/usr/share/xsessions', '/usr/local/share/xsessions'] [DD] 2012/11/09 20:45:54 load_desktop_menus.load_menu_files(/usr/share/xsessions,.desktop,True,['startmoblin'],['*'],['Mobile', 'KDE'],True,[],Desktop) [DD] 2012/11/09 20:45:54 load_desktop_menus.load_menu_files(/usr/local/share/xsessions,.desktop,True,['startmoblin'],['*'],['Mobile', 'KDE'],True,[],Desktop) [DD] 2012/11/09 20:45:54 load_desktop_menus.load_xsessions(['startmoblin'],['*'])=[] [DD] 2012/11/09 20:45:54 load_desktop_menus.load_menu_files(/home/stommel/rogeriobastos/.winswitch/server/actions,.desktop,True,None,['*'],['Mobile', 'KDE'],True,[],Action) [DD] 2012/11/09 20:45:54 load_desktop_menus.load_actions()=[Action(Browse: thunar ~/Desktop)] [II] 2012/11/09 20:45:54 WinSwitchServer.load_server_start_menu() found 56 server commands, 6 menu directories, 1 desktop commands, 1 shortcuts [DD] 2012/11/09 20:45:54 WinSwitchServer.detect_X_locks() found lockfile .X11-unix, marking port 6011 as taken [DD] 2012/11/09 20:45:54 WinSwitchServer.detect_X_locks() detected ports: [6011] [II] 2012/11/09 20:45:54 WinSwitchServer.assign_fs_utils() fs_client_helpers={'nfs': , 'smb': } [EE] 2012/11/09 20:45:54 WinSwitchServer.assign_virt_utils() failed to load xpra, make sure it is installed: No module named xpra.dotxpra [II] 2012/11/09 20:45:54 utmp_wrapper.() getutents= [DD] 2012/11/09 20:45:54 file_io.populate_object_from_properties({..},,,[# support for nx sessions:, enabled, # the TCP port number offset we try to allocate from, port_base, # log all session output (debugging), debug_log_read, # how long to wait before assuming the session has timed out, session_start_timeout, # default options for the nxagent configuration file, default_nxagent_options],[],[],True,True) [II] 2012/11/09 20:45:54 NXServerUtil.load_config()={} [DD] 2012/11/09 20:45:54 file_io.populate_object_from_properties({..},,,[# support for gstvideo sessions:, enabled, # the TCP port number offset we try to allocate from, port_base, # log all session output (debugging), debug_log_read, # how long to wait before assuming the session has timed out, session_start_timeout, default_screen_scaledown],[],[],True,True) [II] 2012/11/09 20:45:54 GSTVideoServerUtil.load_config()={} [DD] 2012/11/09 20:45:54 file_io.populate_object_from_properties({..},,,[# support for X11 sessions:, enabled, # the TCP port number offset we try to allocate from, port_base, # when detecting new sessions, use this delay to batch detection, batch_detect_sessions_delay, # the name of the session for display :0, display0_session_name, # the prefix for session names (the display number will be appended to it), display_session_name_prefix, # x11 display numbers higher than this value will be ignored, max_x11_display_number],[],[],True,True) [II] 2012/11/09 20:45:54 LocalX11ServerUtil.load_config()={} [DD] 2012/11/09 20:45:54 file_io.populate_object_from_properties({..},,,[# support for vnc sessions:, enabled, # the TCP port number offset we try to allocate from, port_base, # log all session output (debugging), debug_log_read, # how long to wait before assuming the session has timed out, session_start_timeout, # log the VNC password used - insecure!, log_password, # when the client closes the connection to a shadow session we created, stop the shadow automatically, stop_shadows_on_close, # when the client fails to connect to a shadow session, close it, stop_shadows_on_connect_failure],[],[],True,True) [II] 2012/11/09 20:45:54 VNCServerUtil.load_config()={} [II] 2012/11/09 20:45:54 LocalX11ServerUtil.zap_existing_sessions([]) [II] 2012/11/09 20:45:54 LocalX11ServerUtil.detect_existing_sessions() found getutents=, we should be able to detect local displays [DD] 2012/11/09 20:45:54 LocalX11ServerUtil.detect_local_displays() [DD] 2012/11/09 20:45:54 LocalX11ServerUtil.detect_local_displays() ()=[7 12269 pts/3 pts/3 rogeriobastos 187.114.173.19 0 None 1346593388 (330134203, 0, 0, 0), 7 3774 pts/2 pts/2 rogeriobastos :60.0 0 None 1347405548 (0, 0, 0, 0), 7 3496 pts/1 pts/1 rogeriobastos :62.0 0 None 1347288726 (0, 0, 0, 0), 7 2504 pts/0 pts/0 rogeriobastos 177.99.35.226 0 None 1347404191 (-500997199, 0, 0, 0), 7 4630 tty1 tty1 root 0 None 1347299672 (0, 0, 0, 0)] [DD] 2012/11/09 20:45:54 LocalX11ServerUtil.X11_display(pts/3) skipped pts 7 12269 pts/3 pts/3 rogeriobastos 187.114.173.19 0 None 1346593388 (330134203, 0, 0, 0) [DD] 2012/11/09 20:45:54 LocalX11ServerUtil.X11_display(187) utmp entry does not look like a display or tty [DD] 2012/11/09 20:45:54 LocalX11ServerUtil.X11_display(pts/2) skipped pts 7 3774 pts/2 pts/2 rogeriobastos :60.0 0 None 1347405548 (0, 0, 0, 0) [DD] 2012/11/09 20:45:54 LocalX11ServerUtil.X11_display(pts/1) skipped pts 7 3496 pts/1 pts/1 rogeriobastos :62.0 0 None 1347288726 (0, 0, 0, 0) [DD] 2012/11/09 20:45:54 LocalX11ServerUtil.X11_display(pts/0) skipped pts 7 2504 pts/0 pts/0 rogeriobastos 177.99.35.226 0 None 1347404191 (-500997199, 0, 0, 0) [DD] 2012/11/09 20:45:54 LocalX11ServerUtil.X11_display(177) utmp entry does not look like a display or tty [DD] 2012/11/09 20:45:54 LocalX11ServerUtil.detect_local_displays() session 7 4630 tty1 tty1 root 0 None 1347299672 (0, 0, 0, 0) ignored (owned by root) [DD] 2012/11/09 20:45:54 LocalX11ServerUtil.detect_local_displays() testing: {':62': ('rogeriobastos', 3496, 1347288726L), ':60': ('rogeriobastos', 3774, 1347405548L)} [DD] 2012/11/09 20:45:54 LocalX11ServerUtil.found_display(rogeriobastos,:62,3496,1347288726) [II] 2012/11/09 20:45:54 LocalX11ServerUtil.detect_local_displays() wtmp entry ('rogeriobastos', 3496, 1347288726L) marked as failed - will not be retried for one hour [DD] 2012/11/09 20:45:54 LocalX11ServerUtil.found_display(rogeriobastos,:60,3774,1347405548) [II] 2012/11/09 20:45:54 LocalX11ServerUtil.detect_local_displays() wtmp entry ('rogeriobastos', 3774, 1347405548L) marked as failed - will not be retried for one hour [DD] 2012/11/09 20:45:54 LocalX11ServerUtil.detect_existing_sessions() watching for wtmp traffic using <__main__.GInotifyFileMonitor object at 0x25d1140 (GInotifyFileMonitor at 0x1dfba10)> [DD] 2012/11/09 20:45:54 NXServerUtil.setup_directory_watcher() watching [] [DD] 2012/11/09 20:45:54 GSTVideoServerUtil.setup_directory_watcher() watching [] [DD] 2012/11/09 20:45:54 LocalX11ServerUtil.setup_directory_watcher() watching [] [DD] 2012/11/09 20:45:54 VNCServerUtil.setup_directory_watcher() watching [] [II] 2012/11/09 20:45:54 WinSwitchServer.assign_virt_utils()={'nx': , 'X11': , 'gstvideo': , 'vnc': } [DD] 2012/11/09 20:45:54 process_util.twisted_exec(['selinuxenabled'],,,None,None) [DD] 2012/11/09 20:45:54 ProcessOutput.start() usePTY=False, env={'PATH': '/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games', 'PWD': '/home/stommel/rogeriobastos', 'LOGNAME': 'rogeriobastos', 'USER': 'rogeriobastos', 'HOME': '/home/stommel/rogeriobastos'}, cmd=['selinuxenabled'] [DD] 2012/11/09 20:45:54 ProcessOutput.connectionMade() [II] 2012/11/09 20:45:54 ProcessOutput.start() process(['selinuxenabled'])= [DD] 2012/11/09 20:45:54 ClientChannelFactory.__init__(WinSwitchServer(83524822432),True) [II] 2012/11/09 20:45:54 WinSwitchServer.setup_local_listener() listening on local socket '/home/stommel/rogeriobastos/.winswitch/server/socket' [DD] 2012/11/09 20:45:54 ClientChannelFactory.__init__(WinSwitchServer(83524822432),False) [DD] 2012/11/09 20:45:54 net_util.tcp_listen_on(ClientChannelFactory(WinSwitchServer(83524822432),False),*:) [DD] 2012/11/09 20:45:54 net_util.tcp_listen_on() listening on '0.0.0.0' port '40220' [II] 2012/11/09 20:45:54 WinSwitchServer.setup_tcp_listeners() started listening on: [('0.0.0.0', 40220)] [DD] 2012/11/09 20:45:54 WinSwitchServer.save_port_file() [EE] 2012/11/09 20:45:54 ProcessOutput.processExited([Failure instance: Traceback (failure with no frames): : A process has ended with a probable error condition: process ended with exit code 1.\n]) Failure (command=['selinuxenabled']), exitCode=1 [DD] 2012/11/09 20:45:54 ProcessOutput.processEnded([Failure instance: Traceback (failure with no frames): : A process has ended with a probable error condition: process ended with exit code 1.\n]) [DD] 2012/11/09 20:45:54 WinSwitchServer.selinux_callback(False,False,SELinux is not enabled) [DD] 2012/11/09 20:45:55 WinSwitchServer.publish() [II] 2012/11/09 20:45:55 WinSwitchServer.publish() mDNS_publish=True [DD] 2012/11/09 20:45:55 WinSwitchServer.get_mdns_text_record()={'username': 'rogeriobastos', 'ssh_tunnel': 'False', 'version': '0.12.16', 'ID': '83524822432'} [DD] 2012/11/09 20:45:55 avahi_publisher.get_interface_index(0.0.0.0) [DD] 2012/11/09 20:45:55 AvahiPublishers.__init__([('0.0.0.0', 40220)],Window Switch for Rogerio Bastos on stommel,_shifter._tcp.,{'username': 'rogeriobastos', 'ssh_tunnel': 'False', 'version': '0.12.16', 'ID': '83524822432'}) iface_index(0.0.0.0)=-1 [II] 2012/11/09 20:45:55 AvahiPublisher.__init__(Window Switch for Rogerio Bastos on stommel,40220,_shifter._tcp.,,,['username=rogeriobastos', 'ssh_tunnel=False', 'version=0.12.16', 'ID=83524822432'],-1) [EE] 2012/11/09 20:45:55 AvahiPublishers.start() error on publisher AvahiPublisher(Window Switch for Rogerio Bastos on stommel :40220 interface=-1) [ee] 2012/11/09 20:45:55 Traceback (most recent call last): [ee] 2012/11/09 20:45:55 File "/usr/lib/pymodules/python2.7/winswitch/net/avahi_publisher.py", line 64, in start [ee] 2012/11/09 20:45:55 publisher.start() [ee] 2012/11/09 20:45:55 File "/usr/lib/pymodules/python2.7/winswitch/net/avahi_publisher.py", line 106, in start [ee] 2012/11/09 20:45:55 server = dbus.Interface(bus.get_object(avahi.DBUS_NAME, avahi.DBUS_PATH_SERVER), avahi.DBUS_INTERFACE_SERVER) [ee] 2012/11/09 20:45:55 File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in get_object [ee] 2012/11/09 20:45:55 follow_name_owner_changes=follow_name_owner_changes) [ee] 2012/11/09 20:45:55 File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in __init__ [ee] 2012/11/09 20:45:55 self._named_service = conn.activate_name_owner(bus_name) [ee] 2012/11/09 20:45:55 File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in activate_name_owner [ee] 2012/11/09 20:45:55 self.start_service_by_name(bus_name) [ee] 2012/11/09 20:45:55 File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in start_service_by_name [ee] 2012/11/09 20:45:55 'su', (bus_name, flags))) [ee] 2012/11/09 20:45:55 File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking [ee] 2012/11/09 20:45:55 message, timeout) [ee] 2012/11/09 20:45:55 DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Avahi was not provided by any .service files [DD] 2012/11/09 20:45:57 WinSwitchClientChannel.connectionMade() via local socket [DD] 2012/11/09 20:45:57 ProtocolHandler.__init__(ServerSettings(stommel),>) [DD] 2012/11/09 20:45:57 WinSwitchClientChannel.get_handler() adding local handlers [II] 2012/11/09 20:45:58 ProtocolHandler.do_set_salt(c06bfd7f6b5b47ae8375f8a9ee63a5be) previous salt=None [DD] 2012/11/09 20:45:58 ProtocolHandler.check_parse_version(3,0.12.16) [II] 2012/11/09 20:45:58 common.check_remote_version([0, 12, 16]) OK: remote application version matches the minimum required ([0, 12, 8]) [II] 2012/11/09 20:45:58 WinSwitchClientChannel.sync_local() [DD] 2012/11/09 20:45:58 crypt_util.sign_long(,c06bfd7f6b5b47ae8375f8a9ee63a5be)=5728263897562147447705873303905400584059673920547102253730446483769556919510919417700949752440919... [II] 2012/11/09 20:45:58 WinSwitchClientChannel.add_user(('rogeriobastos', 'rogeriobastos', 'Rogerio Bastos', 'cb26065cc5f546b496f12220be4e9e1a', 'matrix'...) [II] 2012/11/09 20:45:58 WinSwitchClientChannel.do_add_user(15738442698823877...,45998c730118ac4bb...,User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a)) remote host=127.0.0.1, tunneled=True [II] 2012/11/09 20:45:58 WinSwitchClientChannel.check_signature(<_RSAobj @0x26a0ef0 n(4096),e>,15738442698823877...,d1a63f53088440dbbac8471152245f52)=True [II] 2012/11/09 20:45:58 WinSwitchClientChannel.do_add_user(15738442698823877...,45998c730118ac4bb...,User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a)) local socket connection, not checking password [DD] 2012/11/09 20:45:58 WinSwitchClientChannel.do_add_user(15738442698823877...,45998c730118ac4bb...,User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a)) existing connection=None [DD] 2012/11/09 20:45:58 WinSwitchServer.add_local_user(rogeriobastos,cb26065cc5f546b496f12220be4e9e1a,xpra) [DD] 2012/11/09 20:45:58 NXServerUtil.add_local_user(rogeriobastos,cb26065cc5f546b496f12220be4e9e1a) [DD] 2012/11/09 20:45:58 GSTVideoServerUtil.add_local_user(rogeriobastos,cb26065cc5f546b496f12220be4e9e1a) [DD] 2012/11/09 20:45:58 LocalX11ServerUtil.add_local_user(rogeriobastos) [DD] 2012/11/09 20:45:58 LocalX11ServerUtil.add_local_user(rogeriobastos,cb26065cc5f546b496f12220be4e9e1a) [DD] 2012/11/09 20:45:58 LocalX11ServerUtil.schedule_detect_local_displays(800) detect_local_displays_pending=False [DD] 2012/11/09 20:45:58 VNCServerUtil.add_local_user(rogeriobastos,cb26065cc5f546b496f12220be4e9e1a) [DD] 2012/11/09 20:45:58 WinSwitchClientChannel.logged_in_ok(User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a)) username=rogeriobastos, uuid=cb26065cc5f546b496f12220be4e9e1a [DD] 2012/11/09 20:45:58 WinSwitchServer.add_client(WinSwitchClientChannel(User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a))) user=User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a) [DD] 2012/11/09 20:45:58 WinSwitchClientChannel.send_tunnel_ports() tunnel_printer=False, user.local_ipp_port=0, FORCE_IPP_TUNNEL=False [DD] 2012/11/09 20:45:58 WinSwitchClientChannel.send_tunnel_ports() tunnel_fs=False, user.local_samba_port=139, FORCE_SAMBA_TUNNEL=False [DD] 2012/11/09 20:45:58 ProtocolHandler.do_set_user_icon(cb26065cc5f546b496f12220be4e9e1a,..) user=User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a) [DD] 2012/11/09 20:45:58 WinSwitchClientChannel.handle_command(set_user_icon 'cb26065cc5f546b496f12220be4e9e1a','base64:iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABX...) forwarding command to all clients [II] 2012/11/09 20:45:58 WinSwitchServer.send_all(set_user_icon 'cb26065cc5f546b496f12220be4e9e1a','base64:iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABX...,WinSwitchClientChannel(User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a))) clients=[WinSwitchClientChannel(User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a))] [II] 2012/11/09 20:45:58 WinSwitchClientChannel.set_xmodmap(15495 bytes,415 bytes) [II] 2012/11/09 20:45:58 WinSwitchClientChannel.set_xmodmap(...) saving xmodmap data (length=11614) to /home/stommel/rogeriobastos/.winswitch/server/xmodmap/cb26065cc5f546b496f12220be4e9e1a.keys [II] 2012/11/09 20:45:58 WinSwitchClientChannel.set_xmodmap(...) saving xmodmap data (length=306) to /home/stommel/rogeriobastos/.winswitch/server/xmodmap/cb26065cc5f546b496f12220be4e9e1a.modifiers [DD] 2012/11/09 20:45:58 ServerSettings.get_connected_sessions(cb26065cc5f546b496f12220be4e9e1a,[X11, windows, osx],True)=[] [II] 2012/11/09 20:45:58 WinSwitchServer.set_new_user_keymap(...) will now update these connected/connecting sessions with the new xmodmap: [] [DD] 2012/11/09 20:45:58 ProtocolHandler.check_parse_version(3,0.12.16) [II] 2012/11/09 20:45:58 common.check_remote_version([0, 12, 16]) OK: remote application version matches the minimum required ([0, 12, 8]) [II] 2012/11/09 20:45:58 WinSwitchClientChannel.sync() [II] 2012/11/09 20:45:58 WinSwitchClientChannel.send_server_commands() sent 6 items of type directory, 42 items of type command, 1 items of type desktops, 1 items of type actions [II] 2012/11/09 20:45:58 WinSwitchClientChannel.send_visible_users() [II] 2012/11/09 20:45:58 WinSwitchClientChannel.send_accessible_sessions() [DD] 2012/11/09 20:45:59 icon_util.load_pixmap_file(/usr/share/icons/hicolor/48x48/apps/orage_globaltime.png,48) gtk pixmap load failed [DD] 2012/11/09 20:45:59 icon_util.load_pixmap_file(/usr/share/icons/hicolor/32x32/apps/grass64.xpm,48) gtk pixmap load failed [DD] 2012/11/09 20:45:59 icon_util.load_pixmap_file(/usr/share/icons/hicolor/32x32/apps/grass64.xpm,48) failed to load XPM using PIL: cannot read this XPM file [DD] 2012/11/09 20:45:59 icon_util.load_pixmap_file(/usr/share/icons/hicolor/32x32/apps/grass64.xpm,48) gtk pixmap load failed [DD] 2012/11/09 20:45:59 icon_util.load_pixmap_file(/usr/share/icons/hicolor/32x32/apps/grass64.xpm,48) failed to load XPM using PIL: cannot read this XPM file [DD] 2012/11/09 20:45:59 icon_util.load_pixmap_file(/usr/share/icons/hicolor/32x32/apps/grass64.xpm,48) gtk pixmap load failed [DD] 2012/11/09 20:45:59 icon_util.load_pixmap_file(/usr/share/icons/hicolor/32x32/apps/grass64.xpm,48) failed to load XPM using PIL: cannot read this XPM file [DD] 2012/11/09 20:45:59 icon_util.load_pixmap_file(/usr/share/icons/hicolor/32x32/apps/grass64.xpm,48) gtk pixmap load failed [DD] 2012/11/09 20:45:59 icon_util.load_pixmap_file(/usr/share/icons/hicolor/32x32/apps/grass64.xpm,48) failed to load XPM using PIL: cannot read this XPM file [DD] 2012/11/09 20:45:59 icon_util.load_pixmap_file(/usr/share/icons/hicolor/32x32/apps/grass64.xpm,48) gtk pixmap load failed [DD] 2012/11/09 20:45:59 icon_util.load_pixmap_file(/usr/share/icons/hicolor/32x32/apps/grass64.xpm,48) failed to load XPM using PIL: cannot read this XPM file [DD] 2012/11/09 20:45:59 icon_util.load_pixmap_file(/usr/share/icons/hicolor/32x32/apps/grass64.xpm,48) gtk pixmap load failed [DD] 2012/11/09 20:45:59 icon_util.load_pixmap_file(/usr/share/icons/hicolor/32x32/apps/grass64.xpm,48) failed to load XPM using PIL: cannot read this XPM file [DD] 2012/11/09 20:45:59 icon_util.load_pixmap_file(/usr/share/icons/hicolor/32x32/apps/grass64.xpm,48) gtk pixmap load failed [DD] 2012/11/09 20:45:59 icon_util.load_pixmap_file(/usr/share/icons/hicolor/32x32/apps/grass64.xpm,48) failed to load XPM using PIL: cannot read this XPM file [DD] 2012/11/09 20:45:59 icon_util.load_pixmap_file(/usr/share/icons/hicolor/48x48/apps/medit.png,48) gtk pixmap load failed [DD] 2012/11/09 20:45:59 icon_util.load_pixmap_file(/usr/share/pixmaps/qgis-icon.xpm,48) gtk pixmap load failed [DD] 2012/11/09 20:45:59 icon_util.load_pixmap_file(/usr/share/pixmaps/qgis-icon.xpm,48) failed to load XPM using PIL: cannot read this XPM file [DD] 2012/11/09 20:45:59 icon_util.load_pixmap_file(/usr/share/pixmaps/qgis-icon.xpm,48) gtk pixmap load failed [DD] 2012/11/09 20:45:59 icon_util.load_pixmap_file(/usr/share/pixmaps/qgis-icon.xpm,48) failed to load XPM using PIL: cannot read this XPM file [DD] 2012/11/09 20:45:59 icon_util.load_pixmap_file(/usr/share/icons/crystalsvg/128x128/mimetypes/qgis-mime-icon.png,48) gtk pixmap load failed [DD] 2012/11/09 20:45:59 icon_util.load_pixmap_file(/usr/share/icons/hicolor/16x16/apps/squeeze.png,48) gtk pixmap load failed [DD] 2012/11/09 20:45:59 icon_util.load_pixmap_file(/usr/share/icons/Tango/32x32/apps/xfcalendar.png,48) gtk pixmap load failed [DD] 2012/11/09 20:45:59 icon_util.load_pixmap_file(/usr/share/icons/Tango/32x32/apps/xfcalendar.png,48) gtk pixmap load failed [DD] 2012/11/09 20:45:59 LocalX11ServerUtil.detect_local_displays() [DD] 2012/11/09 20:45:59 LocalX11ServerUtil.detect_local_displays() ()=[7 12269 pts/3 pts/3 rogeriobastos 187.114.173.19 0 None 1346593388 (330134203, 0, 0, 0), 7 3774 pts/2 pts/2 rogeriobastos :60.0 0 None 1347405548 (0, 0, 0, 0), 7 3496 pts/1 pts/1 rogeriobastos :62.0 0 None 1347288726 (0, 0, 0, 0), 7 2504 pts/0 pts/0 rogeriobastos 177.99.35.226 0 None 1347404191 (-500997199, 0, 0, 0), 7 4630 tty1 tty1 root 0 None 1347299672 (0, 0, 0, 0)] [DD] 2012/11/09 20:45:59 LocalX11ServerUtil.X11_display(pts/3) skipped pts 7 12269 pts/3 pts/3 rogeriobastos 187.114.173.19 0 None 1346593388 (330134203, 0, 0, 0) [DD] 2012/11/09 20:45:59 LocalX11ServerUtil.X11_display(187) utmp entry does not look like a display or tty [DD] 2012/11/09 20:45:59 LocalX11ServerUtil.X11_display(pts/2) skipped pts 7 3774 pts/2 pts/2 rogeriobastos :60.0 0 None 1347405548 (0, 0, 0, 0) [DD] 2012/11/09 20:45:59 LocalX11ServerUtil.X11_display(pts/1) skipped pts 7 3496 pts/1 pts/1 rogeriobastos :62.0 0 None 1347288726 (0, 0, 0, 0) [DD] 2012/11/09 20:45:59 LocalX11ServerUtil.X11_display(pts/0) skipped pts 7 2504 pts/0 pts/0 rogeriobastos 177.99.35.226 0 None 1347404191 (-500997199, 0, 0, 0) [DD] 2012/11/09 20:45:59 LocalX11ServerUtil.X11_display(177) utmp entry does not look like a display or tty [DD] 2012/11/09 20:45:59 LocalX11ServerUtil.detect_local_displays() session 7 4630 tty1 tty1 root 0 None 1347299672 (0, 0, 0, 0) ignored (owned by root) [DD] 2012/11/09 20:45:59 LocalX11ServerUtil.detect_local_displays() testing: {':62': ('rogeriobastos', 3496, 1347288726L), ':60': ('rogeriobastos', 3774, 1347405548L)} [DD] 2012/11/09 20:45:59 LocalX11ServerUtil.detect_local_displays() ignoring unchanged failed wtmp entry for display :62: ('rogeriobastos', 3496, 1347288726L) [DD] 2012/11/09 20:45:59 LocalX11ServerUtil.detect_local_displays() ignoring unchanged failed wtmp entry for display :60: ('rogeriobastos', 3774, 1347405548L) [DD] 2012/11/09 20:46:08 ProtocolHandler.check_response_received(ping,4) response_counter=17 [DD] 2012/11/09 20:46:17 WinSwitchClientChannel.start_session(612b0f99c16c95c3fd4de1d411b08b35,nx,1024x768,locale=en_US.utf8;screen_size=1024x768;,None) options={'locale': 'en_US.utf8', 'screen_size': '1024x768'} [II] 2012/11/09 20:46:17 WinSwitchClientChannel.start_session(612b0f99c16c95c3fd4de1d411b08b35,nx,1024x768,locale=en_US.utf8;screen_size=1024x768;) command=Desktop(Xfce Session: startxfce4), user=User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a) [II] 2012/11/09 20:46:17 WinSwitchServer.start_session(User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a),nx,Desktop(Xfce Session: startxfce4),1024x768,{'locale': 'en_US.utf8', 'screen_size': '1024x768'},None) [DD] 2012/11/09 20:46:17 WinSwitchServer.real_start_session(User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a),nx,Desktop(Xfce Session: startxfce4),1024x768,{'locale': 'en_US.utf8', 'screen_size': '1024x768'},None) [DD] 2012/11/09 20:46:17 NXServerUtil.do_start_session(User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a),rogeriobastos,Desktop(Xfce Session: startxfce4),False,1024x768,{'locale': 'en_US.utf8', 'screen_size': '1024x768'},None) [DD] 2012/11/09 20:46:17 NXServerUtil.initialize_session_from_command(ServerSession(:60 - - ),Desktop(Xfce Session: startxfce4)) now set name=Xfce Session, uses_sound_out=False, uses_sound_in=False [DD] 2012/11/09 20:46:17 NXServerUtil.initialize_new_session(rogeriobastos,Desktop(Xfce Session: startxfce4),False,1024x768,:60,14061)=ServerSession(:60 - nx - starting) [DD] 2012/11/09 20:46:17 file_io.get_sub_dir(/home/stommel/rogeriobastos/.winswitch/server/sessions,60,False,511) directory /home/stommel/rogeriobastos/.winswitch/server/sessions/60 does not exist, creating it [DD] 2012/11/09 20:46:17 NXServerUtil.create_xauth(ServerSession(:60 - nx - starting)) xauth_file=/home/stommel/rogeriobastos/.winswitch/server/sessions/60/xauth [II] 2012/11/09 20:46:17 process_util.exec_nopipe(['xauth', 'add', ':60', 'MIT-MAGIC-COOKIE-1', '2522532065d94859a1dd55106b196971'],{'LANG': 'en_US.utf8', 'SHELL': '/bin/bash', 'XAUTHORITY': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/xauth', 'PWD': '/home/stommel/rogeriobastos', 'USER': 'rogeriobastos', 'HOME': '/home/stommel/rogeriobastos', 'PATH': '/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games', 'DISPLAY': ':60'},None,True,False,None,True) waiting on process= [DD] 2012/11/09 20:46:17 NXServerUtil.set_xauth(ServerSession(:60 - nx - starting),User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a)) added xauth cookie 2522532065d94859a1dd55106b196971 for :60 [II] 2012/11/09 20:46:17 process_util.exec_nopipe(['xauth', 'add', 'localhost:60', 'MIT-MAGIC-COOKIE-1', '2522532065d94859a1dd55106b196971'],{'LANG': 'en_US.utf8', 'SHELL': '/bin/bash', 'XAUTHORITY': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/xauth', 'PWD': '/home/stommel/rogeriobastos', 'USER': 'rogeriobastos', 'HOME': '/home/stommel/rogeriobastos', 'PATH': '/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games', 'DISPLAY': ':60'},None,True,False,None,True) waiting on process= [DD] 2012/11/09 20:46:17 NXServerUtil.set_xauth(ServerSession(:60 - nx - starting),User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a)) added xauth cookie 2522532065d94859a1dd55106b196971 for localhost:60 [II] 2012/11/09 20:46:17 process_util.exec_nopipe(['xauth', 'add', '127.0.0.1:60', 'MIT-MAGIC-COOKIE-1', '2522532065d94859a1dd55106b196971'],{'LANG': 'en_US.utf8', 'SHELL': '/bin/bash', 'XAUTHORITY': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/xauth', 'PWD': '/home/stommel/rogeriobastos', 'USER': 'rogeriobastos', 'HOME': '/home/stommel/rogeriobastos', 'PATH': '/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games', 'DISPLAY': ':60'},None,True,False,None,True) waiting on process= [DD] 2012/11/09 20:46:17 NXServerUtil.set_xauth(ServerSession(:60 - nx - starting),User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a)) added xauth cookie 2522532065d94859a1dd55106b196971 for 127.0.0.1:60 [DD] 2012/11/09 20:46:17 NXServerUtil.start_dbus() dbus_command=dbus-daemon --fork --print-address=1 --print-pid=1 --session [DD] 2012/11/09 20:46:17 NXServerUtil.start_dbus(ServerSession(:60 - nx - starting)) output(dbus-daemon --fork --print-address=1 --print-pid=1 --session)=(0,unix:abstract=/tmp/dbus-VlMDQGOXro,guid=2a0046990704e1eb6e467c16504fcd49\n5046\n) [II] 2012/11/09 20:46:17 NXServerUtil.start_dbus(ServerSession(:60 - nx - starting)) dbus_pid=5046, dbus_address=unix:abstract=/tmp/dbus-VlMDQGOXro,guid=2a0046990704e1eb6e467c16504fcd49 [DD] 2012/11/09 20:46:17 NXServerUtil.start_sound_server(ServerSession(:60 - nx - starting)) existing pulse_pid=-1, pulseaudio_command=/usr/bin/pulseaudio [DD] 2012/11/09 20:46:17 file_io.save_object_to_properties(ServerSession(:60 - nx - starting),None,None) /home/stommel/rogeriobastos/.winswitch/server/sessions/60/config.txt [II] 2012/11/09 20:46:17 process_util.exec_nopipe(['xauth', 'add', ':60', 'MIT-MAGIC-COOKIE-1', '2522532065d94859a1dd55106b196971'],{'LANG': 'en_US.utf8', 'SHELL': '/bin/bash', 'XAUTHORITY': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/xauth', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-VlMDQGOXro,guid=2a0046990704e1eb6e467c16504fcd49', 'PWD': '/home/stommel/rogeriobastos', 'USER': 'rogeriobastos', 'HOME': '/home/stommel/rogeriobastos', 'PATH': '/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games', 'DISPLAY': ':60'},None,True,False,None,True) waiting on process= [DD] 2012/11/09 20:46:17 NXServerUtil.set_xauth(ServerSession(:60 - nx - starting),User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a)) added xauth cookie 2522532065d94859a1dd55106b196971 for :60 [II] 2012/11/09 20:46:17 process_util.exec_nopipe(['xauth', 'add', 'localhost:60', 'MIT-MAGIC-COOKIE-1', '2522532065d94859a1dd55106b196971'],{'LANG': 'en_US.utf8', 'SHELL': '/bin/bash', 'XAUTHORITY': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/xauth', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-VlMDQGOXro,guid=2a0046990704e1eb6e467c16504fcd49', 'PWD': '/home/stommel/rogeriobastos', 'USER': 'rogeriobastos', 'HOME': '/home/stommel/rogeriobastos', 'PATH': '/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games', 'DISPLAY': ':60'},None,True,False,None,True) waiting on process= [DD] 2012/11/09 20:46:17 NXServerUtil.set_xauth(ServerSession(:60 - nx - starting),User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a)) added xauth cookie 2522532065d94859a1dd55106b196971 for localhost:60 [II] 2012/11/09 20:46:17 process_util.exec_nopipe(['xauth', 'add', '127.0.0.1:60', 'MIT-MAGIC-COOKIE-1', '2522532065d94859a1dd55106b196971'],{'LANG': 'en_US.utf8', 'SHELL': '/bin/bash', 'XAUTHORITY': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/xauth', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-VlMDQGOXro,guid=2a0046990704e1eb6e467c16504fcd49', 'PWD': '/home/stommel/rogeriobastos', 'USER': 'rogeriobastos', 'HOME': '/home/stommel/rogeriobastos', 'PATH': '/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games', 'DISPLAY': ':60'},None,True,False,None,True) waiting on process= [DD] 2012/11/09 20:46:17 NXServerUtil.set_xauth(ServerSession(:60 - nx - starting),User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a)) added xauth cookie 2522532065d94859a1dd55106b196971 for 127.0.0.1:60 [DD] 2012/11/09 20:46:17 NXServerUtil.start_display(ServerSession(:60 - nx - starting),User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a),False) [II] 2012/11/09 20:46:17 NXServerUtil.get_nxagent_options(ServerSession(:60 - nx - starting),User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a))={'load': '1', 'core': '0', 'client': 'linux', 'render': '1', 'composite': '1', 'media': '0', 'cache': '32M', 'shpix': '1', 'strict': '0', 'clipboard': 'both', 'cookie': '2522532065d94859a1dd55106b196971', 'shmem': '1', 'keyboard': 'evdev/us', 'images': '16M', 'link': 'wan', 'save': '1', 'cleanup': '0', 'backingstore': '1', 'listen': '14061'} [DD] 2012/11/09 20:46:17 nx_common.nx_display_value({'load': '1', 'core': '0', 'client': 'linux', 'render': '1', 'composite': '1', 'media': '0', 'cache': '32M', 'shpix': '1', 'strict': '0', 'clipboard': 'both', 'cookie': '2522532065d94859a1dd55106b196971', 'shmem': '1', 'keyboard': 'evdev/us', 'images': '16M', 'link': 'wan', 'save': '1', 'cleanup': '0', 'backingstore': '1', 'listen': '14061'},rogeriobastos,:60,True) saved options: 'load=1,core=0,client=linux,render=1,composite=1,media=0,cache=32M,shpix=1,strict=0,clipboard=both,cookie=2522532065d94859a1dd55106b196971,shmem=1,keyboard=evdev/us,images=16M,link=wan,save=1,cleanup=0,backingstore=1,listen=14061:60' to /home/stommel/rogeriobastos/.winswitch/server/sessions/60/nx_options.txt [II] 2012/11/09 20:46:17 NXServerUtil.start_display(ServerSession(:60 - nx - starting),User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a),False) starting ['/usr/bin/nxagent', '-D', '-geometry', '1024x768', '-name', 'rogeriobastos:Xfce_Session', ':60'] with env {'LANG': 'en_US.utf8', 'SHELL': '/bin/bash', 'XAUTHORITY': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/xauth', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-VlMDQGOXro,guid=2a0046990704e1eb6e467c16504fcd49', 'PWD': '/home/stommel/rogeriobastos', 'USER': 'rogeriobastos', 'HOME': '/home/stommel/rogeriobastos', 'PATH': '/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games', 'DISPLAY': 'nx/nx,options=/home/stommel/rogeriobastos/.winswitch/server/sessions/60/nx_options.txt:60'} [II] 2012/11/09 20:46:17 NXServerUtil.start_daemon(ServerSession(:60 - nx - starting),{'LANG': 'en_US.utf8', 'SHELL': '/bin/bash', 'XAUTHORITY': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/xauth', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-VlMDQGOXro,guid=2a0046990704e1eb6e467c16504fcd49', 'PWD': '/home/stommel/rogeriobastos', 'USER': 'rogeriobastos', 'HOME': '/home/stommel/rogeriobastos', 'PATH': '/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games', 'DISPLAY': 'nx/nx,options=/home/stommel/rogeriobastos/.winswitch/server/sessions/60/nx_options.txt:60'},True) starting ['/usr/bin/nxagent', '-D', '-geometry', '1024x768', '-name', 'rogeriobastos:Xfce_Session', ':60'], logging to /home/stommel/rogeriobastos/.winswitch/server/sessions/60/nx.log [II] 2012/11/09 20:46:18 virt_server_daemonizer.grab_daemon_pid(['/usr/lib/winswitch/virt_server_daemonizer', '--quiet', '--print-pid', '--daemon', '--log-file', '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/nx.log', '--', '/usr/bin/nxagent', '-D', '-geometry', '1024x768', '-name', 'rogeriobastos:Xfce_Session', ':60'],/home/stommel/rogeriobastos,{'LANG': 'en_US.utf8', 'SHELL': '/bin/bash', 'XAUTHORITY': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/xauth', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-VlMDQGOXro,guid=2a0046990704e1eb6e467c16504fcd49', 'PWD': '/home/stommel/rogeriobastos', 'USER': 'rogeriobastos', 'HOME': '/home/stommel/rogeriobastos', 'PATH': '/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games', 'DISPLAY': 'nx/nx,options=/home/stommel/rogeriobastos/.winswitch/server/sessions/60/nx_options.txt:60'}) .returncode=0, stdoutdata=5057\n, stderrdata=, pid=5057 [II] 2012/11/09 20:46:18 NXServerUtil.session_process_started(5057,ServerSession(:60 - nx - starting)) [DD] 2012/11/09 20:46:18 NXServerUtil.watch_session_log(/home/stommel/rogeriobastos/.winswitch/server/sessions/60/nx.log,ServerSession(:60 - nx - starting)) [DD] 2012/11/09 20:46:18 NXServerUtil.watch_session_log(/home/stommel/rogeriobastos/.winswitch/server/sessions/60/nx.log,ServerSession(:60 - nx - starting)) logfile=16 [DD] 2012/11/09 20:46:18 NXServerUtil.do_watch_session_log(/home/stommel/rogeriobastos/.winswitch/server/sessions/60/nx.log,16,ServerSession(:60 - nx - starting)) will use gio to monitor for changes [II] 2012/11/09 20:46:18 NXServerUtil.do_watch_session_log(/home/stommel/rogeriobastos/.winswitch/server/sessions/60/nx.log,16,ServerSession(:60 - nx - starting)) watching log with gio: <__main__.GInotifyFileMonitor object at 0x2785b40 (GInotifyFileMonitor at 0x1dfbaa0)> [DD] 2012/11/09 20:46:18 NXServerUtil.do_read_from_log(/home/stommel/rogeriobastos/.winswitch/server/sessions/60/nx.log,16,ServerSession(:60 - nx - starting)) [DD] 2012/11/09 20:46:18 NXServerUtil.do_read_from_log(/home/stommel/rogeriobastos/.winswitch/server/sessions/60/nx.log,16,ServerSession(:60 - nx - starting)) about to read, current buffer: 0 bytes [DD] 2012/11/09 20:46:18 NXServerUtil.do_read_from_log(/home/stommel/rogeriobastos/.winswitch/server/sessions/60/nx.log,16,ServerSession(:60 - nx - starting)) read 321 bytes [DD] 2012/11/09 20:46:18 NXServerUtil.do_read_from_log(/home/stommel/rogeriobastos/.winswitch/server/sessions/60/nx.log,16,ServerSession(:60 - nx - starting)) read 10 lines [DD] 2012/11/09 20:46:18 NXServerUtil.process_log_data(ServerSession(:60 - nx - starting),10 lines) reloading=False, lines=['\n', 'NXAGENT - Version 3.5.0\n', '\n', 'Copyright (C) 2001, 2011 NoMachine.\n', 'See http://www.nomachine.com/ for more information.\n', '\n', "Info: Agent running with pid '5057'.\n", "Session: Starting session at 'Tue Sep 11 20:46:18 2012'.\n", "Info: Proxy running in server mode with pid '5057'.\n", "Info: Waiting for connection from any host on port '14061'.\n"] [DD] 2012/11/09 20:46:18 NXServerUtil.process_log_data(ServerSession(:60 - nx - starting),10 lines) new status(\n)=None [DD] 2012/11/09 20:46:18 NXServerUtil.process_log_data(ServerSession(:60 - nx - starting),10 lines) new status(NXAGENT - Version 3.5.0\n)=None [DD] 2012/11/09 20:46:18 NXServerUtil.process_log_data(ServerSession(:60 - nx - starting),10 lines) new status(\n)=None [DD] 2012/11/09 20:46:18 NXServerUtil.process_log_data(ServerSession(:60 - nx - starting),10 lines) new status(Copyright (C) 2001, 2011 NoMachine.\n)=None [DD] 2012/11/09 20:46:18 NXServerUtil.process_log_data(ServerSession(:60 - nx - starting),10 lines) new status(See http://www.nomachine.com/ for more information.\n)=None [DD] 2012/11/09 20:46:18 NXServerUtil.process_log_data(ServerSession(:60 - nx - starting),10 lines) new status(\n)=None [DD] 2012/11/09 20:46:18 NXServerUtil.process_log_data(ServerSession(:60 - nx - starting),10 lines) new status(Info: Agent running with pid '5057'.\n)=None [DD] 2012/11/09 20:46:18 NXServerUtil.process_log_data(ServerSession(:60 - nx - starting),10 lines) new status(Session: Starting session at 'Tue Sep 11 20:46:18 2012'.\n)=starting [II] 2012/11/09 20:46:18 NXServerUtil.process_log_data(ServerSession(:60 - nx - starting),10 lines) setting new status=starting from line=Session: Starting session at 'Tue Sep 11 20:46:18 2012'.\n [DD] 2012/11/09 20:46:18 NXServerUtil.process_log_data(ServerSession(:60 - nx - starting),10 lines) new status(Info: Proxy running in server mode with pid '5057'.\n)=None [DD] 2012/11/09 20:46:18 NXServerUtil.process_log_data(ServerSession(:60 - nx - starting),10 lines) new status(Info: Waiting for connection from any host on port '14061'.\n)=available [II] 2012/11/09 20:46:18 NXServerUtil.process_log_data(ServerSession(:60 - nx - starting),10 lines) setting new status=available from line=Info: Waiting for connection from any host on port '14061'.\n [DD] 2012/11/09 20:46:18 NXServerUtil.poll_server_process(/home/stommel/rogeriobastos/.winswitch/server/sessions/60/nx.log,ServerSession(:60 - nx - starting)) pid=5057 [DD] 2012/11/09 20:46:18 process_util.kill0(5057) pid is still alive [DD] 2012/11/09 20:46:18 NXServerUtil.poll_server_process(/home/stommel/rogeriobastos/.winswitch/server/sessions/60/nx.log,ServerSession(:60 - nx - starting)) pid=5057 [DD] 2012/11/09 20:46:18 process_util.kill0(5057) pid is still alive [DD] 2012/11/09 20:46:18 NXServerUtil.start_session_object(ServerSession(:60 - nx - starting),User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a),False) started=True [DD] 2012/11/09 20:46:18 FirewallUtil.call_script(['ADD', '0.0.0.0', '14061']) firewall_script=/usr/lib/winswitch/firewall [II] 2012/11/09 20:46:18 FirewallUtil.call_script(['ADD', '0.0.0.0', '14061']) firewall script disabled [DD] 2012/11/09 20:46:18 FirewallUtil.call_script(['ALLOW', '127.0.0.1', '0.0.0.0', '14061']) firewall_script=/usr/lib/winswitch/firewall [DD] 2012/11/09 20:46:18 icon_util.load_pixmap_file(/usr/share/icons/Tango/32x32/categories/xfce-multimedia.png,48) gtk pixmap load failed [DD] 2012/11/09 20:46:18 file_io.save_object_to_properties(ServerSession(:60 - nx - starting),None,None) /home/stommel/rogeriobastos/.winswitch/server/sessions/60/config.txt [DD] 2012/11/09 20:46:18 WinSwitchServer.add_new_session(ServerSession(:60 - nx - starting)) can_capture=True, screen_capture_command= [II] 2012/11/09 20:46:18 WinSwitchServer.send_session_to_all(ServerSession(:60 - nx - starting)) clients=[WinSwitchClientChannel(User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a))] [II] 2012/11/09 20:46:18 NXServerUtil.wait_for_session_readyness(ServerSession(:60 - nx - starting),User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a),,) adding/firing session status update callbacks [II] 2012/11/09 20:46:18 WinSwitchServer.send_session_status_to_all(ServerSession(:60 - nx - starting),available) clients=[WinSwitchClientChannel(User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a))] [DD] 2012/11/09 20:46:18 ServerSession.fire_status_callbacks(available) (None, None, , False, None): ()=False [DD] 2012/11/09 20:46:18 file_io.save_object_to_properties(ServerSession(:60 - nx - available),None,None) /home/stommel/rogeriobastos/.winswitch/server/sessions/60/config.txt [DD] 2012/11/09 20:46:18 NXServerUtil.start_session_command(ServerSession(:60 - nx - available)) start_gnome_keyring_daemon=False [DD] 2012/11/09 20:46:18 NXServerUtil.do_start_session_commands(ServerSession(:60 - nx - available),['/usr/bin/xset s off'],False) [II] 2012/11/09 20:46:18 process_util.exec_nopipe(/usr/bin/xset s off,{'LANG': 'en_US.utf8', 'SHELL': '/bin/bash', 'XAUTHORITY': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/xauth', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-VlMDQGOXro,guid=2a0046990704e1eb6e467c16504fcd49', 'PWD': '/home/stommel/rogeriobastos', 'USER': 'rogeriobastos', 'HOME': '/home/stommel/rogeriobastos', 'PATH': '/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games', 'DISPLAY': ':60', 'ORBIT_SOCKETDIR': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/pulse-60'},None,False,True,/home/stommel/rogeriobastos,True)= [DD] 2012/11/09 20:46:18 NXServerUtil.do_start_session_command(ServerSession(:60 - nx - available),/usr/bin/xset s off) process(/usr/bin/xset s off)= [DD] 2012/11/09 20:46:18 NXServerUtil.start_session_wrapper() XDG_OPEN_COMMAND=/usr/bin/xdg-open, WSW_XDG_OPEN=/usr/lib/pymodules/python2.7/winswitch/server/xdg_open.pyc, valid exe=False [DD] 2012/11/09 20:46:18 NXServerUtil.start_session_wrapper(ServerSession(:60 - nx - available)) args=[/usr/lib/winswitch/delayed_start, /home/stommel/rogeriobastos/.winswitch/server/sessions/60/config.txt, --print-pid, --daemon, --log-file, /home/stommel/rogeriobastos/.winswitch/server/sessions/60/command.log], env={'LANG': 'en_US.utf8', 'SHELL': '/bin/bash', '_WINSWITCH_SERVER_PID': '5028', 'XAUTHORITY': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/xauth', 'WINSWITCH_SERVER': '0.12.16', 'QT_GRAPHICSSYSTEM': 'native', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-VlMDQGOXro,guid=2a0046990704e1eb6e467c16504fcd49', 'PWD': '/home/stommel/rogeriobastos', 'USER': 'rogeriobastos', 'HOME': '/home/stommel/rogeriobastos', 'PATH': '/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games', 'DISPLAY': ':60', 'ORBIT_SOCKETDIR': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/pulse-60'}, session_file=/home/stommel/rogeriobastos/.winswitch/server/sessions/60/config.txt [DD] 2012/11/09 20:46:18 file_io.save_object_to_properties(ServerSession(:60 - nx - available),None,None) /home/stommel/rogeriobastos/.winswitch/server/sessions/60/config.txt [DD] 2012/11/09 20:46:18 NXServerUtil.start_session_wrapper(ServerSession(:60 - nx - available)) proc= [II] 2012/11/09 20:46:18 NXServerUtil.start_session_wrapper(ServerSession(:60 - nx - available)) pid(['/usr/lib/winswitch/delayed_start', '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/config.txt', '--print-pid', '--daemon', '--log-file', '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/command.log'])=5111 [DD] 2012/11/09 20:46:18 FirewallUtil.call_script(['ALLOW', '127.0.0.1', '0.0.0.0', '14061']) firewall_script=/usr/lib/winswitch/firewall [DD] 2012/11/09 20:46:18 WinSwitchServer.prepare_and_send_session_to_user(ServerSession(:60 - nx - available),User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a)) display_util=, deadline=1347407208.61 [DD] 2012/11/09 20:46:18 FirewallUtil.call_script(['ALLOW', '127.0.0.1', '0.0.0.0', '14061']) firewall_script=/usr/lib/winswitch/firewall [II] 2012/11/09 20:46:18 NXServerUtil.do_prepare_session_for_attach(ServerSession(:60 - nx - available),User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a),False,) [II] 2012/11/09 20:46:18 NXServerUtil.get_nxagent_options(ServerSession(:60 - nx - available),User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a))={'load': '1', 'core': '0', 'client': 'linux', 'render': '1', 'composite': '1', 'media': '0', 'cache': '32M', 'shpix': '1', 'strict': '0', 'clipboard': 'both', 'cookie': '2522532065d94859a1dd55106b196971', 'shmem': '1', 'keyboard': 'evdev/us', 'images': '16M', 'link': 'wan', 'save': '1', 'cleanup': '0', 'backingstore': '1', 'listen': '14061'} [DD] 2012/11/09 20:46:18 nx_common.nx_display_value({'load': '1', 'core': '0', 'client': 'linux', 'render': '1', 'composite': '1', 'media': '0', 'cache': '32M', 'shpix': '1', 'strict': '0', 'clipboard': 'both', 'cookie': '2522532065d94859a1dd55106b196971', 'shmem': '1', 'keyboard': 'evdev/us', 'images': '16M', 'link': 'wan', 'save': '1', 'cleanup': '0', 'backingstore': '1', 'listen': '14061'},rogeriobastos,:60,True) saved options: 'load=1,core=0,client=linux,render=1,composite=1,media=0,cache=32M,shpix=1,strict=0,clipboard=both,cookie=2522532065d94859a1dd55106b196971,shmem=1,keyboard=evdev/us,images=16M,link=wan,save=1,cleanup=0,backingstore=1,listen=14061:60' to /home/stommel/rogeriobastos/.winswitch/server/sessions/60/nx_options.txt [II] 2012/11/09 20:46:18 process_util.exec_nopipe(['xauth', 'add', ':60', 'MIT-MAGIC-COOKIE-1', '2522532065d94859a1dd55106b196971'],{'LANG': 'en_US.utf8', 'SHELL': '/bin/bash', 'XAUTHORITY': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/xauth', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-VlMDQGOXro,guid=2a0046990704e1eb6e467c16504fcd49', 'PWD': '/home/stommel/rogeriobastos', 'USER': 'rogeriobastos', 'HOME': '/home/stommel/rogeriobastos', 'PATH': '/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games', 'DISPLAY': ':60', 'ORBIT_SOCKETDIR': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/pulse-60'},None,True,False,None,True) waiting on process= [DD] 2012/11/09 20:46:18 NXServerUtil.set_xauth(ServerSession(:60 - nx - available),User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a)) added xauth cookie 2522532065d94859a1dd55106b196971 for :60 [II] 2012/11/09 20:46:18 process_util.exec_nopipe(['xauth', 'add', 'localhost:60', 'MIT-MAGIC-COOKIE-1', '2522532065d94859a1dd55106b196971'],{'LANG': 'en_US.utf8', 'SHELL': '/bin/bash', 'XAUTHORITY': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/xauth', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-VlMDQGOXro,guid=2a0046990704e1eb6e467c16504fcd49', 'PWD': '/home/stommel/rogeriobastos', 'USER': 'rogeriobastos', 'HOME': '/home/stommel/rogeriobastos', 'PATH': '/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games', 'DISPLAY': ':60', 'ORBIT_SOCKETDIR': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/pulse-60'},None,True,False,None,True) waiting on process= [DD] 2012/11/09 20:46:18 NXServerUtil.set_xauth(ServerSession(:60 - nx - available),User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a)) added xauth cookie 2522532065d94859a1dd55106b196971 for localhost:60 [II] 2012/11/09 20:46:18 process_util.exec_nopipe(['xauth', 'add', '127.0.0.1:60', 'MIT-MAGIC-COOKIE-1', '2522532065d94859a1dd55106b196971'],{'LANG': 'en_US.utf8', 'SHELL': '/bin/bash', 'XAUTHORITY': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/xauth', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-VlMDQGOXro,guid=2a0046990704e1eb6e467c16504fcd49', 'PWD': '/home/stommel/rogeriobastos', 'USER': 'rogeriobastos', 'HOME': '/home/stommel/rogeriobastos', 'PATH': '/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games', 'DISPLAY': ':60', 'ORBIT_SOCKETDIR': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/pulse-60'},None,True,False,None,True) waiting on process= [DD] 2012/11/09 20:46:18 NXServerUtil.set_xauth(ServerSession(:60 - nx - available),User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a)) added xauth cookie 2522532065d94859a1dd55106b196971 for 127.0.0.1:60 [DD] 2012/11/09 20:46:18 WinSwitchServer.session_prepared() [II] 2012/11/09 20:46:18 WinSwitchServer.do_send_session_to_user(ServerSession(:60 - nx - available),cb26065cc5f546b496f12220be4e9e1a,1347407208.61) found matching channel WinSwitchClientChannel(User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a)) [II] 2012/11/09 20:46:18 WinSwitchServer.send_session_status_to_all(ServerSession(:60 - nx - available),connecting) clients=[WinSwitchClientChannel(User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a))] [DD] 2012/11/09 20:46:18 ServerSession.fire_status_callbacks(connecting) (None, None, , False, None): ()=False [DD] 2012/11/09 20:46:18 WinSwitchServer.update_session_status(ServerSession(:60 - nx - connecting),connecting,None) connecting_timeout=0 [II] 2012/11/09 20:46:18 WinSwitchServer.send_session_status_to_all(ServerSession(:60 - nx - connecting),None) clients=[WinSwitchClientChannel(User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a))] [DD] 2012/11/09 20:46:18 ServerSession.fire_status_callbacks(available) (['starting'], ['available'], , True, 1347407208.081537): ()=None [DD] 2012/11/09 20:46:18 ProtocolHandler.send_session_icon(ServerSession(:60 - nx - connecting),True) no icon data available... [EE] 2012/11/09 20:46:20 ExecCaptureDisplay.do_capture() screen_capture_command is not defined! [DD] 2012/11/09 20:46:20 WinSwitchServer.capture_err(screen_capture_command is not defined!) [DD] 2012/11/09 20:46:20 ExecCaptureDisplay.exec_capture(['sh', '-c', '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/snapshot.img'],0) [DD] 2012/11/09 20:46:20 process_util.twisted_exec(['sh', '-c', '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/snapshot.img'],,>,None,{'LANG': 'en_US.utf8', 'SHELL': '/bin/bash', 'XAUTHORITY': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/xauth', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-VlMDQGOXro,guid=2a0046990704e1eb6e467c16504fcd49', 'PWD': '/home/stommel/rogeriobastos', 'USER': 'rogeriobastos', 'HOME': '/home/stommel/rogeriobastos', 'PATH': '/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games', 'ORBIT_SOCKETDIR': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/pulse-60'}) [DD] 2012/11/09 20:46:20 ProcessOutput.start() usePTY=False, env={'LANG': 'en_US.utf8', 'SHELL': '/bin/bash', 'XAUTHORITY': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/xauth', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-VlMDQGOXro,guid=2a0046990704e1eb6e467c16504fcd49', 'PWD': '/home/stommel/rogeriobastos', 'USER': 'rogeriobastos', 'HOME': '/home/stommel/rogeriobastos', 'PATH': '/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games', 'ORBIT_SOCKETDIR': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/pulse-60'}, cmd=['sh', '-c', '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/snapshot.img'] [DD] 2012/11/09 20:46:20 ProcessOutput.connectionMade() [DD] 2012/11/09 20:46:20 ProcessOutput.processExited([Failure instance: Traceback (failure with no frames): : A process has ended with a probable error condition: process ended with exit code 127.\n]) Failure (command=['sh', '-c', '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/snapshot.img']), exitCode=127 [DD] 2012/11/09 20:46:20 ProcessOutput.processEnded([Failure instance: Traceback (failure with no frames): : A process has ended with a probable error condition: process ended with exit code 127.\n]) [DD] 2012/11/09 20:46:20 WinSwitchServer.capture_err(winswitch.ui.capture_util.ExecCaptureDisplay failed for display :60: sh: 1: /home/stommel/rogeriobastos/.winswitch/server/sessions/60/snapshot.img: not found) [DD] 2012/11/09 20:46:27 NXServerUtil.do_disable_gnome_screensaver(ServerSession(:60 - nx - connecting)) [II] 2012/11/09 20:46:28 virt_server_daemonizer.grab_daemon_pid(['/usr/lib/winswitch/virt_server_daemonizer', '--quiet', '--print-pid', '--daemon', '--log-file', '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/dbus-send-disable-gnome-screensaver.log', '--', 'dbus-send', '--session', '--dest=org.gnome.ScreenSaver', '--print-reply', '--type=method_call', '--reply-timeout=20000', '/org/gnome/ScreenSaver', 'org.gnome.ScreenSaver.Inhibit', 'string:"Window Switch"', 'string:"Virtual Session"'],None,{'LANG': 'en_US.utf8', 'SHELL': '/bin/bash', 'XAUTHORITY': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/xauth', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-VlMDQGOXro,guid=2a0046990704e1eb6e467c16504fcd49', 'PWD': '/home/stommel/rogeriobastos', 'USER': 'rogeriobastos', 'HOME': '/home/stommel/rogeriobastos', 'PATH': '/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games', 'DISPLAY': ':60', 'ORBIT_SOCKETDIR': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/pulse-60'}) .returncode=0, stdoutdata=5131\n, stderrdata=, pid=5131 [DD] 2012/11/09 20:46:48 NXServerUtil.check_session_has_started() status=connecting, preload=False [EE] 2012/11/09 20:46:50 ExecCaptureDisplay.do_capture() screen_capture_command is not defined! [DD] 2012/11/09 20:46:50 WinSwitchServer.capture_err(screen_capture_command is not defined!) [DD] 2012/11/09 20:46:50 ExecCaptureDisplay.exec_capture(['sh', '-c', '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/snapshot.img'],0) [DD] 2012/11/09 20:46:50 process_util.twisted_exec(['sh', '-c', '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/snapshot.img'],,>,None,{'LANG': 'en_US.utf8', 'SHELL': '/bin/bash', 'XAUTHORITY': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/xauth', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-VlMDQGOXro,guid=2a0046990704e1eb6e467c16504fcd49', 'PWD': '/home/stommel/rogeriobastos', 'USER': 'rogeriobastos', 'HOME': '/home/stommel/rogeriobastos', 'PATH': '/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games', 'ORBIT_SOCKETDIR': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/pulse-60'}) [DD] 2012/11/09 20:46:50 ProcessOutput.start() usePTY=False, env={'LANG': 'en_US.utf8', 'SHELL': '/bin/bash', 'XAUTHORITY': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/xauth', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-VlMDQGOXro,guid=2a0046990704e1eb6e467c16504fcd49', 'PWD': '/home/stommel/rogeriobastos', 'USER': 'rogeriobastos', 'HOME': '/home/stommel/rogeriobastos', 'PATH': '/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games', 'ORBIT_SOCKETDIR': '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/pulse-60'}, cmd=['sh', '-c', '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/snapshot.img'] [DD] 2012/11/09 20:46:50 ProcessOutput.connectionMade() [DD] 2012/11/09 20:46:50 ProcessOutput.processExited([Failure instance: Traceback (failure with no frames): : A process has ended with a probable error condition: process ended with exit code 127.\n]) Failure (command=['sh', '-c', '/home/stommel/rogeriobastos/.winswitch/server/sessions/60/snapshot.img']), exitCode=127 [DD] 2012/11/09 20:46:50 ProcessOutput.processEnded([Failure instance: Traceback (failure with no frames): : A process has ended with a probable error condition: process ended with exit code 127.\n]) [DD] 2012/11/09 20:46:50 WinSwitchServer.capture_err(winswitch.ui.capture_util.ExecCaptureDisplay failed for display :60: sh: 1: /home/stommel/rogeriobastos/.winswitch/server/sessions/60/snapshot.img: not found) [DD] 2012/11/09 20:47:18 WinSwitchClientChannel.connectionMade() via local socket [DD] 2012/11/09 20:47:18 ProtocolHandler.__init__(ServerSettings(stommel),>) [DD] 2012/11/09 20:47:18 WinSwitchClientChannel.get_handler() adding local handlers [II] 2012/11/09 20:47:18 WinSwitchClientChannel.local_close_request(,f4bafdeebc6540c78700d94111ca3915) [DD] 2012/11/09 20:47:18 PortMapper.free_port(14061) [DD] 2012/11/09 20:47:18 PortMapper.free_port(6060) [DD] 2012/11/09 20:47:18 ServerSession.fire_status_callbacks(closed) (None, ['closed'], , True, None): ()=None [II] 2012/11/09 20:47:18 NXServerUtil.session_cleanup(ServerSession(:60 - nx - closed)) clearing /home/stommel/rogeriobastos/.winswitch/server/sessions/60 [DD] 2012/11/09 20:47:18 ServerSession.fire_status_callbacks(closed) (None, ['closed'], , True, None): ()=None [II] 2012/11/09 20:47:18 process_util.exec_nopipe(['xauth', 'remove', ':60'],None,{'DISPLAY': ':60'},True,False,None,True) waiting on process= [DD] 2012/11/09 20:47:18 ServerSession.fire_status_callbacks(closed) (None, ['closed'], , True, None): ()=None [DD] 2012/11/09 20:47:18 ServerSession.fire_status_callbacks(closed) (None, ['closed'], , True, None): ()=None [II] 2012/11/09 20:47:18 ServerSession.close() self=ServerSession(:60 - nx - closed), killing {'99-server-process': 5057, '50-session-wrapper': 5111, '10-dbus': 5046} [DD] 2012/11/09 20:47:18 ServerSession.close() killing 10-dbus: 5046 [II] 2012/11/09 20:47:18 process_util.send_kill_signal(5046,15) [DD] 2012/11/09 20:47:18 process_util.send_kill_signal(5046,15) using os.kill [DD] 2012/11/09 20:47:18 ServerSession.close() killing 50-session-wrapper: 5111 [II] 2012/11/09 20:47:18 process_util.send_kill_signal(5111,15) [DD] 2012/11/09 20:47:18 process_util.send_kill_signal(5111,15) using os.kill [DD] 2012/11/09 20:47:18 ServerSession.close() killing 99-server-process: 5057 [II] 2012/11/09 20:47:18 process_util.send_kill_signal(5057,15) [DD] 2012/11/09 20:47:18 process_util.send_kill_signal(5057,15) using os.kill [EE] 2012/11/09 20:47:18 process_util.send_kill_signal(5057,15) [Errno 3] No such process [DD] 2012/11/09 20:47:18 file_io.get_sub_dir(/home/stommel/rogeriobastos/.winswitch/server/sessions,60,False,511) directory /home/stommel/rogeriobastos/.winswitch/server/sessions/60 does not exist, creating it [II] 2012/11/09 20:47:18 NXServerUtil.session_cleanup(ServerSession(:60 - nx - closed)) clearing /home/stommel/rogeriobastos/.winswitch/server/sessions/60 [II] 2012/11/09 20:47:18 WinSwitchClientChannel.send_remove_session(ServerSession(:60 - nx - closed)) [DD] 2012/11/09 20:47:18 WinSwitchClientChannel.connectionLost([Failure instance: Traceback (failure with no frames): : Connection was closed cleanly.\n]) via local socket [DD] 2012/11/09 20:47:19 NXServerUtil.session_logfile_changed() [DD] 2012/11/09 20:47:19 NXServerUtil.read_from_log(/home/stommel/rogeriobastos/.winswitch/server/sessions/60/nx.log,16,ServerSession(:60 - nx - closed)) read_pending=False [DD] 2012/11/09 20:47:19 NXServerUtil.session_logfile_changed() [DD] 2012/11/09 20:47:19 NXServerUtil.read_from_log(/home/stommel/rogeriobastos/.winswitch/server/sessions/60/nx.log,16,ServerSession(:60 - nx - closed)) read_pending=False [DD] 2012/11/09 20:47:19 NXServerUtil.session_logfile_changed() [DD] 2012/11/09 20:47:19 NXServerUtil.read_from_log(/home/stommel/rogeriobastos/.winswitch/server/sessions/60/nx.log,16,ServerSession(:60 - nx - closed)) read_pending=False [II] 2012/11/09 20:47:28 WinSwitchClientChannel.connectionLost([Failure instance: Traceback (failure with no frames): : Connection was closed cleanly.\n]) removing user 'User(Rogerio Bastos : cb26065cc5f546b496f12220be4e9e1a)', ID=cb26065cc5f546b496f12220be4e9e1a [DD] 2012/11/09 20:47:28 WinSwitchServer.remove_client(WinSwitchClientChannel(None)) [DD] 2012/11/09 20:47:28 WinSwitchClientChannel.fire_close_callbacks() callbacks=[] [II] 2012/11/09 20:47:40 main_loop.loop_run() reactor.run() terminated [DD] 2012/11/09 20:47:40 process_util.dump_threads() current_thread=<_MainThread(MainThread, started 140029338121984)> [DD] 2012/11/09 20:47:40 process_util.dump_threads() total number of threads=1 [II] 2012/11/09 20:47:40 WinSwitchServer.cleanup(False,) [II] 2012/11/09 20:47:40 AvahiPublishers.stop() stopping: [AvahiPublisher(Window Switch for Rogerio Bastos on stommel :40220 interface=-1)] [II] 2012/11/09 20:47:40 NXServerUtil.stop() [II] 2012/11/09 20:47:40 GSTVideoServerUtil.stop() [II] 2012/11/09 20:47:40 LocalX11ServerUtil.stop() [II] 2012/11/09 20:47:40 VNCServerUtil.stop() [II] 2012/11/09 20:47:40 WinSwitchServer.cleanup(True,) [DD] 2012/11/09 20:47:40 WinSwitchServer.cleanup() already clean