首页
学习
活动
专区
圈层
工具
发布
  • 您找到你想要的搜索结果了吗?
    是的
    没有找到

    Ubuntu12Ubuntu14Ubuntu16Ubuntu18Ubuntu20Ubuntu22Ubuntu24 安装Xfce图形界面

    标题写的系统版本之前都验证过,好几年了,可能有些低版本已经废弃了,2025-8-15我按这个文档配了Ubuntu22.04和Ubuntu24.04是OK的。...一、 Ubuntu12-22通用,安装Xfce图形界面(由于ubuntu12的源已经失效,目前没法验证ubuntu12了,其他的ubuntu偶数版本我都验证过) 参考https://learn.microsoft.com...执行systemctl enable xrdp) echo xfce4-session >~/.xsession adduser xrdp ssl-cert(≥ubuntu18.04需要执行这句)...grep 3389 执行 netstat -tunlp 查看远程端口是监听状态就可以用windows里的mstsc来远程了,跟远程windows服务器的方式一模一样 设置默认不进入图形界面(命令行) systemctl...set-default multi-user.target 设置默认进入图形界面 systemctl set-default graphical.target 二选一,看个人习惯 设置后重启机器生效

    10.4K53

    Linux 命令(107)—— systemctl 命令

    1.命令简介 systemctl 命令是 systemd 系统和服务的管理命令,systemctl 是与 systemd 交互的主要工具,其实现的功能包含了 service 和 chkconfig 这两个命令的功能...# 重启系统 systemctl reboot # 关闭系统,切断电源 systemctl poweroff # CPU停止工作 systemctl halt # 暂停系统 systemctl suspend...# 让系统进入冬眠状态 systemctl hibernate # 让系统进入交互式休眠状态 systemctl hybrid-sleep # 启动进入救援状态(单用户状态) systemctl...# 列出正在运行的 unit systemctl # 或 systemctl list-units # 列出所有 unit,包括没有运行的 unit systemctl list-units --all...# 启动一个服务 systemctl start apache.service # 停止一个服务 systemctl stop apache.service # 重启一个服务 systemctl restart

    5.4K20
    领券