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)
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 ce/49/lib/ libreoffice/ program/ soffice. bin X11 error: Can't open display:
/snap/libreoffi
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