xpra icon
Bug tracker and wiki

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


Custom Query (2683 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (40 - 42 of 2683)

Ticket Resolution Summary Owner Reporter
#1709 invalid authentication connection lost Boruch Boruch
Description

version: Xpra gtk2 client version 2.1.3-r17247 64-bit platform: Linux 4.9.0-4-amd64 x86_64 Debian

I'm not sure if I'm using the authentication feature correctly, but here's one scenario of recent trouble:

xpra start --bind=auto --auth=pam --start=xfce4-terminal

So far, seems so good ...

xpra attach :1

No opportunity to enter a password, but reasonably quickly the following error messages appeared

2017-11-26 20:07:57,294 Error: authentication failed:
2017-11-26 20:07:57,295  this server requires authentication, please provide a password
2017-11-26 20:07:57,338 Connection lost

The tail of the log file offered some more detail:

Failed to connect to session manager: Failed to connect to the session manager: SESSION_MANAGER environment variable not defined
2017-11-26 20:15:44,686 New unix-domain connection received on /home/me/.xpra/E15-2016-1[0m
2017-11-26 20:15:44,789 New unix-domain connection received on /home/me/.xpra/E15-2016-1[0m
[33m2017-11-26 20:15:45,171 Warning: unused keyword arguments for PAM authentication:[0m
[33m2017-11-26 20:15:45,172  {'exec_cwd': '/home/me', 'connection': unix-domain socket:/home/me/.xpra/E15-2016-1, 'name': 'me'}[0m
2017-11-26 20:15:45,172 Authentication required by PAM authenticator module[0m
2017-11-26 20:15:45,172  sending challenge for username 'me' using xor digest[0m
2017-11-26 20:15:47,548 client has requested disconnection: no password available[0m
2017-11-26 20:15:47,548 Disconnecting client /home/me/.xpra/E15-2016-1:[0m
2017-11-26 20:15:47,549  client request[0m

2017-11-26 20:15:55,312 got signal SIGTERM, exiting[0m
2017-11-26 20:15:55,334 killing xvfb with pid 11355[0m
2017-11-26 20:15:55,334 removing socket /home/me/.xpra/E15-2016-1[0m
Terminated
(II) Server terminated successfully (0). Closing log file.

I then tried an alternative:

xpra start --bind=auto --auth=password:value=me --start=xfce4-terminal
xpra attach :2 --auth=password:value=me

with the same output to STDERR...

2017-11-26 20:39:44,134 Error: authentication failed:
2017-11-26 20:39:44,134  this server requires authentication, please provide a password
2017-11-26 20:39:44,169 Connection lost

And this to the log...

Failed to connect to session manager: Failed to connect to the session manager: SESSION_MANAGER environment variable not defined
2017-11-26 20:39:41,250 New unix-domain connection received on /home/me/.xpra/E15-2016-2[0m
2017-11-26 20:39:41,353 New unix-domain connection received on /home/me/.xpra/E15-2016-2[0m
2017-11-26 20:39:42,023 Authentication required by password authenticator module[0m
2017-11-26 20:39:42,023  sending challenge for username 'me' using hmac+sha512 digest[0m
2017-11-26 20:39:44,136 client has requested disconnection: no password available[0m
2017-11-26 20:39:44,136 Disconnecting client /home/me/.xpra/E15-2016-2:[0m
2017-11-26 20:39:44,136  client request[0m

A third very different scenario that I tried had a very different failure, so I'll post it in another ticket.

#1710 worksforme gksu interface not accepting input Boruch Boruch
Description

version: Xpra gtk2 client version 2.1.3-r17247 64-bit platform: Linux 4.9.0-4-amd64 x86_64 Debian

When starting a server as follows:

xpra start --start="gksu /usr/sbin/gparted"

Attaching a client gives no error messages to STDERR or anything of interest in the log (ie. only lines that exist in a normal properly operating connection).

However, what actually happens is awful and stressful:

1] The client grabs control of the entire screen space instead of 800x600, and paints it all black

2] The lower right hand corner of the display does offer the gksu dialog, with a blinking cursor in the input field.

3] No input is echoed to the input field.

4] Input keystrokes are sent to the environment that spawned the client, ie. keystrokes that would go to the spawning terminal are sent there, and keystrokes that would be intercepted by the window manager would be intercepted there.

4.1] However, the xpra client would not release control of the entire visible display (I think in X11 terminology it's called the 'seat').

4.2] Because C-c is being sent to the spawning environment, which was the terminal that issued the xpra attach command, it closes the client and restores the X11 seat's display.

4.3] During experimentation, it was possible to regain control of the display by switching to a different virtual terminal, ie. C-M-F1.

#1722 worksforme window is blank black square Boruch Boruch
Description

The summary for this ticket was chosen arbitrarily. I'm not sure what the description should be, and there seem to be a few issues at play, some of which may not be critical, but do raise warnings.

First, the version information is unclear. Debian tells me that the installed version is 2.3-20171213r17616-1, but xpra itself says xpra X11 version 2.3-r17613 64-bit.

Now to the ticket itself:

I opened a virtual console on tty6 (C-M-F6), ran startx to start the i3 window manager, opened a console window, started tmux, and from there ...

$xpra start --bind=auto --auth=pam --start=xfce4-terminal
Warning: invalid option: 'shadow-fullscreen'
Warning: cannot use the system proxy for 'start' subcommand,
 failed to connect to '/run/xpra/system':
 [Errno 2] No such file or directory
Warning: invalid option: 'shadow-fullscreen'
2017-12-13 08:55:44,051 Warning: failed to write script file in '/run/user/1007/xpra':
2017-12-13 08:55:44,052  [Errno 2] No such file or directory: '/run/user/1007/xpra'
2017-12-13 08:55:44,052  ($XDG_RUNTIME_DIR has not been created?)
Entering daemon mode; any further errors will be reported to:
/home/me/.xpra/S30645.log
Actual display used: :3
Actual log file name is now: /home/me/.xpra/:3.log

1] Option shadow-fullscreen is listed at /etc/xpra/xpra.conf, but seems to be invalid.

2] The commentary in file /etc/xpra/xpra.conf says that user-local version should be at ~/xpra/xpra.conf, but I gathered from elsewhere that it should be ~/.xpra/... (also,I have a pet peeve about cluttering ~/ ,and the xfreedesktop standard wants ~/.config/.. for user-local configurations.

3] How do I get rid of the message /run/xpra/system ?

Now, continuing to the central problem of this ticket:

$xpra attach :3
Warning: invalid option: 'shadow-fullscreen'
2017-12-13 08:56:11,311 Xpra gtk2 client version 2.3-r17613 64-bit
2017-12-13 08:56:11,311  running on Linux Devuan 1.0 jessie
Warning: invalid option: 'shadow-fullscreen'
2017-12-13 08:56:17,149 GStreamer version 1.10.4 for Python 2.7.13 64-bit
2017-12-13 08:56:18,430 No OpenGL_accelerate module loaded: No module named OpenGL_accelerate
2017-12-13 08:56:18,970 Warning: vendor 'Intel Open Source Technology Center' is greylisted,
2017-12-13 08:56:18,970  you may want to turn off OpenGL if you encounter bugs
2017-12-13 08:56:19,053 OpenGL enabled with Mesa DRI Intel(R) Bay Trail
2017-12-13 08:56:19,188 Error: mmap setup failed:
2017-12-13 08:56:19,188  [Errno 2] No such file or directory: '/run/user/1007/xpra'
2017-12-13 08:56:19,201  keyboard settings: rules=evdev, model=pc105, layout=us,il
2017-12-13 08:56:19,205  desktop size is 1366x768 with 1 screen:
2017-12-13 08:56:19,206   :0.0 (361x203 mm - DPI: 96x96)
2017-12-13 08:56:19,206     eDP1 (340x190 mm - DPI: 102x102)
2017-12-13 08:56:19,419 keyboard layouts: us,il,us,il
Please enter the password for unix-domain server /home/me/.xpra/E15-2016-3 :
2017-12-13 08:56:28,585  keyboard settings: rules=evdev, model=pc105, layout=us,il
2017-12-13 08:56:28,602  desktop size is 1366x768 with 1 screen:
2017-12-13 08:56:28,603   :0.0 (361x203 mm - DPI: 96x96)
2017-12-13 08:56:28,603     eDP1 (340x190 mm - DPI: 102x102)
2017-12-13 08:56:29,163 Xpra X11 server version 2.3-r17613 64-bit
2017-12-13 08:56:29,164  running on Linux Devuan 1.0 jessie
2017-12-13 08:56:29,165 enabled remote logging
2017-12-13 08:56:29,168 Attached to :3
2017-12-13 08:56:29,168  (press Control-C to detach)

2017-12-13 08:56:29,172 server does not support xi input devices
2017-12-13 08:56:29,174  server uses: xtest

At this point, a client window does appear on my screen, but as a totally blank black square. The enveloping window is maneuverable by the i3 window manager, but the interior window process itself does not respond to mouse or cursor commands.

xpra stop :3
Warning: invalid option: 'shadow-fullscreen'
Please enter the password for unix-domain server /home/me/.xpra/E15-2016-3 :
server requested disconnect:
 server shutdown
xpra at :3 has exited.

However, the window remains drawn in place! And ...

pgrep -a xpra
20110 /usr/bin/python /usr/bin/xpra start --bind=auto --auth=pam --start=xfce4-terminal --start-via-proxy=no
30981 /usr/bin/python /usr/bin/xpra attach :3
31331 /usr/bin/python /usr/bin/xpra_signal_listener

But ...

$xpra list
Warning: invalid option: 'shadow-fullscreen'
No xpra sessions found

A few attempts to politely pkill -15 xpra didn't work, so I needed to pkill -9 xpra to clean up.

Here's the server log:

2017-12-13 08:55:44,059 cannot access python uinput module:
2017-12-13 08:55:44,059  No module named uinput
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
Failed to rename log file "/home/me/.xpra/Xorg.S30645.log" to "/home/me/.xpra/Xorg.S30645.log": No such file or directory

X.Org X Server 1.19.2
Release Date: 2017-03-02
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.0-4-amd64 x86_64 Debian
Current Operating System: Linux E15-2016 4.14.0-1-amd64 #1 SMP Debian 4.14.2-1 (2017-11-30) x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.14.0-1-amd64 root=UUID= ro quiet bluetooth.blacklist=yes cgroup_enable=memory swapaccount=1
Build Date: 16 October 2017  08:19:45AM
xorg-server 2:1.19.2-1+deb9u2 (https://www.debian.org/support)
Current version of pixman: 0.34.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/home/me/.xpra/Xorg.S30645.log", Time: Wed Dec 13 08:55:44 2017
(++) Using config file: "/etc/xpra/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
3
2017-12-13 08:55:50,292 created unix domain socket: /home/me/.xpra/E15-2016-3
2017-12-13 08:55:50,810 pointer device emulation using XTest
2017-12-13 08:55:58,504 serving html content from: /usr/share/xpra/www
2017-12-13 08:56:00,568 Warning: webcam forwarding is disabled
2017-12-13 08:56:00,569  the virtual video directory '/sys/devices/virtual/video4linux' was not found
2017-12-13 08:56:00,569  make sure that the 'v4l2loopback' kernel module is installed and loaded
2017-12-13 08:56:00,569 found 0 virtual video devices for webcam forwarding
2017-12-13 08:56:00,581 pulseaudio not started: 'pulseaudio' command not found
Warning: invalid option: 'shadow-fullscreen'
2017-12-13 08:56:06,063 GStreamer version 1.10.4 for Python 2.7.13 64-bit
2017-12-13 08:56:06,071 D-Bus notification forwarding is available
/bin/sh: 1: /etc/X11/Xsession: not found
2017-12-13 08:56:06,097 xpra X11 version 2.3-r17613 64-bit
2017-12-13 08:56:06,099  uid=1007 (me), gid=1007 (me)
2017-12-13 08:56:06,099  running with pid 30742 on Linux Devuan 1.0 jessie
2017-12-13 08:56:06,100  connected to X11 display :3 with 24 bit colors
2017-12-13 08:56:06,417 xpra is ready.
2017-12-13 08:56:06,452 Warning: lpinfo command failed and returned 1
2017-12-13 08:56:06,453  command used: '/usr/sbin/lpinfo --make-and-model Generic PDF Printer -m'
2017-12-13 08:56:06,470 Warning: lpinfo command produced some warnings:
2017-12-13 08:56:06,471  'lpinfo: Bad file descriptor\n'
2017-12-13 08:56:06,472 printer forwarding enabled using pdf
2017-12-13 08:56:06,472 Warning: printing conflicts with socket authentication module 'pam'
2017-12-13 08:56:06,473 3.8GB of system memory


<Boruch snipped here ~500 lines of GTK theme parsing error for xfce4-terminal>


Failed to connect to session manager: Failed to connect to the session manager: SESSION_MANAGER environment variable not defined
2017-12-13 08:56:19,802 New unix-domain connection received on /home/me/.xpra/E15-2016-3
2017-12-13 08:56:19,811 Authentication required by PAM authenticator module
2017-12-13 08:56:19,811  sending challenge for username 'me' using xor digest
2017-12-13 08:56:20,192 New unix-domain connection received on /home/me/.xpra/E15-2016-3
2017-12-13 08:56:28,704 Handshake complete; enabling connection
2017-12-13 08:56:28,741 Python/Gtk2 Linux Devuan 1.0 jessie client version 2.3-r17613 64-bit
2017-12-13 08:56:28,742  connected from 'E15-2016' as 'me'
2017-12-13 08:56:28,743  automatic picture encoding enabled, also available:
2017-12-13 08:56:28,743   h264, vp9, vp8, png, webp, rgb24, jpeg, rgb32
2017-12-13 08:56:28,751  client root window size is 1366x768 with 1 display:
2017-12-13 08:56:28,752   :0.0 (361x203 mm - DPI: 96x96)
2017-12-13 08:56:28,752     eDP1 (340x190 mm - DPI: 102x102)
2017-12-13 08:56:28,866 server virtual display now set to 1366x768
2017-12-13 08:56:28,892 setting key repeat rate from client: 660ms delay / 40ms interval
2017-12-13 08:56:28,901 setting keymap: rules=evdev, model=pc105, layout=us,il
2017-12-13 08:56:28,996 setting keyboard layout to 'us,il'
2017-12-13 08:56:29,083 Warning: keymapping changed:
2017-12-13 08:56:29,084  keycode 108 points to 2 modifiers: mod1, mod5
2017-12-13 08:56:29,084  from definition: Meta_R, Alt_R, ISO_Level3_Shift
2017-12-13 08:56:29,084  mod1: Alt_R
2017-12-13 08:56:29,084  mod5: ISO_Level3_Shift
2017-12-13 08:56:29,084  keeping: Alt_R for mod1
2017-12-13 08:56:29,183 DPI set to 16 x 18 (wanted 96 x 96)
2017-12-13 08:56:29,183  you may experience scaling problems, such as huge or small fonts, etc
2017-12-13 08:56:29,183  to fix this issue, try the dpi switch, or use a patched Xorg dummy driver
2017-12-13 08:56:29,210 client 1: Attached to :3
2017-12-13 08:56:29,212 client 1:  (press Control-C to detach)
2017-12-13 08:56:29,214 client 1: server does not support xi input devices
2017-12-13 08:56:29,215 client 1:  server uses: xtest
2017-12-13 08:57:25,850 Warning: delayed region timeout
2017-12-13 08:57:25,851  region is 15 seconds old, will retry - bad connection?
2017-12-13 08:57:25,852  13 late responses:
2017-12-13 08:57:25,852       1 webp :  56s
2017-12-13 08:57:25,853       2 rgb32:  56s
2017-12-13 08:57:25,854       3 png  :  56s
2017-12-13 08:57:25,855       4 webp :  32s
2017-12-13 08:57:25,855       5 png  :  32s
2017-12-13 08:57:25,856       6 webp :  19s
2017-12-13 08:57:25,857       7 png  :  19s
2017-12-13 08:57:25,857       8 webp :  19s
2017-12-13 08:57:25,858       9 png  :  19s
2017-12-13 08:57:25,859      10 webp :  19s
2017-12-13 08:57:25,860      11 png  :  18s
2017-12-13 08:57:25,860      12 webp :  15s
2017-12-13 08:57:25,861      13 png  :  14s
2017-12-13 08:57:29,740 Disconnecting client /home/me/.xpra/E15-2016-3:
2017-12-13 08:57:29,740  client ping timeout (waited 60 seconds without a response)
2017-12-13 08:57:29,746 xpra client 1 disconnected.
2017-12-13 08:57:49,511 New unix-domain connection received on /home/me/.xpra/E15-2016-3
2017-12-13 08:57:49,565 New unix-domain connection received on /home/me/.xpra/E15-2016-3
2017-12-13 08:57:50,038 Authentication required by PAM authenticator module
2017-12-13 08:57:50,038  sending challenge for username 'me' using xor digest
2017-12-13 08:57:56,172 Handshake complete; enabling connection
2017-12-13 08:57:56,176 Python2/GObject client version 2.3-r17613 64-bit
2017-12-13 08:57:56,177  connected from 'E15-2016' as 'me'
2017-12-13 08:57:56,180 Shutting down in response to client request
2017-12-13 08:57:56,180 Disconnecting client /home/me/.xpra/E15-2016-3:
2017-12-13 08:57:56,181  server shutdown
2017-12-13 08:57:56,183 xpra client 2 disconnected.
2017-12-13 08:57:57,212 killing xvfb with pid 30744
2017-12-13 08:57:57,214 removing socket /home/me/.xpra/E15-2016-3
Gdk-Message: xfce4-terminal: Fatal IO error 11 (Resource temporarily unavailable) on X server :3.

(II) Server terminated successfully (0). Closing log file.

The Xorg log has 3479 lines, so here is an excerpt:

$grep -e EE -e WW Xorg.S30645.log.old
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 10965.759] (EE) Unable to locate/open config directory: "/home/me/.xpra/xorg.conf.d"
[ 10965.780] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 10965.780] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[ 10965.787] (EE) systemd-logind: failed to get session: The name org.freedesktop.login1 was not provided by any .service files
[ 10965.788] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 10965.794] (WW) Warning, couldn't open module kbd
[ 10965.794] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 10965.794] (WW) Falling back to old probe method for dummy
[ 10965.794] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 10971.238] (WW) DUMMY(0): Option "ConstantDPI" is not used
[ 10971.245] (EE) AIGLX: reverting to software rendering
[ 10971.436] (WW) <default pointer>: No Device specified, looking for one...
[ 10971.777] (WW) Warning, couldn't open module kbd
[ 10971.778] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 10971.778] (EE) No input driver matching `kbd'
[ 10971.789] (EE) PreInit returned 2 for "<default keyboard>"
[ 10971.805] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

In ticket #1709, I mentioned in passing that I had a critical failure with my X-server. Part of its final resolution may have been to change my xorg input driver 'kbd' to 'evdev'. Would this be relevant for the 'xorg-dummy' package that xpra seems to use?

Note: See TracQuery for help on using queries.