Documentation for a newer release is available. View Latest

O servidor de exibição Wayland

Wayland is a display server which was (at the time of writing) introduced as the default display server in GNOME. It is said that Wayland will eventually replace X11 as the default display server on Linux and many distributions have begun implementation of Wayland. Wayland is a more modern display server and has a smaller code base currently. Wayland is still under development, and there are still applications and behaviours that don't work as expected, you may find that some applications have not been updated to work properly in Wayland and currently the only way these applications will run is using Xorg instead of Wayland. This includes some legacy system applications and games.
Wayland in Fedora

Wayland está habilitado por padrão no GNOME Desktop. Você pode optar por executar o GNOME no X11 escolhendo a opção Gnome no xorg no seletor de sessão na tela de login. Atualmente o KDE ainda usa o X11 e embora exista uma sessão de plasma-wayland disponível, ela não é considerada estável ou livre de bugs no momento.

Determinando se você está usando Wayland

Uma forma de determinar se você está usando no Wayland é verificar o valor da variável $WAYLAND_DISPLAY. Para fazer este tipo:

$ echo $WAYLAND_DISPLAY
wayland-0

Se você não estiver executando no Wayland, a variável não conterá nenhum valor. Você também pode usar o loginctl para mostrar que tipo de sessão está em execução:

$ loginctl show-session <SEU_NÚMERO_DE_SESSÃO> -p Type

Para determinar o número da sua sessão, basta digitar loginctl para fornecer os detalhes da sua sessão.

Há também um servidor X11 legado fornecido com Wayland para fins de compatibilidade. Para determinar quais aplicativos estão sendo executados neste modo, você pode executar o seguinte comando:

$ xlsclients

There is also the lg (looking glass) tool in GNOME that will allow you to determine what display server a window is using. To do this, you run the application by typing lg in the run dialog or at the command line, select “Windows” in the upper right corner of the tool, and click on the application name (or open window) you want to know about. If the window is running in wayland it will say “MetaWindowWayland” and if it is running in X11 it will say “MetaWindowX11”.

Recursos adicionais

Para saber mais sobre Wayland, consulte o seguinte site:

Se você precisar determinar se um problema que está enfrentando está relacionado ao wayland, consulte o wiki do Fedora no link abaixo: