18.04: Why both Xorg and Xwayland?
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
4
down vote
favorite
In bionic, why are both Xwayland and Xorg running?
As far as I understand Xwayland's job is to allow x11 apps running under wayland. So this means there's two X11 servers running, Xorg as :0 and Xwayland as :1024. And there's two corresponding sockets in /tmp/.X11-unix
What's that good for?
xorg wayland 18.04
add a comment |Â
up vote
4
down vote
favorite
In bionic, why are both Xwayland and Xorg running?
As far as I understand Xwayland's job is to allow x11 apps running under wayland. So this means there's two X11 servers running, Xorg as :0 and Xwayland as :1024. And there's two corresponding sockets in /tmp/.X11-unix
What's that good for?
xorg wayland 18.04
It's Wayland, btw, not to be mixed up with XWayland which is a emulation layer that wayland uses to run X11 native aps. Wayland's advantages are security and eventually better graphical performance with less screen tearing. Disadvantages: intensely unstable (need a few years to mature and a rewrite of gnome shell), the add security will result in loss of functionality until workarounds found. XOrg. Advantages: tons of functionality not listed in the answer below. More stability. Disadvantage: INTENSELY insecure and vulnerable: keystrokes root pws can be sniffed,commands can be injected.
â thebunnyrules
Mar 12 at 5:00
add a comment |Â
up vote
4
down vote
favorite
up vote
4
down vote
favorite
In bionic, why are both Xwayland and Xorg running?
As far as I understand Xwayland's job is to allow x11 apps running under wayland. So this means there's two X11 servers running, Xorg as :0 and Xwayland as :1024. And there's two corresponding sockets in /tmp/.X11-unix
What's that good for?
xorg wayland 18.04
In bionic, why are both Xwayland and Xorg running?
As far as I understand Xwayland's job is to allow x11 apps running under wayland. So this means there's two X11 servers running, Xorg as :0 and Xwayland as :1024. And there's two corresponding sockets in /tmp/.X11-unix
What's that good for?
xorg wayland 18.04
xorg wayland 18.04
edited May 31 at 7:11
jokerdinoâ¦
32k21117185
32k21117185
asked Mar 5 at 10:47
Hadmut
9115
9115
It's Wayland, btw, not to be mixed up with XWayland which is a emulation layer that wayland uses to run X11 native aps. Wayland's advantages are security and eventually better graphical performance with less screen tearing. Disadvantages: intensely unstable (need a few years to mature and a rewrite of gnome shell), the add security will result in loss of functionality until workarounds found. XOrg. Advantages: tons of functionality not listed in the answer below. More stability. Disadvantage: INTENSELY insecure and vulnerable: keystrokes root pws can be sniffed,commands can be injected.
â thebunnyrules
Mar 12 at 5:00
add a comment |Â
It's Wayland, btw, not to be mixed up with XWayland which is a emulation layer that wayland uses to run X11 native aps. Wayland's advantages are security and eventually better graphical performance with less screen tearing. Disadvantages: intensely unstable (need a few years to mature and a rewrite of gnome shell), the add security will result in loss of functionality until workarounds found. XOrg. Advantages: tons of functionality not listed in the answer below. More stability. Disadvantage: INTENSELY insecure and vulnerable: keystrokes root pws can be sniffed,commands can be injected.
â thebunnyrules
Mar 12 at 5:00
It's Wayland, btw, not to be mixed up with XWayland which is a emulation layer that wayland uses to run X11 native aps. Wayland's advantages are security and eventually better graphical performance with less screen tearing. Disadvantages: intensely unstable (need a few years to mature and a rewrite of gnome shell), the add security will result in loss of functionality until workarounds found. XOrg. Advantages: tons of functionality not listed in the answer below. More stability. Disadvantage: INTENSELY insecure and vulnerable: keystrokes root pws can be sniffed,commands can be injected.
â thebunnyrules
Mar 12 at 5:00
It's Wayland, btw, not to be mixed up with XWayland which is a emulation layer that wayland uses to run X11 native aps. Wayland's advantages are security and eventually better graphical performance with less screen tearing. Disadvantages: intensely unstable (need a few years to mature and a rewrite of gnome shell), the add security will result in loss of functionality until workarounds found. XOrg. Advantages: tons of functionality not listed in the answer below. More stability. Disadvantage: INTENSELY insecure and vulnerable: keystrokes root pws can be sniffed,commands can be injected.
â thebunnyrules
Mar 12 at 5:00
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
6
down vote
See this Ubuntu Insights post:
We have decided that we will ship Xorg by default, and that Wayland
will be an optional session available from the login screen.
Why opt for Xorg by default? There are three main reasons:
- Screen sharing in software like WebRTC services, Google Hangouts, Skype, etc works well under Xorg.
- Remote Desktop control for example RDP & VNC works well under Xorg.
- Recoverability from Shell crashes is less dramatic under Xorg.
For an LTS release, it's not practical to ship Wayland as the default when too much still relies on X11 features.
4.gedit
andnautilus
as root.
â WinEunuuchs2Unix
Mar 5 at 12:48
I don't think people running GUI apps as root is high up on the list of any dev's priorities.
â muru
Mar 5 at 13:29
You are right of course. It is just for me (and perhaps 1 or 2 other people) the first two points are meaningless. The third point I've never used but its good to know crash reporting is better.
â WinEunuuchs2Unix
Mar 5 at 13:35
1
You can run gedit as admin under wayland via gvfs, just put in: gedit admin:///boot/grub/grub.cfg for example. This protocol uses partial elevation of privileges and is way more secure than running all of gedit as root.
â thebunnyrules
Mar 12 at 4:54
I've just tried Wayland on a dell xps13 because it handled different resolutions on two 4K monitors (which X11 doesn't) but.. its no where near prime time yet. At first it all worked fine, then some apps installed as snaps failed, the menu items in the task bar failed to work correctly and things got ugly quickly..
â Peter NUnn
Jul 11 at 2:57
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
6
down vote
See this Ubuntu Insights post:
We have decided that we will ship Xorg by default, and that Wayland
will be an optional session available from the login screen.
Why opt for Xorg by default? There are three main reasons:
- Screen sharing in software like WebRTC services, Google Hangouts, Skype, etc works well under Xorg.
- Remote Desktop control for example RDP & VNC works well under Xorg.
- Recoverability from Shell crashes is less dramatic under Xorg.
For an LTS release, it's not practical to ship Wayland as the default when too much still relies on X11 features.
4.gedit
andnautilus
as root.
â WinEunuuchs2Unix
Mar 5 at 12:48
I don't think people running GUI apps as root is high up on the list of any dev's priorities.
â muru
Mar 5 at 13:29
You are right of course. It is just for me (and perhaps 1 or 2 other people) the first two points are meaningless. The third point I've never used but its good to know crash reporting is better.
â WinEunuuchs2Unix
Mar 5 at 13:35
1
You can run gedit as admin under wayland via gvfs, just put in: gedit admin:///boot/grub/grub.cfg for example. This protocol uses partial elevation of privileges and is way more secure than running all of gedit as root.
â thebunnyrules
Mar 12 at 4:54
I've just tried Wayland on a dell xps13 because it handled different resolutions on two 4K monitors (which X11 doesn't) but.. its no where near prime time yet. At first it all worked fine, then some apps installed as snaps failed, the menu items in the task bar failed to work correctly and things got ugly quickly..
â Peter NUnn
Jul 11 at 2:57
add a comment |Â
up vote
6
down vote
See this Ubuntu Insights post:
We have decided that we will ship Xorg by default, and that Wayland
will be an optional session available from the login screen.
Why opt for Xorg by default? There are three main reasons:
- Screen sharing in software like WebRTC services, Google Hangouts, Skype, etc works well under Xorg.
- Remote Desktop control for example RDP & VNC works well under Xorg.
- Recoverability from Shell crashes is less dramatic under Xorg.
For an LTS release, it's not practical to ship Wayland as the default when too much still relies on X11 features.
4.gedit
andnautilus
as root.
â WinEunuuchs2Unix
Mar 5 at 12:48
I don't think people running GUI apps as root is high up on the list of any dev's priorities.
â muru
Mar 5 at 13:29
You are right of course. It is just for me (and perhaps 1 or 2 other people) the first two points are meaningless. The third point I've never used but its good to know crash reporting is better.
â WinEunuuchs2Unix
Mar 5 at 13:35
1
You can run gedit as admin under wayland via gvfs, just put in: gedit admin:///boot/grub/grub.cfg for example. This protocol uses partial elevation of privileges and is way more secure than running all of gedit as root.
â thebunnyrules
Mar 12 at 4:54
I've just tried Wayland on a dell xps13 because it handled different resolutions on two 4K monitors (which X11 doesn't) but.. its no where near prime time yet. At first it all worked fine, then some apps installed as snaps failed, the menu items in the task bar failed to work correctly and things got ugly quickly..
â Peter NUnn
Jul 11 at 2:57
add a comment |Â
up vote
6
down vote
up vote
6
down vote
See this Ubuntu Insights post:
We have decided that we will ship Xorg by default, and that Wayland
will be an optional session available from the login screen.
Why opt for Xorg by default? There are three main reasons:
- Screen sharing in software like WebRTC services, Google Hangouts, Skype, etc works well under Xorg.
- Remote Desktop control for example RDP & VNC works well under Xorg.
- Recoverability from Shell crashes is less dramatic under Xorg.
For an LTS release, it's not practical to ship Wayland as the default when too much still relies on X11 features.
See this Ubuntu Insights post:
We have decided that we will ship Xorg by default, and that Wayland
will be an optional session available from the login screen.
Why opt for Xorg by default? There are three main reasons:
- Screen sharing in software like WebRTC services, Google Hangouts, Skype, etc works well under Xorg.
- Remote Desktop control for example RDP & VNC works well under Xorg.
- Recoverability from Shell crashes is less dramatic under Xorg.
For an LTS release, it's not practical to ship Wayland as the default when too much still relies on X11 features.
answered Mar 5 at 11:12
muru
130k19274467
130k19274467
4.gedit
andnautilus
as root.
â WinEunuuchs2Unix
Mar 5 at 12:48
I don't think people running GUI apps as root is high up on the list of any dev's priorities.
â muru
Mar 5 at 13:29
You are right of course. It is just for me (and perhaps 1 or 2 other people) the first two points are meaningless. The third point I've never used but its good to know crash reporting is better.
â WinEunuuchs2Unix
Mar 5 at 13:35
1
You can run gedit as admin under wayland via gvfs, just put in: gedit admin:///boot/grub/grub.cfg for example. This protocol uses partial elevation of privileges and is way more secure than running all of gedit as root.
â thebunnyrules
Mar 12 at 4:54
I've just tried Wayland on a dell xps13 because it handled different resolutions on two 4K monitors (which X11 doesn't) but.. its no where near prime time yet. At first it all worked fine, then some apps installed as snaps failed, the menu items in the task bar failed to work correctly and things got ugly quickly..
â Peter NUnn
Jul 11 at 2:57
add a comment |Â
4.gedit
andnautilus
as root.
â WinEunuuchs2Unix
Mar 5 at 12:48
I don't think people running GUI apps as root is high up on the list of any dev's priorities.
â muru
Mar 5 at 13:29
You are right of course. It is just for me (and perhaps 1 or 2 other people) the first two points are meaningless. The third point I've never used but its good to know crash reporting is better.
â WinEunuuchs2Unix
Mar 5 at 13:35
1
You can run gedit as admin under wayland via gvfs, just put in: gedit admin:///boot/grub/grub.cfg for example. This protocol uses partial elevation of privileges and is way more secure than running all of gedit as root.
â thebunnyrules
Mar 12 at 4:54
I've just tried Wayland on a dell xps13 because it handled different resolutions on two 4K monitors (which X11 doesn't) but.. its no where near prime time yet. At first it all worked fine, then some apps installed as snaps failed, the menu items in the task bar failed to work correctly and things got ugly quickly..
â Peter NUnn
Jul 11 at 2:57
4.
gedit
and nautilus
as root.â WinEunuuchs2Unix
Mar 5 at 12:48
4.
gedit
and nautilus
as root.â WinEunuuchs2Unix
Mar 5 at 12:48
I don't think people running GUI apps as root is high up on the list of any dev's priorities.
â muru
Mar 5 at 13:29
I don't think people running GUI apps as root is high up on the list of any dev's priorities.
â muru
Mar 5 at 13:29
You are right of course. It is just for me (and perhaps 1 or 2 other people) the first two points are meaningless. The third point I've never used but its good to know crash reporting is better.
â WinEunuuchs2Unix
Mar 5 at 13:35
You are right of course. It is just for me (and perhaps 1 or 2 other people) the first two points are meaningless. The third point I've never used but its good to know crash reporting is better.
â WinEunuuchs2Unix
Mar 5 at 13:35
1
1
You can run gedit as admin under wayland via gvfs, just put in: gedit admin:///boot/grub/grub.cfg for example. This protocol uses partial elevation of privileges and is way more secure than running all of gedit as root.
â thebunnyrules
Mar 12 at 4:54
You can run gedit as admin under wayland via gvfs, just put in: gedit admin:///boot/grub/grub.cfg for example. This protocol uses partial elevation of privileges and is way more secure than running all of gedit as root.
â thebunnyrules
Mar 12 at 4:54
I've just tried Wayland on a dell xps13 because it handled different resolutions on two 4K monitors (which X11 doesn't) but.. its no where near prime time yet. At first it all worked fine, then some apps installed as snaps failed, the menu items in the task bar failed to work correctly and things got ugly quickly..
â Peter NUnn
Jul 11 at 2:57
I've just tried Wayland on a dell xps13 because it handled different resolutions on two 4K monitors (which X11 doesn't) but.. its no where near prime time yet. At first it all worked fine, then some apps installed as snaps failed, the menu items in the task bar failed to work correctly and things got ugly quickly..
â Peter NUnn
Jul 11 at 2:57
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1012031%2f18-04-why-both-xorg-and-xwayland%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
It's Wayland, btw, not to be mixed up with XWayland which is a emulation layer that wayland uses to run X11 native aps. Wayland's advantages are security and eventually better graphical performance with less screen tearing. Disadvantages: intensely unstable (need a few years to mature and a rewrite of gnome shell), the add security will result in loss of functionality until workarounds found. XOrg. Advantages: tons of functionality not listed in the answer below. More stability. Disadvantage: INTENSELY insecure and vulnerable: keystrokes root pws can be sniffed,commands can be injected.
â thebunnyrules
Mar 12 at 5:00