Client:
Xpra-Python3-x86_64_3.0-r22449\xpra_cmd" start ssh://user@ip/2 --opengl=no --start-new-commands=yes --microphone=off --speaker=off --webcam=no --start=gnome-terminal 2019-04-24 15:11:43,639 Xpra GTK3 client version 3.0-r22449 64-bit 2019-04-24 15:11:43,641 running on Microsoft Windows 10 2019-04-24 15:11:44,763 GStreamer version 1.14.4 for Python 3.7.2 64-bit 2019-04-24 15:11:45,278 keyboard settings: layout=us 2019-04-24 15:11:45,281 desktop size is 1600x900 with 1 screen: 2019-04-24 15:11:45,281 Default (423x238 mm - DPI: 96x96) workarea: 1600x860 2019-04-24 15:11:45,281 (Standard monitor types) Generic PnP Monitor (309x174 mm - DPI: 131x131) 2019-04-24 15:12:08,100 unknown string message: 0xc120 / 0x1 / 0x1 2019-04-24 15:12:08,153 unknown string message: 0xc120 / 0x2 / 0x0 2019-04-24 15:12:10,255 unknown string message: 0xc120 / 0x1 / 0x1 2019-04-24 15:12:10,326 unknown string message: 0xc120 / 0x2 / 0x0 2019-04-24 15:12:12,265 unknown string message: 0xc120 / 0x1 / 0x1 2019-04-24 15:12:12,347 unknown string message: 0xc120 / 0x2 / 0x0 2019-04-24 15:12:12,938 unknown string message: 0xc120 / 0x1 / 0x1 2019-04-24 15:12:12,994 unknown string message: 0xc120 / 0x2 / 0x0 2019-04-24 15:12:13,889 unknown string message: 0xc120 / 0x1 / 0x1 2019-04-24 15:12:13,916 unknown string message: 0xc120 / 0x2 / 0x0 2019-04-24 15:13:16,706 Error: failed to receive anything, not an xpra server? 2019-04-24 15:13:16,708 could also be the wrong protocol, username, password or port 2019-04-24 15:13:16,709 or the session was not found 2019-04-24 15:13:16,710 Connection lost Press any key to continue . . .
Server (Ubuntu 16.04.6 / xpra v3.0-r22432):
/run/user/1000/xpra$ cat display-\:2.log 2019-04-24 15:11:46,097 cannot access python uinput module: 2019-04-24 15:11:46,097 No module named uinput (EE) Fatal server error: (EE) Server is already active for display 2 If this server is no longer running, remove /tmp/.X2-lock and start again. (EE) 2019-04-24 15:11:46,165 created unix domain socket: /run/user/1000/xpra/user-precision-t3620-2 2019-04-24 15:11:46,165 created unix domain socket: /run/xpra/user-precision-t3620-2 2019-04-24 15:11:46,165 2019-04-24 15:11:46,165 Xvfb command has terminated! xpra cannot continue 2019-04-24 15:11:46,165 if the display is already running, try a different one, 2019-04-24 15:11:46,165 or use the --use-display flag 2019-04-24 15:11:46,165 2019-04-24 15:11:46,166 killing xvfb with pid 20399 2019-04-24 15:11:46,166 failed to kill xvfb process with pid 20399: 2019-04-24 15:11:46,166 [Errno 3] No such process 2019-04-24 15:11:46,166 removing socket /run/user/1000/xpra/user-precision-t3620-2 2019-04-24 15:11:46,166 removing socket /run/xpra/user-precision-t3620-2
Then, I could (and did) recover with xpra start :2 --use-display
:
:/run/user/1000/xpra$ cat display-\:2.log 2019-04-24 15:14:27,586 created unix domain socket: /run/user/1000/xpra/user-precision-t3620-2 2019-04-24 15:14:27,586 created unix domain socket: /run/xpra/user-precision-t3620-2 2019-04-24 15:14:27,621 pointer device emulation using XTest 2019-04-24 15:14:27,628 serving html content from: /usr/share/xpra/www 2019-04-24 15:14:28,327 Warning: OpenGL support check failed: 2019-04-24 15:14:28,327 unknown error 2019-04-24 15:14:28,349 D-Bus notification forwarding is available 2019-04-24 15:14:28,356 pulseaudio server started with pid 23995 2019-04-24 15:14:28,356 private server socket path: 2019-04-24 15:14:28,356 '/run/user/1000/xpra/pulse-2/pulse/native' 2019-04-24 15:14:28,395 xpra GTK2 X11 version 3.0-r22432 64-bit 2019-04-24 15:14:28,398 uid=1000 (user), gid=1000 (user) 2019-04-24 15:14:28,399 running with pid 23940 on Linux Ubuntu 16.04 xenial 2019-04-24 15:14:28,399 connected to X11 display :2 with 24 bit colors 2019-04-24 15:14:28,418 xpra is ready. 2019-04-24 15:14:29,524 printer forwarding enabled using postscript and pdf 2019-04-24 15:14:29,639 62.7GB of system memory 2019-04-24 15:14:29,911 Warning: remote clipboard request timed out 2019-04-24 15:14:29,912 request id 0, selection=CLIPBOARD, target=TARGETS 2019-04-24 15:14:46,463 New unix-domain connection received on /run/user/1000/xpra/user-precision-t3620-2 2019-04-24 15:14:46,465 New unix-domain connection received on /run/xpra/user-precision-t3620-2 2019-04-24 15:15:07,915 New unix-domain connection received on /run/user/1000/xpra/user-precision-t3620-2 2019-04-24 15:15:07,921 Handshake complete; enabling connection 2019-04-24 15:15:07,941 automatic picture encoding enabled, also available: 2019-04-24 15:15:07,941 h264, vp9, vp8, png, png/P, png/L, rgb24, rgb32, jpeg 2019-04-24 15:15:07,942 Python/GTK3 Microsoft Windows 10 aero client version 3.0-r22449 64-bit 2019-04-24 15:15:07,943 connected from 'LT-012076' as 'user' - 'user-win' 2019-04-24 15:15:07,950 setting key repeat rate from client: 500ms delay / 33ms interval 2019-04-24 15:15:07,953 setting keyboard layout to 'us' 2019-04-24 15:15:07,989 client root window size is 1600x900 with 1 display: 2019-04-24 15:15:07,990 Default (423x238 mm - DPI: 96x96) workarea: 1600x860 2019-04-24 15:15:07,990 (Standard monitor types) Generic PnP Monitor (309x174 mm - DPI: 131x131) 2019-04-24 15:15:07,991 temporarily switching to 5760x2560 as a Xinerama workaround 2019-04-24 15:15:08,017 server virtual display now set to 1600x900 2019-04-24 15:15:08,049 DPI set to 96 x 96 2019-04-24 15:15:08,117 client @06.937 Xpra GTK2 X11 server version 3.0-r22432 64-bit 2019-04-24 15:15:08,161 client @06.937 running on Linux Ubuntu 16.04 xenial 2019-04-24 15:15:08,161 client @06.984 Attached to ip:22 2019-04-24 15:15:08,165 client @06.984 (press Control-C to detach) 2019-04-24 15:15:08,663 New unix-domain connection received on /run/user/1000/xpra/user-precision-t3620-2 2019-04-24 15:15:08,663 New unix-domain connection received on /run/xpra/user-precision-t3620-2 2019-04-24 15:15:09,521 the remote printer 'Send To OneNote 16' has been configured 2019-04-24 15:15:09,545 the remote printer 'Microsoft Print to PDF' has been configured 2019-04-24 15:15:09,545 the remote printer 'OneNote' has been configured 2019-04-24 15:15:13,426 client @12.250 Warning: limited clipboard support for CLIPBOARD 2019-04-24 15:15:13,430 client @12.250 g-invoke-error-quark: Class GtkInvisible doesn't implement selection_get (1) 2019-04-24 15:15:22,075 client @20.906 unknown string message: 0xc120 / 0x1 / 0x1
and then, I saw a gnome-terminal
already newly instantiated (PS1 has date
in it).
I used to have a xpra-server
there, but I think I had stopped it successfully days ago :/
However, could it be that it hadn't stop somehow? Or ps
is stupid?
$ echo $$ 26922 $ pstree -achglnspU 26908 systemd,1,1 --system --deserialize 28 └─gnome-terminal-,26908,26812 ├─{dconf worker},26909,26812 ├─{gmain},26910,26812 ├─{gdbus},26911,26812 └─bash,26922,26922 $ ps aux | head -1 ; ps aux | grep -P '26[9]08|26[9]22' USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND user 26908 0.0 0.0 500236 22128 ? Sl Feb23 0:00 /usr/lib/gnome-terminal/gnome-terminal-server user 26922 0.0 0.0 25024 6520 pts/26 Ss+ Feb23 0:00 bash
(I leave the server running for further debug info, if needed)
Isn't that gnome-terminal-server
and not gnome-terminal
?
That's a service, started on demand, it isn't tied to a display AFAIK.
As for the original server start failure, you are specifying a display number and that one was in use - for whatever reason, so it failed to start. If you didn't specify a display number instead, it would have worked.
Isn't that gnome-terminal-server and not gnome-terminal?
I don't know. But the shell is a child of this, and not an "other" gnome-terminal
If you didn't specify a display number instead, it would have worked.
If I didn't specify a display, how would I know then where to reconnect then? 😕
There is no obvious reason for the display to be used, but, I guess I can accept your argument.
If I didn't specify a display, how would I know then where to reconnect then? 😕
If there's only one xpra display active, you don't need to specify anything.
There is no obvious reason for the display to be used, but, I guess I can accept your argument.
Very likely to be from another session, dead or alive.
Can we close this ticket or is there something that needs fixing?
Replying to Antoine Martin:
If I didn't specify a display, how would I know then where to reconnect then? 😕
If there's only one xpra display active, you don't need to specify anything.
what if there is one shadow and one terminal session? :/
Can be closed I guess
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2283