5

I recently had some problems on sharing the screen on zoom, and I found out that disabling Wayland does the trick. It worked fine for my computer, but when I tried doing this on another computer, I wasn't able to login anymore.

My question is: How can I check if I X11 is installed before disabling Wayland?

Thank you in advance!

Tooniis
  • 1,572
Aditzu
  • 221
  • 1
    X11 is always installed by default unless you manually removed it. Also this looks like an XY Problem: https://meta.stackexchange.com/questions/66377/what-is-the-xy-problem – Tooniis Feb 16 '18 at 11:12
  • 2
    The action of logging in to your graphical environment is generally done by your display manager. If you can specify what distribution you are using and what steps / commands you used to disable Wayland, we might be able to help you. If you want to check whether x11 is installed, run dpkg -l | grep xorg. If you want to check if x11 is currently running (if logged in) then run echo $XDG_SESSION_TYPE. Paste the output. – marko Feb 16 '18 at 11:32
  • 1
    The steps used for disabling wayland was to edit custom.conf file from /etc/dgm3 and uncomment WaylandEnabled = false. For one pc worked fine and echo $XDG_SESSION_TYPE displayed x11, for the other whch failed to disable wayland when executing $XDG_SESSION_TYPE displayed wayland :) On both laptops I have Ubuntu 17.10 – Aditzu Feb 16 '18 at 11:50
  • @Tooniss I said what was my actual problem, I manage to fix it on one laptop with that solution. I don't think that my initial problem is related with the current one. First one was regarding zoom and google handgout, the actual one is regarding x11 display manager. – Aditzu Feb 16 '18 at 11:57
  • 2
    In the section that graphically prompts you to log in (the display manager), there should be an option that allows you to switch between Wayland and Xorg. It will be one of the buttons that you see on the screen. You shouldn't do anything else. Once this i selected, it remembers it. – marko Feb 16 '18 at 12:07
  • Can we please concentrate to the subject? @marko in 2 hours I have a demo and I cannot make experiments now but I promise right after I will try again and come back with the result. Many thanks! – Aditzu Feb 16 '18 at 12:16
  • 1
    @Aditzu, have a look at this question and answers. There are more possibilities than just WaylandEnabled = false – Robert Riedl Feb 16 '18 at 12:25
  • @marko you solution worked just well. Selecting Ubuntu on Xorg did the trick without any additional changes. Thank you! – Aditzu Feb 16 '18 at 15:14

2 Answers2

5

To see if you have x11 installed, simply run this command from a terminal:

dpkg -l | grep xserver-xorg-core

and if you get something like:

ii  xserver-xorg-core                      2:1.19.5-0ubuntu2                                          amd64        Xorg X server - core server

then you have the server installed.

marko
  • 928
0

Here follows a short addition.

If someone is interested in more X11 related information the following command may help:

sudo Xorg -version 

or just

sudo X -version

In my case regarding Kubuntu 22.04 LTS this will give:

X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
Current Operating System: Linux test-iMac 5.15.0-87-generic #97-Ubuntu SMP Mon Oct 2 21:09:21 UTC 2023 x86_64
Kernel command line: ro root=UUID=0611c7b6-3d07-4592-b622-d3240df90979 quiet splash vt.handoff=7 initrd=boot\initrd.img
xorg-server 2:21.1.4-2ubuntu1.7~22.04.1 (For technical support please see http://www.ubuntu.com/support) 
Current version of pixman: 0.40.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Clemens
  • 481