#977857 libreoffice-common: On Wayland, it doesn't work without the xwayland pkg but installation does not pull xwayland as a dependency

#977857#5
Date:
2020-12-22 00:07:24 UTC
From:
To:
Dear Maintainer,

I have installed Libreoffice on a Wayland+Sway system without any X11 package (included xwayland).

Upon starting libreoffice I get an error because the display :0 is tried:

```
$ soffice --version
LibreOffice 7.0.4.2 00(Build:2)

$ soffice
/usr/lib/libreoffice/program/soffice.bin X11 error: Can't open display:
   Set DISPLAY environment variable, use -display option
   or check permissions of your X-Server
   (See "man X" resp. "man xhost" for details)
```

I tried setting these env vars but it didn't work:

```
export _JAVA_AWT_WM_NONREPARENTING=1
export MOZ_ENABLE_WAYLAND=1
export QT_QPA_PLATFORM=wayland-egl
export QT_QPA_PLATFORMTHEME=qt5ct
export QT_WAYLAND_FORCE_DPI=96
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
export SDL_VIDEODRIVER=wayland
export SAL_USE_VCLPLUGIN=gtk3
```

In order to make Libreoffice work, the package `xwayland` should be installed as a dependency.

Unless I'm wrong, I believe the real issue is that Libreoffice does not work on a pure Wayland
installation, but this fact is not very clear to the user. I've tried searching for related issue on
the Libreoffice buttracker but found none.

Suggestion: make `xwayland` a required dependency of Libreoffice until the day that Libreoffice does
not need Xorg anymore.

Thanks,

#977857#10
Date:
2020-12-22 00:39:46 UTC
From:
To:
As an additional informaton, I've tried installing the vanilla
LibreOffice 7.0.4.2 distribution from www.libreoffice.org, installed
these three packages:

libobasis7.0-images_7.0.4.2-2_amd64.deb
libreoffice7.0_7.0.4.2-2_amd64.deb
libreoffice7.0-calc_7.0.4.2-2_amd64.deb
libreoffice7.0-writer_7.0.4.2-2_amd64.deb

and LibreOffice seems to work just fine 9even without xwayland installed)

#977857#15
Date:
2020-12-23 18:59:35 UTC
From:
To:
Hi,

Am 22.12.20 um 01:07 schrieb jman:
It doesn't scale to add a xwayland dependency on every package doing X
operations.
many more cases? Isn't the "GNOME" Session defaulting to wayland nowadays?

rene@frodo:~$ grep-dctrl -FRecommends xwayland
/var/lib/apt/lists/deb.debian.org_debian_dists_sid_main_binary-amd64_Packages
-sPackage
Package: mir-demos
Package: mir-test-tools
rene@frodo:~$ grep-dctrl -FDepends xwayland
/var/lib/apt/lists/deb.debian.org_debian_dists_sid_main_binary-amd64_Packages
-sPackage
Package: gnome-session-bin
Package: kwin-wayland
rene@frodo:~$

Ah, both GNOME and KDE depend on xwayland. Which DE/WM do you use?

There is https://bugs.documentfoundation.org/show_bug.cgi?id=121275 but
that one's closed and didn't (apparently) even get a console output.

And the fix was using gtk3, which you did...


(Wrt your other mail, that package list is so obviously incomplete - and
we TTBOMK don't patch any place which should affect this. What we do
differ in is using system-libraries where possible - so one of these
might affect this?=

Regards,


Rene

#977857#20
Date:
2020-12-24 17:21:36 UTC
From:
To:
Rene Engelhard writes:

I use Sway on Wayland and during the installation of bullseye I didn't
install neither Gnome/KDE, therefore xwayland was not pulled as a
dependency by any package.

I'm experimenting how far can I go with a pure Wayland without the
"translation" layer provided by xwayland, so I guess I've stomped on a
corner-case nobody has tested yet.

I understand this might be a niche use-case for now (Gnome/KDE rely on
xwayland) so I guess it's fine if you WONTFIX this issue. But I also
think that Wayland-with-no-xwayland might be the way to the future
(with a bumpy road to get there ...) and at some point Xorg and its
dependencies will be dropped.

You're right and that's puzzling. I've installed on purpose only the
vanilla Libreoffice packages I needed and it works without xwayland. I
have no idea why, I don't have enough context to go deeper on this.

Anyway, thank you for clarifying a few points and for maintaining the
Debian package!

regards,

#977857#25
Date:
2021-03-07 15:41:35 UTC
From:
To:
Thanks to https://wiki.duckcorp.org/index.php/Using_Wayland :

Installing libreoffice-gtk3 made libreoffice work for me on a bullseye
install running sway and not having xwayland installed.

#977857#30
Date:
2021-03-07 22:11:57 UTC
From:
To:
Arnoud Dekker <ad@hraesvelg.net> writes:

Thank you for the heads-up, I will check that.

#977857#35
Date:
2024-04-17 11:53:46 UTC
From:
To:
Dear submitter,

as the package libreoffice has just been removed from the Debian archive
experimental we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1069123

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

#977857#44
Date:
2025-08-07 22:13:42 UTC
From:
To:
Humanitarian Grant of 1.5M for you. Reply for claims
#977857#51
Date:
2025-09-27 13:55:36 UTC
From:
To:
Madame, Monsieur,
Malgré nos précédents contrôles comptables, nous constatons à ce jour que le règlement du loyer du mois de septembre demeure en attente.
Nous vous saurions gré de bien vouloir nous transmettre sans délai le justificatif de paiement ou la quittance correspondante, afin de procéder à la régularisation de votre situation.À défaut de retour rapide de votre part, nous serons contraints d'engager les démarches nécessaires au recouvrement de cette somme.
Nous vous rappelons par ailleurs que nos coordonnées bancaires ont récemment été modifiées.Ces nouvelles références doivent impérativement être utilisées pour tout paiement à venir, notamment celui du loyer du mois d'octobre.Tout règlement effectué sur l’ancien RIB ne pourra être validé.
Si vous ne disposez pas encore de ce RIB actualisé, nous vous invitons à en faire la demande dans les meilleurs délais.
📩 Contact – Service Comptabilité : comptabilite_gestion_locative@outlook.com
Nous vous remercions de votre diligence et restons à votre entière disposition pour tout complément d’information.
Dans l’attente de votre régularisation,Veuillez agréer, Madame, Monsieur, l’expression de nos salutations distinguées.
Le Service Comptabilité – Gestion Locative