Skip to content

Can i Install Xorg with Wayland Already Installed?

Hi guys! I'm very frustrated with how Wayland behaves with my programming tasks and some things with my nVidia card. I decided that I want to switch to Xorg and see what happens but I'm having trouble figuring out if I can install it through a TTY even though I already have Wayland or if I would have to format and reinstall my Arch. Any tips?

10 points19 comments
Open on Reddit
About this post
Posted
Archived
Score
10 ยท 73% up
Kind
Text
ID
17rowbe

Author

12
posts
36
comments
3
media
View profile

19 comments

Yes, you can install and use Xorg when you already have Wayland. When you log in, you just have to choose what exactly you need.

13 points

You already have Xorg installed since it's needed for XWayland

Just install a WM based on X and log in using that

10 points

Tnx! I'm installing i3 now. I didn't know that i already has the Xorg :X! Tnx!

5 points

I am set up with Xorg and Wayland. You should have no problems with both installed.

3 points

Dude I installed i3 right now and tested my current programming render problem that I have in Wayland and boom, solved!

Iโ€™m very happy to not have to go back to windows ๐Ÿค“

5 points

Yes.

Even some desktops like KDE Plasma and GNOME offer both Wayland and X sessions, and you can switch between them by re-loggin.

3 points

Yes, like the other commenters said, you can normally install it like anything else, it has no impact on your current session (or even future ones), since you have to go out of your way and launch an X11-based graphical session of some sort in order to use it.

However, do note that if you've set up environment variables that instruct different GUI libraries (GTK, Qt, etc.) to use Wayland as a backend, then you'd need to unset/change those variables before launching an X11 session. So before launching the X11 session, while still in your tty, try something like:

env | grep -i wayland | sort

If you see a load of stuff like this:

CLUTTER_BACKEND=wayland
ECORE_EVAS_ENGINE=wayland_egl
ELM_ENGINE=wayland_egl
GDK_BACKEND=wayland
MOZ_ENABLE_WAYLAND=1
QT_QPA_PLATFORM=wayland-egl

Then you probably should create a wrapper script that unsets all those variables and then invokes your X11 window manager/DE/whatever.

With that out of the way:

I'm very frustrated with how Wayland behaves with my programming tasks

Mind providing some examples? Of course, you don't really have to, but if what you're trying to do is simple shell scripting, there are perfectly viable Wayland-based alternatives for most X11 tools/tasks. e.g. ydotool, wl-clipboard, wf-recorder, etc.

2 points

Man, I should have read your comment before installing i3. I'm at the end of the installation but I already know what to do (more or less).

โ€‹

As for installation I would say the problems involve qt and wayland rendering. formally in Python. So many problems and I just gave up. If the problem persists I will go to my Debian or Windows, but I love my Arch. I'll see.

1 points

With the recent few updates on nvidia_sh*t drivers it broke a lot of wayland based systems..

1 points

why should you not be able to install it? Best look up how to in the Arch wiki. Should be pretty straightforward

1 points

Tnx for the comment! I already installed it and works fine for now, i'm adapting. And, yeah, its quite simple to install it!

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

โ†orโ†’
Previous / next file
โ†‘orโ†“
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.