Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3567

Testing And Unstable • [Testing - Trixie] unresolvable host seems to break electron linking RStudio and R

$
0
0
I discovered this problem with the hostname:

Code:

op@x1:~$ sudo apt updatesudo: unable to resolve host x1: Name or service not known[sudo] password for op: 
while I tried to solve this problem with electron being unable to connect to 127.0.0.1 when running RStudio:

Code:

op@x1:~$ rstudio --trace-warnings[166332:0928/000155.964410:ERROR:gl_factory.cc(120)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].[166332:0928/000155.965234:ERROR:viz_main_impl.cc(198)] Exiting GPU process due to errors during initialization[166374:0928/000156.257868:ERROR:gl_factory.cc(120)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].[166374:0928/000156.258846:ERROR:viz_main_impl.cc(198)] Exiting GPU process due to errors during initialization(node:166297) electron: Failed to load URL: http://127.0.0.1:25221/ with error: ERR_CONNECTION_REFUSED[166366:0928/000156.472085:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
But I am out of ideas what to do about either of them. :(

After I tried several RStudio-specific recommendations documented in this thread: https://forum.posit.co/t/rstudio-wont-c ... l/191690/3
I now think, the root cause lies with the hostname issue. But I cannot find the cause as the setup looks all right, to me at least(?)

Code:

op@x1:~$ hostnamex1op@x1:~$ cat /etc/hosts# Standard host addresses127.0.0.1  localhost::1        localhost ip6-localhost ip6-loopbackff02::1    ip6-allnodesff02::2    ip6-allrouters# This host address127.0.1.1  x1
More info on system and respective packages:

Code:

op@x1:~$ uname -a; dpkg -l | grep r-base-core; dpkg -l | grep rstudioLinux x1 6.10.9-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.9-1 (2024-09-08) x86_64 GNU/Linuxii  r-base-core                             4.4.1-3                              amd64        GNU R core of statistical computation and graphics systemii  r-cran-rstudioapi                       0.16.0-1                             all          GNU R package for access to the RStudio APIii  rstudio                                 2024.09.0+375                        amd64        RStudio
* Do you agree that these two problems are connected?
* What else can I try to fix them?
* Which info do you miss?

Thank you!
DCS

Statistics: Posted by DCentSociety — 2024-09-27 22:18 — Replies 0 — Views 29



Viewing all articles
Browse latest Browse all 3567

Trending Articles