|
发表于 2008-7-17 14:41:20
|
显示全部楼层
看看 /etc/rc.d/rc.gpm 要是有x属性
- #!/bin/sh
- # Start/stop/restart the GPM mouse server:
- if [ "$1" = "stop" ]; then
- echo "Stopping gpm..."
- /usr/sbin/gpm -k
- elif [ "$1" = "restart" ]; then
- echo "Restarting gpm..."
- /usr/sbin/gpm -k
- sleep 1
- /usr/sbin/gpm -m /dev/mouse -t imps2
- else # assume $1 = start:
- echo "Starting gpm: /usr/sbin/gpm -m /dev/mouse -t imps2"
- /usr/sbin/gpm -m /dev/mouse -t imps2
- fi
复制代码
注意最后一段。 |
|