--- slim.conf.orig 2008-10-04 13:49:03.000000000 +0200 +++ slim.conf 2008-10-04 13:52:44.000000000 +0200 @@ -1,17 +1,19 @@ # Path, X server and arguments (if needed) # Note: -xauth $authfile is automatically appended -default_path ./:/bin:/usr/bin:/usr/local/bin -default_xserver /usr/bin/X -#xserver_arguments -dpi 75 +default_path ./:/bin:/usr/bin:%%LOCALBASE%%/bin:%%LOCALBASE%%/bin +default_xserver %%LOCALBASE%%/bin/X +# The X server needs to be started on an unused virtual terminal, +# for FreeBSD in a default configuration, the first one of those is #09 +xserver_arguments vt09 # Commands for halt, login, etc. -halt_cmd /sbin/shutdown -h now +halt_cmd /sbin/shutdown -p now reboot_cmd /sbin/shutdown -r now -console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login" -#suspend_cmd /usr/sbin/suspend +console_cmd /usr/X11R6/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login" +suspend_cmd /usr/sbin/acpiconf -s 3 # Full path to the xauth binary -xauth_path /usr/bin/xauth +xauth_path %%LOCALBASE%%/bin/xauth # Xauth file for server authfile /var/run/slim.auth @@ -32,8 +34,8 @@ # NOTE: if your system does not have bash you need # to adjust the command according to your preferred shell, # i.e. for freebsd use: -# login_cmd exec /bin/sh - ~/.xinitrc %session -login_cmd exec /bin/bash -login ~/.xinitrc %session +login_cmd exec /bin/sh - ~/.xinitrc %session +#login_cmd exec /bin/bash -login ~/.xinitrc %session # Commands executed when starting and exiting a session. # They can be used for registering a X11 session with @@ -63,7 +65,7 @@ # session_msg Session: # shutdown / reboot messages -shutdown_msg The system is halting... +shutdown_msg The system is powering down... reboot_msg The system is rebooting... # default user, leave blank or remove this line @@ -84,7 +86,7 @@ current_theme default # Lock file -lockfile /var/run/slim.lock +lockfile /var/run/slim.pid # Log file logfile /var/log/slim.log