sudo apt install xubuntu-desktop -y 也可以单独安装xfce: sudo apt install xfce4 xfce4-goodies -y 安装xrdp(远程桌面连接) xrdp是提供远程桌面连接功能的,无论你上面安装了Ubuntu的哪个桌面环境,想要通过Windows远程桌面来连接的话,都需要安装xrdp。 sudo apt install xrdp -y 配置xrdp 特别说明:本章节及之后...
WSL2可以支持GUI了。 使用WSL 运行 Linux GUI 应用docs.microsoft.com/zh-cn/windows/wsl/tutorials/gui-apps 前提条件: Windows 11 内部版本 22000或更高版本 已安装适用于 GPU 的驱动程序 安装命令: # 全新安装, 然后重启 wsl --install -d Ubuntu # 现有WSL升级 wsl --update wsl --shutdown 常用软...
为了在WSL2中使用图形界面,你需要配置Ubuntu以使用Windows的X服务器。我们首先需要安装一个轻量级桌面环境。Mate或Xfce4都是可靠的选择。安装xfce4,首先安装xubuntu-desktop,然后安装一些gtk2库:sudo apt install -y tasksel sudo tasksel install xubuntu-desktop sudo apt install gtk2-engines 接下来,...
在ubuntu24.04下 sudo apt-fast update && sudo apt-fast upgrade -y sudo apt-fast install gnome-session sudo apt-fast install ubuntu-desktop gnome sudo gnome-session 使用gnome的时候,我失败了,除了弹出的更新窗口能正常显示,其余都是黑屏,bash中GUI也无法使用 xfce4 sudo apt-fast update && sudo apt-...
# 安装GUI桌面环境:轻量级xfce4, KDE完整kubuntu-desktop,GNOME完整ubuntu-desktopsudo apt install xfce4 xfce4-goodies# 后者是增强 xfce 桌面环境功能的一些工具# 安装xrdpsudo apt install xrdp# 启动xrdpsudo service xrdp start Windows端操作:打开远程桌面连接mstsc,连接到<WSL2_IP>:3389,输入WSL2中的用户和...
2.2 ubuntu-desktop:安装Ubuntu默认的桌面环境(如GNOME桌面)以提升界面美观度和功能性。配置环境变量后,通过命令启动桌面。在WSL中使用GitHub库安装systemd,以兼容GNOME桌面运行。安装完成,Windows开始菜单将出现相关应用。若WSL2已更新,可直接运行GUI应用,安装桌面环境或许并非必需。2.3 显示管理器:...
要获得原生 Ubuntu GUI,我们要下载安装 gnome-session 桌面环境。 复制 linuxmi@linuxmi:~/www.linuxmi.com$ sudo apt-fast install ubuntu-desktop gnome 1. 请使用apt-fast,其实安装也很快的。我们需要在开始GUI会话之前配置它。 打开你的 .bashrc 文件,里面有在启动时执行的所有命令: ...
WSL 安装桌面环境(Ubuntu) 由于我们使用的是 Ubuntu 20.04 版本,所以我们选择直接安装 gnome 桌面环境 直接运行安装命令: #安装gnome桌面环境sudo apt-get install ubuntu-desktop#安装相关工具sudo apt-get install gnome-tweak-tool Windows子系统下安装的分发版Ubuntu默认不支持systemctl命令,然而systemctl在原生版Ubunt...
文字链接:https://www.notion.so/updayday/Windows10-11-GUI-WSL-2-Ubuntu-22-04-fa5b638b838f4047904bae9b80bdb648 展开更多 科技 软件应用 windows子系统 wsl图形界面 wsl2图形界面 linux子系统 wsl wsl2 用WSL2训练深度学习模型不比在Windows上快乐?