Project

General

Profile

Actions

tickets #150089

closed

tickets #149954: [Regression] Regression test for SLED 15SP6

tickets #150074: [Regression][General] General components of regression tests

[Regression][General] Wayland: switch among desktop sessions when Wayland is disabled

Added by zcjia about 1 year ago. Updated 10 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
not_automated
Target version:
Start date:
2022-10-11
Due date:
% Done:

100%

Estimated time:
Relevance:
P1

Description

SLED15 is using Wayland by default, there are two ways to figure out
which type of session you're running.

  1. Wayland session should have WAYLAND_DISPLAY variable set, X11 session should not have it:
    $ echo $WAYLAND_DISPLAY
    wayland-0
  2. loginctl can give you this information.
    First run 'loginctl' in terminal and find your session number
    (it should be an integer number, with your username and seat assigned). Then look at the session type (x11 or wayland):
    $ loginctl show-session <YOUR_NUMBER> -p Type
    Type=x11/wayland

Steps:

  1. Boot to desktop and uncoment ""WaylandEnable=false"" in /etc/gdm/custom.conf to
    force the login screen to use Xorg, then reboot your system.
  2. Log in using the default desktop session(SLE-Classic), check your session type.
  3. Log out, click the gear button on log in screen, switch to 'GNOME' then log in.
    Check your session type after logging in.
  4. Log out, click the gear button on log in screen, switch to 'GNOME-Classic' then log in.
    Check your session type after logging in.
  5. Log out, click the gear button on log in screen, switch to 'GNOME on Xorg' then log in.
    Check your session type after logging in.
  6. Log out, click the gear button on log in screen, switch to 'icewm' then log in.
    Check your session type after logging in.

Expected Results:

  1. custom.conf could be changed and the system could be restared without any error.

2-3. Log in successfully, Wayland-based GNOME session should fallback to
X11-based session so your session type should be x11.

4-6. Log in successfully and your session type should be
x11.


Related issues 2 (1 open1 closed)

Copied from QE-Workstation - tickets #117946: [Regression][General] Wayland: switch among desktop sessions when Wayland is disabledResolvedzcjia2022-10-11

Actions
Copied to QE-Workstation - tickets #171532: [Regression][General] Wayland: switch among desktop sessions when Wayland is disabledNewGraceWang2022-10-11

Actions
Actions #1

Updated by zcjia about 1 year ago

  • Copied from tickets #117946: [Regression][General] Wayland: switch among desktop sessions when Wayland is disabled added
Actions #2

Updated by zcjia about 1 year ago

  • Target version changed from 15sp5 to 15sp6
Actions #3

Updated by zcjia about 1 year ago

  • Assignee changed from zcjia to GraceWang
Actions #4

Updated by GraceWang 10 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

PASS on Snapshot-202402-1

Actions #5

Updated by GraceWang 20 days ago

  • Copied to tickets #171532: [Regression][General] Wayland: switch among desktop sessions when Wayland is disabled added
Actions

Also available in: Atom PDF