6

解决 FreeBSD12.1 XFCE4 锁屏无效问题

 3 years ago
source link: https://www.liurongxing.com/freebsd12-xfce4-screensaver.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

解决 FreeBSD12.1 XFCE4 锁屏无效问题

作者: JavasBoy 分类: FreeBSD, 电脑 发布时间: 2020-11-04 21:30 ė 1927 views 6 没有评论

最近在使用FreeBSD12.1,并安装了 XFCE4,一切都调试的不错,但发现点击屏幕右上角的锁屏按钮没有反应,这个时候点切换用户,就进入了锁屏状态,但无论你输入正确的密码都无法解锁进入桌面,只能重启系统。

解决方法其实很简单,就是少安装了一个xfce4组件 xfce4-screensaver,使用pkg安装过程记录如下:

pkg install xfce4-screensaver
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	pam_helper: 1.1
	xfce4-screensaver: 0.1.10

Number of packages to be installed: 2

The process will require 1 MiB more space.
226 KiB to be downloaded.

Proceed with this action? [y/N]: y
[1/2] Fetching xfce4-screensaver-0.1.10.txz: 100%  222 KiB 227.1kB/s    00:01    
[2/2] Fetching pam_helper-1.1.txz: 100%    4 KiB   3.8kB/s    00:01    
Checking integrity... done (0 conflicting)
[1/2] Installing pam_helper-1.1...
[1/2] Extracting pam_helper-1.1: 100%
[2/2] Installing xfce4-screensaver-0.1.10...
[2/2] Extracting xfce4-screensaver-0.1.10: 100%

安装完成后需要注销重新登录一下XFCE4桌面才会生效。发现还存在的一个问题就上面说过切换用户时会卡住的问题,可使用 CRTL + ALT + F10 快捷键 解决 锁屏时点了切换用户导致解锁不了的问题。

其它后面安装的组件有:

# 强大的图片处理工具,代替photoshop
pkg install gimp
# 系统任务管理器
pkg install xfce4-taskmanager
# 音量调节工具
pkg install xfce4-pulseaudio-plugin
# 截图工具
pkg install xfce4-screenshooter-plugin
# Ristretto 是 Xfce 桌面环境下的图片查看器。
pkg install ristretto
# 简单PDF查询工具,需要在命令行运行
pkg install mupdf
mupdf redme.pdf
# xfce4 安装GUI解压缩软件
pkg install thunar-archive-plugin xarchiver zip unzip p7zip arj lzop gcpio unrar

挂载U盘相关

FreeBSD 13 之后变为了 fusefs.ko,/boot/loader.conf 文件中需要修改为 fusefs_load="YES"
手动加载命令:
kldload fusefs
查看内存模块:
kldstat |grep fuse

fdisk /dev/da0
gpart show /dev/da0
gpart list da0

# FAT32
mount -v -t msdosfs /dev/da0 /mnt/u/
# 解决中文乱码
ntfs-3g /dev/ad0s1 /mnt/u -o silent,umask=0,locale=zh_CN.utf8

# NTFS
ntfs-3g /dev/ada1s1 /mnt/a -o silent,umask=0,locale=zh_CN.utf8

GPG 相关

# gpg GUI 管理
pkg install kleopatra

发表评论 取消回复

您的电子邮箱地址不会被公开。 必填项已用*标注

评论

显示名称 *

电子邮箱地址 *

网站网址


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK