You are not logged in.

#1 2016-10-27 14:53:53

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 189

[WAYLAND] Errors when I use environment variables for Wayland

I have uncomment the next variables in /etc/environment:

XDG_SESSION_TYPE=wayland
GDK_BACKEND=wayland
CLUTTER_BACKEND=wayland
QT_QPA_PLATFORM=wayland-egl
SDL_VIDEODRIVER=wayland

But it fails because systemd? starts "/usr/lib/gdm-x-session" instead of "/usr/lib/gdm/gdm-wayland-session": http://pastebin.com/KXMCqcCF

Where I fail? Or is it a systemd fail?

Offline

#2 2016-10-27 14:56:45

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: [WAYLAND] Errors when I use environment variables for Wayland

This has nothing to do with systemd. Either you have GDM set to not use Wayland or their autodetection stuff is disabling it.

Online

#3 2016-10-27 17:50:00

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 189

Re: [WAYLAND] Errors when I use environment variables for Wayland

cat /etc/gdm/custom.conf
# GDM configuration storage

[daemon]
# Uncoment the line below to force the login screen to use Xorg
#WaylandEnable=false
...

If I comment that variables in /etc/environment, GDM/Gnome starts well with Wayland:

$ ps aux | grep --color --color=auto -e wayland    
juan       717  0.0  0.0 187476  5360 tty1     Ssl+ 16:19   0:00 /usr/lib/gdm/gdm-wayland-session gnome-session
juan       794  0.3  0.2 328032 54248 tty1     Sl+  16:19   0:46 /usr/bin/Xwayland :0 -rootless -noreset -listen 4 -listen 5 -displayfd 6
juan      8172  0.0  0.0  11368  2176 pts/1    S+   19:48   0:00 grep --color --color --color=auto -e wayland

But it doesn't work when set:

XDG_SESSION_TYPE=wayland
GDK_BACKEND=wayland

Is it a wiki error: https://wiki.archlinux.org/index.php/wa … _libraries ?

Offline

#4 2016-11-04 15:43:25

betseg
Member
From: Turkey
Registered: 2015-04-25
Posts: 182

Re: [WAYLAND] Errors when I use environment variables for Wayland

I have this issue too. Commenting doesn't work. Is there a way to use Wayland?

Last edited by betseg (2016-11-04 15:45:31)

Offline

#5 2016-12-02 20:14:09

a1rolo
Member
Registered: 2016-01-27
Posts: 7

Re: [WAYLAND] Errors when I use environment variables for Wayland

Same problem here too.  But only tried setting: GDK_BACKEND=wayland not the other variable.
After that, gnome wayland nor xorg could start.
Commented out that variable and I could work with wayland again.

Offline

Board footer

Powered by FluxBB