xdg-desktop-portal bails if DISPLAY is not set

Bug #1987833 reported by Michał Sawicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xdg-desktop-portal (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

When DISPLAY is not set (which would be the case for a Wayland-only session), xdg-desktop-portal bails with:

> xdg-desktop-portal[500395]: Error: no DISPLAY environment variable specified

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xdg-desktop-portal 1.14.4-1ubuntu2~22.04.1
ProcVersionSignature: Ubuntu 5.15.0-46.49-generic 5.15.39
Uname: Linux 5.15.0-46-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: pass
Date: Fri Aug 26 13:09:33 2022
InstallationDate: Installed on 2022-04-29 (118 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
SourcePackage: xdg-desktop-portal
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Michał Sawicz (saviq) wrote :
Revision history for this message
Michał Sawicz (saviq) wrote :

Actually it's either DISPLAY or WAYLAND_DISPLAY that it expects, but doesn't say so...

Changed in xdg-desktop-portal (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.