# Raspberry Pi with KDE Window Manager, Wayland ver

**URL:** <https://forums.maslowcnc.com/t/raspberry-pi-with-kde-window-manager-wayland-ver/2213>\
**Category:** Software\
**Tags:** groundcontrol\
**Created:** [February 6, 2018, 1:35am UTC](https://forums.maslowcnc.com/t/raspberry-pi-with-kde-window-manager-wayland-ver/2213 "2018-02-06T01:35:41Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Jamtek](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/jamtek/32/12604_2.png) [@Jamtek](https://forums.maslowcnc.com/u/Jamtek)\
**Post date:** [February 8, 2018, 2:13am UTC](https://forums.maslowcnc.com/t/raspberry-pi-with-kde-window-manager-wayland-ver/2213/7 "2018-02-08T02:13:07Z")

</div>

### Optional - Running GroundControl inside the LXQt Desktop environment

Good news, if you feel more comfortable in a Desktop environment or just like the option to view PDFs, browse the web, etc, in your shop, there is a light WM named [LXQt](https://lxqt.org/) that can run a nested Wayland compositor with out all the resource requirements of running the KDE Plasma desktop.

`sudo apt-get install lxqt-core`

After LXQt is installed you should now be able launch the desktop from the shell by typing `startx`from the shell prompt. This should start up the LXQt desktop.

#### Run a nested Wayland Compositor Window inside X11

Once inside the LXQt desktop launch `konsole` or another terminal emulator.

`export $(dbus-launch)`  
`kwin_wayland --xwayland &`

This will start up a nested Wayland compositor with a black screen.  
If you wan to run a KDE app with wayland support, you can run something like this from a terminal:  
`kate --platform wayland &`  
It should start the application inside the compositor window.

If you want to run an X11 app or GroundControl in the Wayland window, then we need to add a Display variable in front of the executable program, since we are now running two window environments, the Desktop is :0 and the wayland is :1. From the LXQt desktop launch another ‘Konsole’ or a terminal window and type this to start up GroundControl.

`cd GroundControl`  
`DISPLAY=:1 python main.py`

GroundControl should start up inside the nested wayland window.

 ![2018-02-07-201919_1600x900_scrot](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/2X/5/540bf6d0d0184849cc00e4adc7b0cf5845feb635.png)  
Although this is a neat trick, I still plan on running GroundControl when I am cutting from the compositor launched from the shell as detailed in my first post.

Here are a few programs, I have added to my current desktop.  
Install Google Chromium with Raspberry Pi modifications  
`sudo apt-get install rpi-chromium-mods`  
Install PDF viewer  
`sudo apt-get install evince`

I welcome any feedback, and let me know if you are able to duplicate this or improve upon it.

---

_[View the full topic](https://forums.maslowcnc.com/t/raspberry-pi-with-kde-window-manager-wayland-ver/2213)._
