Public bug reported:

My default session is "Ubuntu" (/usr/share/xsessions/ubuntu.desktop). If
I log out, then log in to "Ubuntu on Wayland", then out again and in to
"Ubuntu" again (so I'm back to my initial session), the libreoffice snap
fails to start:

osomon@bribon:~$ /snap/bin/libreoffice
/snap/libreoffice/49/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)

osomon@bribon:~$ env | grep DISPLAY
DISPLAY=:0

Rebooting my machine "fixes" the issue.

** Affects: libreoffice (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: snap

** Description changed:

  My default session is "Ubuntu" (/usr/share/xsessions/ubuntu.desktop). If
  I log out, then log in to "Ubuntu on Wayland", then out again and in to
  "Ubuntu" again (so I'm back to my initial session), the libreoffice snap
  fails to start:
  
  osomon@bribon:~$ /snap/bin/libreoffice
- /snap/libreoffice/49/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)
+ /snap/libreoffice/49/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)
  
  osomon@bribon:~$ env | grep DISPLAY
  DISPLAY=:0
+ 
+ Rebooting my machine "fixes" the issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1749484

Title:
  [snap] fail to launch after logging in to a wayland session then back
  into an X11 session

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1749484/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to