安装完了最新的40-workshop后,大致用起来还算是挺舒服的,不过还是有些问题需要先解决下。
1. sshd默认未开启
可能是因为我装的不是server是workshop?反正sshd是默认未开启的状态。需要
[infobox title=”shell”]
systemctl enable sshd
systemctl start sshd
[/infobox]
一下。
2. 远程桌面设置
网上搜的fedora的远程桌面设置基本都在“共享”这个菜单里面,但是不知道38还是37还是更早的版本里,gnome就把它移到“系统”里面去了。见下截图。
我试了ssh倒是没问题。rdp还不行。 查了查可能是selinux开启的关系?所以把selinux关了试试。
3. 系统自动休眠
本来我以为在图形化界面的“电源”里把系统自动休眠时间设定给去掉就好了,没想到还是会suspend。
需要
1 运行命令
[infobox title=”shell”]
sudo -u gdm dbus-run-session gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type ‘nothing’
sudo -u gdm dbus-run-session gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type ‘nothing’
[/infobox]
2 编辑休眠设置(存疑,因为40里这个目录都不存在)
[infobox title=”shell”]
mkdir /etc/systemd/sleep.conf.d
vi /etc/systemd/sleep.conf.d/no.conf
[Sleep]
AllowSuspend=no
[/infobox]