当前位置: 首页> 文旅> 文化 > 企业管理者培训查询_小米商城网站设计论文_完整的网页设计代码_厦门seo外包平台

企业管理者培训查询_小米商城网站设计论文_完整的网页设计代码_厦门seo外包平台

时间:2025/7/12 9:26:11来源:https://blog.csdn.net/weixin_46187287/article/details/143701711 浏览次数:0次
企业管理者培训查询_小米商城网站设计论文_完整的网页设计代码_厦门seo外包平台

简单归纳了Xrdp远程连接可能会出现的问题

文章目录

  • 一、网络篇
  • 二、Ubuntu远程联机一段时间后莫名奇妙断开
    • Ubuntu20.04禁用休眠配置
    • 禁用挂起配置
  • 三、refresh界面频繁刷新
  • 四、Authentication is required to create a color profile
  • 参考文章
  • 总结


一、网络篇

ip addr show
eth0接口的IP地址

直接显示IP
hostname -I

ifconfig(Ubuntu使用该命令需要配置)

hostname查询主机名称(window&ubuntu通用)

Ubuntu20.04截图快捷键(24版本按PS键即可)
CTRL+SHIFT+PS自由选区截图
PS全屏截图

二、Ubuntu远程联机一段时间后莫名奇妙断开

Ubuntu20.04禁用休眠配置

创建如下配置文件
sudo touch /etc/polkit-1/localauthority/90-mandatory.d/disable-hibernate.pkla

sudo vim /etc/polkit-1/localauthority/90-mandatory.d/disable-hibernate.pkla

添加如下配置
[Disable hibernate (upower)]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=no
ResultInactive=no
ResultAny=no

[Disable hibernate (logind)]
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate
ResultActive=no

[Disable hibernate for all sessions (logind)]
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate-multiple-sessions
ResultActive=no

禁用挂起配置

sudo touch /etc/polkit-1/localauthority/90-mandatory.d/disable-suspend.pkla

sudo vim /etc/polkit-1/localauthority/90-mandatory.d/disable-suspend.pkla

[Disable suspend (upower)]
Identity=unix-user:*
Action=org.freedesktop.upower.suspend
ResultActive=no
ResultInactive=no
ResultAny=no

[Disable suspend (logind)]
Identity=unix-user:*
Action=org.freedesktop.login1.suspend
ResultActive=no

[Disable suspend for all sessions (logind)]
Identity=unix-user:*
Action=org.freedesktop.login1.suspend-multiple-sessions
ResultActive=no

重启
sudo reboot

三、refresh界面频繁刷新

解决“刷新系统软件源需要认证” / “refresh the system repositories” 弹窗
创建文件 /etc/polkit-1/localauthority/50-local.d/46-allow-packagekit.pkla 并写入内容:(sudo vim)
sudo vim /etc/polkit-1/localauthority/50-local.d/46-allow-packagekit.pkla

[Allow Refresh Repository all Users]
Identity=unix-user:*
Action=org.freedesktop.packagekit.system-sources-refresh
ResultAny=no
ResultInactive=no
ResultActive=yes

四、Authentication is required to create a color profile

创建一个配置文件
sudo vim /etc/polkit-1/localauthority/50-local.d/45-allow-colord.pkla

添加并保存
[Allow Colord all Users]
Identity=unix-user:*
Action=org.freedesktop.color-manager.create-device;org.freedesktop.color-manager.create-profile;org.freedesktop.color-manager.delete-device;org.freedesktop.color-manager.delete-profile;org.freedesktop.color-manager.modify-device;org.freedesktop.color-manager.modify-profile
ResultAny=no
ResultInactive=no
ResultActive=yes

按键:wq退出

参考文章

https://blog.csdn.net/qq_38329811/article/details/121142402


总结

关键字:企业管理者培训查询_小米商城网站设计论文_完整的网页设计代码_厦门seo外包平台

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

责任编辑: