galaxy 发表于 2025-2-27 21:41:39

could not connect to the Rsession on RStudio Server,unable to connect to serervi

<h1>新用户无法登录网页版R studio</h1>
<h2>问题:CentOS创建的新用户无法登录网页版R studio,并显示“could not connect to the R session on RStudio Server, unable to connect to server(1)”(图一)</h2>
<hr />
<p><img src="https://tcapi.voiceclouds.cn:8444/uploads/2026/03/03/mmalcoy3tqy13c042ep.png" alt="" /></p>
<p>(图一)</p>
<hr />
<h2><strong>解决办法:</strong></h2>
<p>1、管理员加载RStudio Server路径的R</p>
<pre><code># ml R
# which R
/share/apps/repos/R/20240315/bin/R
</code></pre>
<p>2、给新用户家目录添加权限,搞定</p>
<pre><code># chown -R tangg /share/home/tangg/
</code></pre>

生信喵 发表于 2025-2-27 21:49:51

<p>学到了</p>

yuhuawang 发表于 2026-3-26 22:07:20

<p>你好,我也遇到了和你一样的问题,可是按照你的方法并没有解决</p>
页: [1]
查看完整版本: could not connect to the Rsession on RStudio Server,unable to connect to serervi