外国个人主页网站欣赏,wordpress中文怎么设置中文,德国搜索引擎,网站搭建的步骤简单归纳了Xrdp远程连接可能会出现的问题 文章目录 一、网络篇二、Ubuntu远程联机一段时间后莫名奇妙断开Ubuntu20.04禁用休眠配置禁用挂起配置 三、refresh界面频繁刷新四、Authentication is required to create a color profile参考文章总结 一、网络篇
ip addr show eth0接… 简单归纳了Xrdp远程连接可能会出现的问题 文章目录 一、网络篇二、Ubuntu远程联机一段时间后莫名奇妙断开Ubuntu20.04禁用休眠配置禁用挂起配置 三、refresh界面频繁刷新四、Authentication is required to create a color profile参考文章总结 一、网络篇
ip addr show eth0接口的IP地址
直接显示IP hostname -I
ifconfigUbuntu使用该命令需要配置
hostname查询主机名称windowubuntu通用
Ubuntu20.04截图快捷键24版本按PS键即可 CTRLSHIFTPS自由选区截图 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)] Identityunix-user:* Actionorg.freedesktop.upower.hibernate ResultActiveno ResultInactiveno ResultAnyno
[Disable hibernate (logind)] Identityunix-user:* Actionorg.freedesktop.login1.hibernate ResultActiveno
[Disable hibernate for all sessions (logind)] Identityunix-user:* Actionorg.freedesktop.login1.hibernate-multiple-sessions ResultActiveno
禁用挂起配置
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)] Identityunix-user:* Actionorg.freedesktop.upower.suspend ResultActiveno ResultInactiveno ResultAnyno
[Disable suspend (logind)] Identityunix-user:* Actionorg.freedesktop.login1.suspend ResultActiveno
[Disable suspend for all sessions (logind)] Identityunix-user:* Actionorg.freedesktop.login1.suspend-multiple-sessions ResultActiveno
重启 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] Identityunix-user:* Actionorg.freedesktop.packagekit.system-sources-refresh ResultAnyno ResultInactiveno ResultActiveyes
四、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] Identityunix-user:* Actionorg.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 ResultAnyno ResultInactiveno ResultActiveyes
按键:wq退出
参考文章
https://blog.csdn.net/qq_38329811/article/details/121142402 总结