4月1

VM安装的FreeBSD里鼠标键盘无法使用

| |
13:44FreeBSD  

用VM安装的FreeBSD,想安装个桌面,没想到道路却这么曲折,先是安装了X-win进不了系统,现在想办法进入系统了,鼠标键盘却无法使用。
通过网上的搜索,整理了一下解决方法:
1、sysinstall来配置鼠标和键盘(其中有鼠标的按键数,品牌等);
2、将:
hald_enable="YES"
dbus_enable="YES"
这两行追加到/etc/rc.conf文件里;
3、突然发现系统在启动的过程中,提示dbus无法正常启动,错误提示:
Unknown username "polkit" in message bus configuration file
Unknown username "haldaemon" in message bus configuration file
Unknown username "avahi" in message bus configuration file

Failed to start message bus: Could not get UID and GID for username "messagebus"

./dbus: WARNING: failed to start dbus

解决方法:
使用adduser命令分别添加messagebus、polkit、haldaemon、avahi四个用户,再重新执行dbus即可。
如果再次执行(或重启)dbus的时候,未出现错误的话,在X-win里面,鼠标键盘就可以正常使用了。




阅读(1047) | 评论(0) | 引用(0)