You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support RStudio on Wayland for Linux desktop environments.
Reacted by Malte Kyhos, Xavier Robin, Jakub, Víctor Granda, Willber Nascimento, jhauh, Choyoung Im, David Muñoz Tord, Diego Rabatone Oliveira, Osman Keshawarz and 47 more
Reacted by VitalyR, Urek Mazino, Karolis Ramanauskas and rcragun
Reacted by VitalyR, Basil Eric Rabi, Karolis Ramanauskas, Francesco Carotti and mitchhitch
$ rstudio
TTY detected. Printing informational message about logging configuration. Logging configuration loaded from '/etc/rstudio/logging.conf'. Logging to '/home/adam/.local/share/rstudio/log/rdesktop.log'.
Failed to load client buffer integration: wayland-egl
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
qt.qpa.wayland: No shell integration named "xdg-shell" found
qt.qpa.wayland: No shell integration named "xdg-shell-v6" found
qt.qpa.wayland: No shell integration named "wl-shell" found
qt.qpa.wayland: No shell integration named "ivi-shell" found
qt.qpa.wayland: Loading shell integration failed.
qt.qpa.wayland: Attempted to load the following shells ("xdg-shell", "xdg-shell-v6", "wl-shell", "ivi-shell")
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
$ rstudio --no-sandbox
TTY detected. Printing informational message about logging configuration. Logging configuration loaded from '/etc/rstudio/logging.conf'. Logging to '/home/adam/.local/share/rstudio/log/rdesktop.log'.
Failed to load client buffer integration: wayland-egl
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
qt.qpa.wayland: No shell integration named "xdg-shell" found
qt.qpa.wayland: No shell integration named "xdg-shell-v6" found
qt.qpa.wayland: No shell integration named "wl-shell" found
qt.qpa.wayland: No shell integration named "ivi-shell" found
qt.qpa.wayland: Loading shell integration failed.
qt.qpa.wayland: Attempted to load the following shells ("xdg-shell", "xdg-shell-v6", "wl-shell", "ivi-shell")
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Just for fun, I also tried running it on the discrete NVdia GPU:
$ optirun rstudio
TTY detected. Printing informational message about logging configuration. Logging configuration loaded from '/etc/rstudio/logging.conf'. Logging to '/home/adam/.local/share/rstudio/log/rdesktop.log'.
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
The messages above suggest you tried the Qt build, which is known not to support Wayland. Do you mind trying the Electron build? It should be considered experimental (it will eventually replace the Qt build, but not until a future release), but is getting close to fully functional.
RStudio Server/Workbench is used via a web browser pointed at the server; RStudio Desktop is displayed in what is essentially a custom Chromium-based web browser and local server in one. Currently this is built using QtWebEngine (the sources live in src/cpp/desktop).
The Electron desktop (under development) replaces QtWebEngine with Electron. The sources live in src/node/desktop; it is written primarily in TypeScript.
RStudio Desktop has been using Electron starting with version 2022.12 (and newer). Not sure that's what you were asking, or if you meant Wayland support specifically.
FYI: RStudio Desktop Pro is still on QtWebEngine but the Electron version should be out this summer.
RStudio Desktop has been using Electron starting with version 2022.12 (and newer). Not sure that's what you were asking, or if you meant Wayland support specifically.
FYI: RStudio Desktop Pro is still on QtWebEngine but the Electron version should be out this summer.
Is there a flatpak for Linux with the electron version? All I can find in the arch repositories and AUR are Qt builds
Yes, RStudio Desktop 2022.12 and newer support Wayland.
No, we don't produce a flatpack (see #3079 for more on that saga).
As far as I'm aware, we (Posit) don't have anything to do with the RStudio IDE appearing in any package repositories. At this time the only thing Posit produces are the installable packages you can download from the website. Anything else out there was created by someone else (again, as far as I'm aware, I could be out of date on that knowledge).
I am running RStudio 2023.09.1 Build 494 on Ubuntu/.deb and noticed that RStudio is not running on Wayland, but rather XWayland. Are there any blocker issues to enable Wayland by default?
Activity
mikebessuille commentedon Oct 13, 2020
This comes "for free" from the update we're doing to QT. However, this will be considered "experimental support" for 1.4
gtritchie commentedon Oct 21, 2020
Due to significant issues we've been hitting with our Qt 5.15 experiments, we're likely not doing this for 1.4 on Linux.
the42 commentedon Nov 22, 2020
Is this issue assumed to be solved by moving away from Qt Webengine to Electron? #8439
mikebessuille commentedon Nov 23, 2020
Wayland should be supported "soon" by Electron: https://www.reddit.com/r/linux/comments/iuerlb/electron_will_support_wayland_soon/
So yes, moving to Electron will allow us to support Wayland with RStudio.
18 remaining items
adamryczkowski commentedon Jun 29, 2022
It does not work on Ubuntu 22.04:
I used
rstudio-2022.07.0-preview-544-amd64.deb. My system uses Sway wm (https://swaywm.org/).Also
Just for fun, I also tried running it on the discrete NVdia GPU:
I am glad to provide further debugging info.
gtritchie commentedon Jun 29, 2022
@adamryczkowski
The messages above suggest you tried the Qt build, which is known not to support Wayland. Do you mind trying the Electron build? It should be considered experimental (it will eventually replace the Qt build, but not until a future release), but is getting close to fully functional.
Try downloading from https://dailies.rstudio.com/rstudio/spotted-wakerobin/electron/jammy/ (for Ubuntu 22).
adamryczkowski commentedon Jun 29, 2022
I confirm data-studio seems to be working now. I was able to change the theme and set up a Fira Code font with working ligatures.
mikebessuille commentedon Jun 30, 2022
Thanks for testing!
Bulwagga commentedon Oct 16, 2022
I have the same problem running rstudio on Ubuntu 22.04 with Wayland. The electron build works for me as well. Thank you!
MavropaliasG commentedon Jun 5, 2023
When can we get the electron build as a flatpack in Linux please?
the42 commentedon Jun 5, 2023
Reading https://github.com/rstudio/rstudio/wiki/Electron-Desktop
So it's not yet there?
gtritchie commentedon Jun 5, 2023
RStudio Desktop has been using Electron starting with version 2022.12 (and newer). Not sure that's what you were asking, or if you meant Wayland support specifically.
FYI: RStudio Desktop Pro is still on QtWebEngine but the Electron version should be out this summer.
MavropaliasG commentedon Jun 6, 2023
Is there a flatpak for Linux with the electron version? All I can find in the arch repositories and AUR are Qt builds
the42 commentedon Jun 6, 2023
@gtritchie I was specifically referring to Wayland support.
gtritchie commentedon Jun 6, 2023
Yes, RStudio Desktop 2022.12 and newer support Wayland.
No, we don't produce a flatpack (see #3079 for more on that saga).
As far as I'm aware, we (Posit) don't have anything to do with the RStudio IDE appearing in any package repositories. At this time the only thing Posit produces are the installable packages you can download from the website. Anything else out there was created by someone else (again, as far as I'm aware, I could be out of date on that knowledge).
GerryT11 commentedon Nov 30, 2023
I am running RStudio 2023.09.1 Build 494 on Ubuntu/.deb and noticed that RStudio is not running on Wayland, but rather XWayland. Are there any blocker issues to enable Wayland by default?