FreeBSD: /usr/ports/x11/slim
SLiM - Simple Login Managerの導入
xdmじゃ味気ないので.
見た目重要.
でも重いの嫌.
単純なのがいい.
ってことで.
さくっと,インストール.
/usr/local/etc/rc.d/slimの中みてちょ.って言われるので見ます.
下記のコメントが記載されているので,そのまんまのことをします.
どっちか一方をすればいいので
/etc/rc.confに記入する場合は,
または/etc/ttysを書き換える.
んで再起動すればよろしいかと.
usernameのところにコマンド入力するとシャットダウン,再起動等が出来るみたいです.
xdmじゃ味気ないので.
見た目重要.
でも重いの嫌.
単純なのがいい.
ってことで.
さくっと,インストール.
# cd /usr/ports
# portinstall x11/slim
Thanks to Nikos Ntarmos, it is now possible to start slim from /etc/ttys. Please see /usr/local/etc/rc.d/slim for instructions on how to do that.
/usr/local/etc/rc.d/slimの中みてちょ.って言われるので見ます.
# cd /usr/local/etc/rc.d/
# more slim
下記のコメントが記載されているので,そのまんまのことをします.
# Add the following lines to /etc/rc.conf to enable slim:
# slim_enable (bool): Set to "NO" by default.
# Set it to "YES" to enable slim
#
# Alternatively, edit /etc/ttys and change the line below
# ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure
# to this:
# ttyv8 "/usr/local/bin/slim" xterm on secure
どっちか一方をすればいいので
/etc/rc.confに記入する場合は,
slim_enable="YES"
または/etc/ttysを書き換える.
ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure
の行をコメントアウトまたは書き換え
ttyv8 "/usr/local/bin/slim" xterm on secure
んで再起動すればよろしいかと.
usernameのところにコマンド入力するとシャットダウン,再起動等が出来るみたいです.
You may shutdown, reboot, suspend, exit or even launch a terminal from the SLiM login screen. To do so, enter the appropriate value in the username field, and the root password in the password field:
* To launch a terminal, enter console as the username (defaults to xterm which must be installed separately... edit /etc/slim.conf to change terminal preference)
* For shutdown, enter halt as the username
* For reboot, enter reboot as the username
* For suspend, enter suspend as the username
* To exit to the shell, enter exit as the username
コメント
コメントを投稿