Opened 7 years ago

Closed 7 years ago

#206 closed task (needinfo)

test ssh public key login on win32

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: minor Milestone: 0.12
Component: Client Keywords: win32
Cc:

Description

As reported here on the mailing list, there may be an issue with win32 ssh public key authentication.

Re-test it.

Change History (3)

comment:1 Changed 7 years ago by Punx120

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

# Terminal 1:

$ ./xpra start :100

# 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:

[email protected] 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

Last edited 7 years ago by Antoine Martin (previous) (diff)

comment:2 Changed 7 years ago by Antoine Martin

I fired up my CentOS 6.2 and tried to reproduce this bug and I cannot.

Please provide more details.
Why are you running xpra as "./xpra"?
Have you tried using the binary packages I made instead?

(also this is the wrong bug tracker... xpra's is here)

comment:3 Changed 7 years ago by Antoine Martin

Resolution: needinfo
Status: newclosed

Not heard back for 1 month - closing.

Note: See TracTickets for help on using tickets.