[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1006323: eom: cannot open two windows on two different X displays



>> Package: eom
>> Version: 1.26.0-1
>> Severity: normal
>> X-Debbugs-Cc: none, Francesco Potortì <Potorti@isti.cnr.it>
>>
>> I have eom woth a window opened on display :7
>>
>> If I call it on display :0 it just exits without messages.
>>
>> Killing it on display :7 fixes the problem.
>>
>> This is what I get on ~/.xsession-errors:
>>
>> Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW  
>> message with a timestamp of 0 for 0x5200007 (Eye of MAT)
>> Window manager warning: meta_window_activate called by a pager with  
>> a 0 timestamp; the pager needs to be fixed.
>>
>
>Please try "dbus-run-session eom" on your second $DISPLAY. This is a  
>DBus session specific feature added with Debian 9 or 10.

Sort of works.  I am using Xpra remotely on display :7.  Emacs is running on the server on :0.  I create an Emacs frame on display :7 so that I can access it from home.  An Eom process is running on :0.  From the Emacs frame on :7 I call eom and it exits without messages.  Then I call dbus-run-session eom and it spits the following:

dbus-daemon[2348073]: [session uid=1000 pid=2348073] Activating service name='org.gtk.vfs.Daemon' requested by ':1.0' (uid=1000 pid=2348074 comm="eom The competition Venue.png ")
dbus-daemon[2348078]: writing oom_score_adj error: Permission denied
dbus-daemon[2348073]: [session uid=1000 pid=2348073] Successfully activated service 'org.gtk.vfs.Daemon'
fusermount3: failed to access mountpoint /run/user/1000/gvfs: Permission denied

(eom:2348074): dbind-WARNING **: 16:22:43.518: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-FzQejMAbpw: No such file or directory
dbus-daemon[2348073]: [session uid=1000 pid=2348073] Activating service name='org.freedesktop.portal.Desktop' requested by ':1.0' (uid=1000 pid=2348074 comm="eom The competition Venue.png ")
dbus-daemon[2348089]: writing oom_score_adj error: Permission denied
dbus-daemon[2348073]: [session uid=1000 pid=2348073] Activating service name='org.freedesktop.portal.Documents' requested by ':1.2' (uid=1000 pid=2348089 comm="/usr/libexec/xdg-desktop-portal ")
dbus-daemon[2348094]: writing oom_score_adj error: Permission denied
dbus-daemon[2348073]: [session uid=1000 pid=2348073] Activating service name='org.freedesktop.impl.portal.PermissionStore' requested by ':1.3' (uid=1000 pid=2348094 comm="/usr/libexec/xdg-document-portal ")
dbus-daemon[2348098]: writing oom_score_adj error: Permission denied
dbus-daemon[2348073]: [session uid=1000 pid=2348073] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore'
dbus-daemon[2348073]: [session uid=1000 pid=2348073] Successfully activated service 'org.freedesktop.portal.Documents'
fuse: mountpoint is not empty
fuse: if you are sure this is safe, use the 'nonempty' mount option
error: fuse init failed: Can't mount fuse fs on /run/user/1000/doc: File exists
dbus-daemon[2348073]: [session uid=1000 pid=2348073] Activating service name='org.freedesktop.portal.Documents' requested by ':1.2' (uid=1000 pid=2348089 comm="/usr/libexec/xdg-desktop-portal ")
dbus-daemon[2348104]: writing oom_score_adj error: Permission denied
dbus-daemon[2348073]: [session uid=1000 pid=2348073] Successfully activated service 'org.freedesktop.portal.Documents'
fuse: mountpoint is not empty
fuse: if you are sure this is safe, use the 'nonempty' mount option
error: fuse init failed: Can't mount fuse fs on /run/user/1000/doc: File exists
dbus-daemon[2348073]: [session uid=1000 pid=2348073] Activating service name='org.freedesktop.impl.portal.desktop.gtk' requested by ':1.2' (uid=1000 pid=2348089 comm="/usr/libexec/xdg-desktop-portal ")
dbus-daemon[2348109]: writing oom_score_adj error: Permission denied

(xdg-desktop-portal-gtk:2348109): dbind-WARNING **: 16:22:43.679: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-FzQejMAbpw: No such file or directory
dbus-daemon[2348073]: [session uid=1000 pid=2348073] Successfully activated service 'org.freedesktop.impl.portal.desktop.gtk'
dbus-daemon[2348073]: [session uid=1000 pid=2348073] Activating service name='org.freedesktop.secrets' requested by ':1.2' (uid=1000 pid=2348089 comm="/usr/libexec/xdg-desktop-portal ")
dbus-daemon[2348118]: writing oom_score_adj error: Permission denied

Then, after maybe 20 seconds, the Eom window appears and the following further messages are written:

dbus-daemon[2348073]: [session uid=1000 pid=2348073] Activated service 'org.freedesktop.secrets' failed: Process org.freedesktop.secrets received signal 15

** (/usr/libexec/xdg-desktop-portal:2348089): WARNING **: 16:23:01.492: Failed to create secret proxy: Error calling StartServiceByName for org.freedesktop.secrets: Process org.freedesktop.secrets received signal 15

** (/usr/libexec/xdg-desktop-portal:2348089): WARNING **: 16:23:01.492: No skeleton to export
dbus-daemon[2348073]: [session uid=1000 pid=2348073] Successfully activated service 'org.freedesktop.portal.Desktop'
dbus-daemon[2348073]: [session uid=1000 pid=2348073] Activating service name='ca.desrt.dconf' requested by ':1.0' (uid=1000 pid=2348074 comm="eom The competition Venue.png ")
dbus-daemon[2348148]: writing oom_score_adj error: Permission denied
dbus-daemon[2348073]: [session uid=1000 pid=2348073] Successfully activated service 'ca.desrt.dconf'

So, first the messages should not be there, second the delay should not be there, third eom shouldn't be so picky.  I'll end up using Xdisplay...

If I kill Eom on :0 everything works.

Oh, and by the way, Xdisplay reads an image whatever name it is given, while Eom chokes if a PNG image has a .jpg name suffix :(


>This "feature" assumes one-user-one-session which is not always true  
>(here, I have one-user-two-or-three-sessions sometimes).
>
>Does this resolve your issue?
>
>Greets,
>Mike
>-- 
>
>DAS-NETZWERKTEAM
>c\o Technik- und Ökologiezentrum Eckernförde
>Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde
>mobile: +49 (1520) 1976 148
>landline: +49 (4351) 850 8940
>
>GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
>mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
>
>
>[2:application/pgp-signature Show Save:noname (851B)]
>


Reply to: