Run LinuxCNC on wayland
After I choose the axis, there is no linuxcnc GUI appeared,and it seems stopped。
Do you know why this happen?
Thanks
Wade
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- Offline
- User is blocked
- Posts: 1437
- Thank you received: 570
news.ycombinator.com/item?id=20376368
wayland.freedesktop.org/faq.html#heading_toc_j_8
Please Log in or Create an account to join the conversation.
Hi rmu
After I choose the axis, there is no linuxcnc GUI appeared,and it seems stopped。
Do you know why this happen?
Thanks
Wade
no idea. any errors in the console? you could try
export DISPLAY=:0
~/linuxcnc-dev/scripts/linuxcnc
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- Offline
- User is blocked
- Posts: 1437
- Thank you received: 570
I'll quote as not many seem to bother reading links.
Is Wayland network transparent / does it support remote rendering?
No, that is outside the scope of Wayland. To support remote rendering you need to define a rendering API, which is something I've been very careful to avoid doing. The reason Wayland is so simple and feasible at all is that I'm sidestepping this big task and pushing it to the clients. It's an interesting challenge, a very big task and it's hard to get right, but essentially orthogonal to what Wayland tries to achieve.
This doesn't mean that remote rendering won't be possible with Wayland, it just means that you will have to put a remote rendering server on top of Wayland. One such server could be the X.org server, but other options include an RDP server, a VNC server or somebody could even invent their own new remote rendering model. Which is a feature when you think about it; layering X.org on top of Wayland has very little overhead, but the other types of remote rendering servers no longer requires X.org, and experimenting with new protocols is easier.
It is also possible to put a remoting protocol into a wayland compositor, either a standalone remoting compositor or as a part of a full desktop compositor. This will let us forward native Wayland applications. The standalone compositor could let you log into a server and run an application back on your desktop. Building the forwarding into the desktop compositor could let you export or share a window on the fly with a remote wayland compositor, for example, a friend's desktop.
As of 2020, there are several projects that use these methods to provide GUI access to remote computers. The compositor Weston provides an RDP backend. GNOME has a remote desktop server that supports VNC. WayVNC is a VNC server that works with compositors, like Sway, based on the wlroots library. Waypipe works with all Wayland compositors and offers almost-transparent application forwarding, like ssh -X.
Please Log in or Create an account to join the conversation.
The articles I linked to suggest that Wayland doesn't isn't capable of forwarding X over ssh.
It is not possible to ssh into a machine and start a wayland app that displays through ssh the way it is possible with ssh -X and X11.
BUT.
* It is possible to ssh from wayland machine into other machine with ssh -X and start X app there, provided XWayland is running on the wayland machine.
* Toolkits like Qt, GTK end even electron can be run in either wayland or X mode and should detect the ssh -X situation.
I'm not aware of a wayland port of tcl/tk, so in the foreseeable future you will need an X server in one form or another if you want to run linuxcnc GUIs like axis.
Please Log in or Create an account to join the conversation.