[winswitch] Can't connect from windows

Sylvain Archenault punx120 at gmail.com
Thu Jul 12 15:03:25 BST 2012


The server is running RHEL 6.2. Here is what to make it work with SSH

# Terminal 1:
$ ./xpra start :100
I
# Terminal 2:
$ ./xpra attach :100
failed to locate the dbus notification service
cannot import pynotify wrapper: No module named pynotify
turning notifications off
'['setxkbmap', '-query']' failed with exit code 255
the server will try to guess your keyboard mapping, which works
reasonably well in most cases
however, upgrading 'setxkbmap' to a version that supports the '-query'
parameter is preferred
mmap enabled using /tmp/xpra.dgjfUh.mmap
Attached (press Control-C to detach)

In the log file, i have this:
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
expected keysym, got XF86TouchpadOn: line 120 of inet
expected keysym, got XF86TouchpadOff: line 121 of inet
Xlib:  extension "RANDR" missing on display ":100.0".
Xlib:  extension "RANDR" missing on display ":100.0".
your version of PyGTK is too old - expect some bugs
Xlib:  extension "RANDR" missing on display ":100.0".
Randr not supported: X server does not support required extension Randr
error loading or registering our dbus notifications forwarder:
org.freedesktop.DBus.Error.Spawn.ExecFailed: /bin/dbus-launch
terminated abnormally without any error message

