How to deactivate Wayland and Activate Xorg
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 9 of 9
  1. #1
    Join Date
    Nov 2013
    Location
    Perú - Lima
    Posts
    6

    How to deactivate Wayland and Activate Xorg

    Greetings to all users and Internet users of this wonderful Fedora forum, I hereby request you kindly to help me on the steps to be done in the terminal to deactivate Wayland and activate Xorg in the Operating System Fedora Linux 27 LXDE x86_x64.

    I thank you in advance for your kind assistance, attention and prompt answers.

  2. #2
    Join Date
    Jun 2005
    Location
    Montreal, Que, Canada
    Posts
    5,387

    Re: How to deactivate Wayland and Activate Xorg

    Hola Radel

    When you log into Fedora, before you provide your password, you will note that there is a Gear Icon. Click on that gear icon and choose Gnome-xorg
    Leslie in Montreal

    Interesting web sites list
    http://forums.fedoraforum.org/showth...40#post1697840

  3. #3
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    6,375

    Re: How to deactivate Wayland and Activate Xorg

    wayland isn't used for LXDE desktop

  4. #4
    Join Date
    Jul 2016
    Location
    Czech republic
    Posts
    1

    Re: How to deactivate Wayland and Activate Xorg

    You can find your session type in a terminal in this way:

    1. Get your session number:

    Code:
    radoslavc@localhost ~> loginctl
       SESSION        UID USER             SEAT             TTY             
            c1         42 gdm              seat0            /dev/tty1       
             2       1000 radoslavc        seat0            /dev/tty2       
    
    2 sessions listed.

    2. Get your session type. In my case is session number 2:
    Code:
    radoslavc@localhost ~> loginctl show-session 2 -p Type
    Type=wayland

  5. #5
    Join Date
    Dec 2007
    Location
    Australia
    Posts
    1,856

    Re: How to deactivate Wayland and Activate Xorg

    Using loginctl, as described by RadoslavCap in post #4, works where one has logged into runlevel 5, that is, the GUI login. If the machine has been booted to text where the login has occurred, and then had the GUI started up, the Type will likely be tty
    Code:
    [tom@owl ~]$ loginctl show-session 1 -p Type
    Type=tty
    In any case, i think only the fedora standard workstation installation with gnome has wayland.

    A reliable way of finding out whether X or wayland is running is to use the ps command and grep for wayland or Xorg.
    Code:
    [tom@owl ~]$ ps aux |grep -i wayland
    tom       1660  0.0  0.0 119728  1056 pts/5    S+   10:27   0:00 grep --color=auto -i wayland
    [tom@owl ~]$ ps aux |grep -i Xorg
    root       984  0.8  1.3 362148 53080 tty2     Ssl+ 08:25   0:59 /usr/libexec/Xorg :0
    tom       1662  0.0  0.0 119728  1052 pts/5    S+   10:27   0:00 grep --color=auto -i Xorg
    You discount the output of the grep command itself of course, and the result is decisive.

  6. #6
    Join Date
    Feb 2005
    Location
    London, UK
    Posts
    700

    Re: How to deactivate Wayland and Activate Xorg

    A bit of a curve ball on the above that's worth bearing in mind: it's possible to not be using wayland for the Window Manager (Gnome, LXDE, Window Maker whatever), but due to the fact the login manager (GDM etc) is using Wayland then certain functionality that Wayland breaks won't work. For example, I've had "xscreensaver -lock" break when not running Wayland due to GDM using it.

  7. #7
    Join Date
    Dec 2012
    Location
    santa barbara, CA
    Posts
    926

    Re: How to deactivate Wayland and Activate Xorg

    dnf install lightdm

    systemctl disable gdm
    systemctl enable lightdm

    I believe that may work, but I usually do this in a terminal, replacing the symlinks.

    reboot.
    "monsters John ... monsters from the ID..."
    "ma vule teva maar gul nol naya"

  8. #8
    Join Date
    Feb 2005
    Location
    London, UK
    Posts
    700

    Re: How to deactivate Wayland and Activate Xorg

    Quote Originally Posted by bobx001
    reboot.
    You shouldn't have to reboot, just stop gdm and start the other *dm you wish to use, e.g:

    Code:
    dnf install lxdm
    systemctl stop gdm.service
    systemctl disable gdm.service
    systemctl enable lxdm.service
    systemctl start lxdm.service

  9. #9
    Join Date
    Dec 2004
    Location
    Vila Velha, ES Brazil
    Age
    72
    Posts
    28

    Re: How to deactivate Wayland and Activate Xorg

    Hi

    Edit /etc/gdm/custom.conf file

    # nano /etc/gdm/custom.conf

    And uncomment those lines

    # GDM configuration storage

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

    AutomaticLoginEnable=True
    AutomaticLogin=deusdara
    Last edited by deusdara; 11th January 2018 at 01:41 PM.
    [Mobo: Asus B85M-E/BR ][CPU: Intel Core i7 4790@3.6 GHz][RAM2x4 GB 1333 MHz DDR3 Kingston][GPU: nVidia GTX 570][HD:Seagate 1,0 TB SATA II][PSU: Corsair CX 750 W ][Fedora Workstation]

Similar Threads

  1. Xorg or Wayland?
    By ToddAndMargo in forum Using Fedora
    Replies: 11
    Last Post: 28th July 2017, 09:03 AM
  2. Replies: 15
    Last Post: 27th February 2010, 09:06 PM
  3. activate and deactivate
    By munna_dude in forum Using Fedora
    Replies: 0
    Last Post: 22nd February 2007, 01:15 PM
  4. Enabling users to activate/deactivate Etho1
    By cameraman_2 in forum Servers & Networking
    Replies: 3
    Last Post: 22nd December 2006, 02:51 AM
  5. cmd line to deactivate/activate ethx
    By oystercatcher in forum Servers & Networking
    Replies: 3
    Last Post: 2nd September 2005, 04:04 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •