I'm using RStudio on Wayland with KDE, and i have been experiencing problems with the global menu not showing, but it rather seems a problem KDE global menu interference. And when i try to log in to Github Copilot from the command Palette Ctrl + Shift + P, it gets stuck in loading, but never pops up the login window. It seems that it can redirect me to open windows on my browser (firefox, by the way, browseURL("https://github.com/login")), so i tried settings these options with no success
options(rstudio.external.browser=TRUE)
Sys.setenv(RSTUDIO_EXTERNAL_BROWSER = "1")
As proposed in this issue (Unable to sign into Copilot in newer Rstudio installation - Copilot not working · Issue #16024 · rstudio/rstudio · GitHub), i set COPILOT_LOG_LOVEL=3 in .REnviron file, which shows this:
[copilotLanguageServerPath]: Copilot Language Server 'language-server.js' found at '/usr/lib/rstudio/resources/app/bin/copilot-language-server-js/language-server.js'.
[Workspace loaded from ~/.RData]
[copilotLanguageServerPath]: Copilot Language Server 'language-server.js' found at '/usr/lib/rstudio/resources/app/bin/copilot-language-server-js/language-server.js'.
[sendRequest]: Enqueuing request 'signInInitiate' with id '378dba80-f5b5-451d-b1f8-b2a7e6fef170'.
[onBackgroundProcessing]: Cancelling old continuation with id '378dba80-f5b5-451d-b1f8-b2a7e6fef170'.
I'm using Arch and i've downloaded the package from AUR rstudio-desktop 2026.01.1.403-1 which builds it from source, and one pointed out in the comments that the copilot language server bundled was outdated (version 1.399 vs 1.458) and i tried the solution pointed in this other thread Github Copilot Agent not running after install, which is to install the latest zip from the copilot bundle in the releases page and replace the old one. It didn't work and now it outputs. I tried with the js version and the linux binary version, which also doesn't work, because R doesn't detect the js file. This is the output for the js version:
[copilotLanguageServerPath]: Copilot Language Server 'language-server.js' found at '/usr/lib/rstudio/resources/app/bin/copilot-language-server-js/language-server.js'.
[Workspace loaded from ~/.RData]
[copilotLanguageServerPath]: Copilot Language Server 'language-server.js' found at '/usr/lib/rstudio/resources/app/bin/copilot-language-server-js/language-server.js'.
[sendRequest]: Enqueuing request 'signInInitiate' with id 'f4a22e32-b408-4fe1-af2b-37a6209bd475'.
[onBackgroundProcessing]: Cancelling old continuation with id 'f4a22e32-b408-4fe1-af2b-37a6209bd475'.
By the way, i'm using R 4.5.3