布丁不哭 發表於 2019-12-19 13:29:00

debian安装图形界面,使用mstsc远程登录

<blockquote>
<p>环境:debian 10.2</p>
</blockquote>
<h2 id="更新软件列表">更新软件列表</h2>
<pre><code class="language-bash">apt-get update
</code></pre>
<h2 id="安装最基本的gnome图形相关软件">安装最基本的gnome图形相关软件</h2>
<pre><code class="language-bash">apt install x-window-system-core gnome-core
</code></pre>
<h2 id="安装xrdp可以使用windows远程桌面登录">安装xrdp(可以使用windows远程桌面登录)</h2>
<pre><code class="language-bash">apt-get install xrdp
</code></pre>
<h2 id="设置系统可以使用root登录">设置系统可以使用root登录</h2>
<ol>
<li>修改<code>/etc/gdm3/daemon.conf</code>文件,在<code></code>下增加一行<code>AllowRoot = true</code></li>
<li>修改<code>/etc/pam.d/gdm-password</code>文件,注释掉<code>auth required pam_succeed_if.so user != root quiet_success</code></li>
</ol>
<h2 id="以图形界面启动debian">以图形界面启动debian</h2>
<pre><code class="language-bash">init 6
</code></pre>
<p>重启后在windows机器上使用远程桌面登录debian系统</p>
<p>参考链接:</p>
<p>https://blog.csdn.net/wojiushiwoba/article/details/88286033</p>
<p>https://blog.csdn.net/yangzm/article/details/51678600</p><br><br>
来源:https://www.cnblogs.com/nihaorz/p/12067206.html
頁: [1]
查看完整版本: debian安装图形界面,使用mstsc远程登录