xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 6 years ago

Closed 6 years ago

Last modified 16 months ago

#1102 closed defect (invalid)

xpra start not working, and unable to connect from a mac

Reported by: john_taylor Owned by: Antoine Martin
Priority: major Milestone: 0.17
Component: client Version: trunk
Keywords: Cc:

Description (last modified by Antoine Martin)

I've just installed Xpra, and an having trouble making anything work.

Firstly on the local Machine, running Mint 17.3, I'm using xpra from the mint repo (v0.12.3).
Trying to connect locally:

$ xpra start ssh:me@mypc:100 --start-child=xterm
2016-01-28 16:37:26,650 OpenGL support not enabled: No module named gdkgl
2016-01-28 16:37:27,105 detected keyboard: rules=evdev, model=pc105,
2016-01-28 16:37:27,106 desktop size is 2560x1024 with 1 screen(s):
2016-01-28 16:37:27,106 ':0.0' (677x271 mm)
2016-01-28 16:37:27,106 VGA-0 1280x1024 (376x301 mm)
2016-01-28 16:37:27,106 DVI-I-0 1280x1024 at 1280x0 (376x301 mm)
Traceback (most recent call last):
File "/usr/bin/xpra", line 8, in <module>
sys.exit(main(sys.argv[0], sys.argv))
File "/usr/lib/python2.7/dist-packages/xpra/scripts/main.py", line 70,
in main
return run_mode(script_file, parser, options, args, mode)
File "/usr/lib/python2.7/dist-packages/xpra/scripts/main.py", line 620,
in run_mode
return run_proxy(parser, options, script_file, args, mode)
File "/usr/lib/python2.7/dist-packages/xpra/scripts/main.py", line 1074,
in run_proxy
assert len(args)==1, "proxy/shadow-start: expected 1 argument but got
%s" % len(args)
AssertionError: proxy/shadow-start: expected 1 argument but got 2
2016-01-28 16:37:27,234 Connection lost

However, If I do it in separate stages,it works:

xpra start :10
DISPLAY=:10 xterm
xpra attach :10

If I try to connect from another machine on the network (A Mac running OS X 10.10.5), the GUI client connects and then immediately disconnects. I can't see any errors on the server log:

2016-01-28 18:21:27,523 New connection received: SocketConnection(/home/john/.xpra/torrent-11)
2016-01-28 18:21:27,927 Handshake complete; enabling connection
2016-01-28 18:21:27,927 Disconnecting existing client Protocol(SocketConnection(/home/john/.xpra/torrent-11)), reason is: new valid connection received, this session does not allow sharing
2016-01-28 18:21:27,928 xpra client disconnected.
2016-01-28 18:21:27,928 Connection lost
2016-01-28 18:21:27,932 Python/Gtk2 Mac OSX client version 0.16.1 connected from 'Mist.local' as 'john' ('John Taylor')
2016-01-28 18:21:27,932 using h264 as primary encoding, also available: vp8, png, png/P, png/L, rgb24, jpeg, rgb32
2016-01-28 18:21:27,932 client root window size is 1440x900 with 1 displays:
2016-01-28 18:21:27,933   'mist.local' (508x317 mm)
2016-01-28 18:21:27,933     monitor 1
2016-01-28 18:21:27,940 server virtual display now set to 1440x900
2016-01-28 18:21:27,943 setting keyboard layout to 'us'
2016-01-28 18:21:28,041 Connection lost
2016-01-28 18:21:28,041 Connection lost
2016-01-28 18:21:28,041 xpra client disconnected.

After a few attempts at getting things working, it seems that the display gets blocked up, and I have to start with a new display number.

Change History (2)

comment:1 Changed 6 years ago by Antoine Martin

Description: modified (diff)
Resolution: invalid
Status: newclosed

Please see wiki/Packaging for why using a version with know ugs and vulnerabilities is a very bad idea.

For a start, 0.16.1 may not even work with something as old as what you have on the server.

comment:2 Changed 16 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1102

Note: See TracTickets for help on using tickets.