Bug 101756 - Where do I find the Xwayland logs?
Summary: Where do I find the Xwayland logs?
Status: RESOLVED NOTOURBUG
Alias: None
Product: Wayland
Classification: Unclassified
Component: XWayland (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: high enhancement
Assignee: Wayland bug list
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-11 13:36 UTC by _nobody_
Modified: 2017-07-11 14:18 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description _nobody_ 2017-07-11 13:36:22 UTC
I am running at GNOME on Wayland Xwayland server.
_______

[user@localhost ~]$ loginctl 
   SESSION        UID USER             SEAT             TTY             
         4       1000 user             seat0            /dev/tty7       
        c1         42 gdm              seat0            /dev/tty1       
         2          0 root             seat0            tty6            

3 sessions listed.
[user@localhost ~]$ loginctl show-session 2 -p Type
Type=tty
[user@localhost ~]$ loginctl show-session 4 -p Type
Type=wayland
[user@localhost ~]$ loginctl show-session c1 -p Type
Type=wayland
[user@localhost ~]$ ps -elf | grep X
0 S gdm        1481   1311  0  80   0 - 66519 -      Jul10 tty1     00:02:33 /usr/bin/Xwayland :1024 -rootless -noreset -listen 4 -listen 5 -displayfd 6
0 S user       1938   1930  0  80   0 - 70783 ep_pol Jul10 tty7     00:02:30 /usr/bin/Xwayland :0 -rootless -noreset -listen 4 -listen 5 -displayfd 6
0 S user      37054   3099  0  80   0 - 29861 pipe_w 15:05 pts/0    00:00:00 grep --color=auto X
[user@localhost ~]$ 
_______

How to create logs (very similar as Xorg server creates them, or ANY logs) using Xwayland server?

_nobody_
Comment 1 _nobody_ 2017-07-11 13:38:01 UTC
I guess, I finally asked politically correct question for this Bugzilla, didn't I? :-)

_nobody_
Comment 2 Daniel Stone 2017-07-11 13:56:43 UTC
Xwayland is not a Wayland server. It is a helper to run X11 clients inside a Wayland session.

The Wayland server you are running on the GNOME Wayland session, is the GNOME Shell. GNOME Shell internally uses a library called Mutter, also developed by GNOME. You do not need to search for 'what your Wayland server is', because the answer is that it is GNOME Shell. The binary is called 'gnome-shell'. As you can guess by the name, this is fully developed by the GNOME project.

If you would like improved logging on the GNOME Wayland session, talk to the GNOME developers. I do not know how to make this more clear to you, and have explained this at least ten times now.

Please do not open any further bugs - you have already opened six - on this Bugzilla instance, or I will remove your ability to do so.
Comment 3 _nobody_ 2017-07-11 14:11:58 UTC
This, what you wrote here, is horrible. Spaghetti architecture!

In other words, you told me the following: You know, GNOME developers coupled GNOME and Wayland, and added to that Xwayland. So, they are responsible.

Now, let me impose another use case: KDE. Let say, KDE runs on Wayland, and Xwayland is called. Who is responsible for logs? KDE developers?

Do you (at all) get my points here?

_nobody_
Comment 4 Daniel Stone 2017-07-11 14:18:56 UTC
(In reply to _nobody_ from comment #3)
> This, what you wrote here, is horrible. Spaghetti architecture!
> 
> In other words, you told me the following: You know, GNOME developers
> coupled GNOME and Wayland, and added to that Xwayland. So, they are
> responsible.
> 
> Now, let me impose another use case: KDE. Let say, KDE runs on Wayland, and
> Xwayland is called. Who is responsible for logs? KDE developers?
> 
> Do you (at all) get my points here?

I get your points. 'Horrible' and 'spaghetti architecture' are your opinion, and again I point you to the code of conduct, which is linked in the footer of every single page on this Bugzilla.

Since you refuse to be constructive or even to listen to the answers given to you numerous times, I have removed your access to this Bugzilla. I hope you have better luck resolving your real problem, which - yet again - is that GNOME's implementation does not have the kind of logging you would use.

(And yes, the KDE Wayland session uses Xwayland to serve X11 clients as well. If you would like to know more about Xwayland, I can recommend typing that into google, and reading the first result.)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.