xpra is ready.
New connection received: /home/team13/syarc/.xpra/tlmlb001-100
Handshake complete; enabling connection
encoding set to rgb24, client supports ['rgb24', 'x264', 'vpx'],
server supports ['rgb24', 'x264', 'vpx']
using client supplied mmap file=/tmp/xpra.dgjfUh.mmap, size=134217728
client resolution is [3840, 1024], current server resolution is 3840x2560
setting key repeat rate from client: 500 / 32
guessing keyboard layout='pc+us+inet'
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Symbol map for key <ESC> redefined
>                   Using last definition for conflicting fields
... A lot like that and then:
expected keysym, got XF86TouchpadOn: line 120 of inet
expected keysym, got XF86TouchpadOff: line 121 of inet
Errors from xkbcomp are not fatal to the X server
['setxkbmap', 'pc+us+inet']
['xkbcomp', '-', ':100'] with stdin=xkb_keymap {\n      xkb_keycodes  { ..

Then if I try to run ./xpra list, i have this:
syarc at tlmlb001 bin$ ./xpra list
Found the following xpra sessions:
        DEAD session at :100 (cleaned up)

Which erases ~/.xpra/tlmlb001-100= so I can't attach anymore


If I start a GUI application, everything works as I expect.

Thanks
Sylvain

On Thu, Jul 12, 2012 at 8:45 AM, Sylvain Archenault <punx120 at gmail.com> wrote:
> Hello,
>
> I built xpra 0.3.3 on one of my linux server, and it seems to work
> correcly. I also installed the last version of WinSwitch on my windows
> desktop.
>
> The problem is that I can't connect to my server. I'm using a SSH key
> to connect to the server, it works fine with putty. But WinSwitch is
> unable to establish the connection. here is the log from applet.log
>
> [II] 2012/12/07 08:42:54
> ConchStdioRemoteClientLinkFactory.__init__(syarc,#######,tlmlb001,22,,###############################,,ff:1c:c6:41:b6:0d:71:e3:73:37:17:77:bc:f3:a4:44)
> [II] 2012/12/07 08:42:54 ConchTransport.connectionMade()
> [II] 2012/12/07 08:42:55
> WinSwitchApplet.get_link_client(ServerConfig(tlmlb001:),None) no link
> client
> [II] 2012/12/07 08:42:55
> ConchTransport.verifyHostKey([...],ff:1c:c6:41:b6:0d:71:e3:73:37:17:77:bc:f3:a4:44)
> dialog_util=<winswitch.ui.dialog_util.Dialog_Util instance at
> 0x01EC52B0>, factory=<winswitch.client.conch_server_channel.ConchStdioRemoteClientLinkFactory
> instance at 0x01F440D0>,
> hostkey_fingerprint=ff:1c:c6:41:b6:0d:71:e3:73:37:17:77:bc:f3:a4:44
> [II] 2012/12/07 08:42:55
> ConchConnection.__init__(<winswitch.client.conch_server_channel.ConchStdioRemoteClientLinkFactory
> instance at 0x01F440D0>)
> [II] 2012/12/07 08:42:55
> ConchUserAuth.__init__(<winswitch.client.conch_server_channel.ConchStdioRemoteClientLinkFactory
> instance at 0x01F440D0>,<winswitch.net.conch_util.ConchConnection
> instance at 0x021352B0>)
> [II] 2012/12/07 08:42:55 ConchTransport.connectionSecure()
> auth=<winswitch.net.conch_util.ConchUserAuth instance at 0x021EAA58>
> [II] 2012/12/07 08:42:55 ConchUserAuth.serviceStarted()
> agent_socket_filename=None
> [II] 2012/12/07 08:42:55 ConchUserAuth.ssh_USERAUTH_FAILURE(
>  publickey,keyboard-interactive ) TWISTED_MAJOR=12
> [II] 2012/12/07 08:42:55
> ConchUserAuth._cbUserauthFailure(None,<listiterator object at
> 0x01F41890>) attempts=0
> [II] 2012/12/07 08:42:55 ConchUserAuth.getPublicKey() agentKeyIndex=0,
> 0 agentKeys
> [II] 2012/12/07 08:42:55 ConchUserAuth.getPublicKey() testing public_key=
> [II] 2012/12/07 08:42:55
> ConchUserAuth._cbUserauthFailure(False,<listiterator object at
> 0x01F41890>) attempts=0
> [II] 2012/12/07 08:42:55
> ConchUserAuth._cbUserauthFailure(True,<listiterator object at
> 0x01F41890>) attempts=0
> [II] 2012/12/07 08:42:55 ConchUserAuth.ssh_USERAUTH_FAILURE(
>  publickey,keyboard-interactive ) TWISTED_MAJOR=12
> [II] 2012/12/07 08:42:55
> ConchUserAuth._cbUserauthFailure(None,<listiterator object at
> 0x01F41890>) attempts=0
> [II] 2012/12/07 08:42:55 ConchUserAuth.getPublicKey() agentKeyIndex=0,
> 0 agentKeys
> [II] 2012/12/07 08:42:55 ConchUserAuth.getPublicKey() testing public_key=
> [II] 2012/12/07 08:42:55
> ConchUserAuth._cbUserauthFailure(False,<listiterator object at
> 0x01F41890>) attempts=0
> [II] 2012/12/07 08:42:55
> ConchUserAuth._cbUserauthFailure(True,<listiterator object at
> 0x01F41890>) attempts=0
> [II] 2012/12/07 08:42:55 ConchUserAuth.ssh_USERAUTH_FAILURE(
>  publickey,keyboard-interactive ) TWISTED_MAJOR=12
> [II] 2012/12/07 08:42:55
> ConchUserAuth._cbUserauthFailure(None,<listiterator object at
> 0x01F41890>) attempts=0
> [II] 2012/12/07 08:42:55 ConchUserAuth.getPublicKey() agentKeyIndex=0,
> 0 agentKeys
> [II] 2012/12/07 08:42:55 ConchUserAuth.getPublicKey() testing public_key=
> [II] 2012/12/07 08:42:55
> ConchUserAuth._cbUserauthFailure(False,<listiterator object at
> 0x01F41890>) attempts=0
> [II] 2012/12/07 08:42:55
> ConchUserAuth._cbUserauthFailure(True,<listiterator object at
> 0x01F41890>) attempts=0
> [II] 2012/12/07 08:42:55 ConchUserAuth.ssh_USERAUTH_FAILURE(
>  publickey,keyboard-interactive ) TWISTED_MAJOR=12
> [II] 2012/12/07 08:42:55
> ConchUserAuth._cbUserauthFailure(None,<listiterator object at
> 0x01F41890>) attempts=0
> [II] 2012/12/07 08:42:55 ConchUserAuth.getPublicKey() agentKeyIndex=0,
> 0 agentKeys
> [II] 2012/12/07 08:42:55 ConchUserAuth.getPublicKey() testing public_key=
> [II] 2012/12/07 08:42:55
> ConchUserAuth._cbUserauthFailure(False,<listiterator object at
> 0x01F41890>) attempts=0
> [II] 2012/12/07 08:42:55
> ConchUserAuth._cbUserauthFailure(True,<listiterator object at
> 0x01F41890>) attempts=0
> [II] 2012/12/07 08:42:55 ConchUserAuth.ssh_USERAUTH_FAILURE(
>  publickey,keyboard-interactive ) TWISTED_MAJOR=12
> [II] 2012/12/07 08:42:55
> ConchUserAuth._cbUserauthFailure(None,<listiterator object at
> 0x01F41890>) attempts=0
> [II] 2012/12/07 08:42:55 ConchUserAuth.getPublicKey() agentKeyIndex=0,
> 0 agentKeys
> [II] 2012/12/07 08:42:55 ConchUserAuth.getPublicKey() testing public_key=
> [II] 2012/12/07 08:42:55
> ConchUserAuth._cbUserauthFailure(False,<listiterator object at
> 0x01F41890>) attempts=0
> [II] 2012/12/07 08:42:55
> ConchUserAuth._cbUserauthFailure(True,<listiterator object at
> 0x01F41890>) attempts=0
> [II] 2012/12/07 08:42:55 ConchUserAuth.ssh_USERAUTH_FAILURE(
>  publickey,keyboard-interactive ) TWISTED_MAJOR=12
> [II] 2012/12/07 08:42:55
> ConchUserAuth._cbUserauthFailure(None,<listiterator object at
> 0x01F41890>) attempts=0
> [II] 2012/12/07 08:42:55 ConchUserAuth.getPublicKey() agentKeyIndex=0,
> 0 agentKeys
> [II] 2012/12/07 08:42:55 ConchUserAuth.getPublicKey() testing public_key=
> [II] 2012/12/07 08:42:55
> ConchUserAuth._cbUserauthFailure(False,<listiterator object at
> 0x01F41890>) attempts=0
> [II] 2012/12/07 08:42:55
> ConchUserAuth._cbUserauthFailure(True,<listiterator object at
> 0x01F41890>) attempts=0
> [II] 2012/12/07 08:42:55
> ConchStdioRemoteClientLinkFactory.clientConnectionLost(<twisted.internet.tcp.Connector
> instance at 0x0212F828>,[Failure instance: Traceback (failure with no
> frames): <class 'twisted.internet.error.ConnectionDone'>: Connection
> was closed cleanly.\n])
> [EE] 2012/12/07 08:42:55 ConchStdioRemoteClientLinkFactory.disconnected()
> [II] 2012/12/07 08:42:55
> WinSwitchApplet.get_link_client(ServerConfig(tlmlb001:),None) no link
> client
>
> A few months ago, I was able to make it work with xpra 0.1 on a
> different server, but using the same connection setup.
>
> Do you know what could be wrong ?
>
> Thanks
> Sylvain



More information about the shifter-users mailing list