Hello,
I installed x11/slim. The problem is slim can't launch openbox. Actually, it can't start any other window manager (I tried twm too). Although the login window works and I can log in to my account but after that slim just shows me a black screen with an X shaped cursor.
Here is slim.conf:
And ~/.xinitrc:
As I said before, after I log in to my account, slim just shows a black screen with an X shaped cursor (I think it is pure
Pure
I searched a lot and tried many other ways but with no result.
I installed x11/slim. The problem is slim can't launch openbox. Actually, it can't start any other window manager (I tried twm too). Although the login window works and I can log in to my account but after that slim just shows me a black screen with an X shaped cursor.
Here is slim.conf:
Code:
[CMD="%"]grep -v '^$' /usr/local/etc/slim.conf |grep -v '^#'[/CMD]
default_path [B]/bin:/usr/bin:/usr/local/bin[/B]
default_xserver /usr/local/bin/X
xserver_arguments vt09
halt_cmd /sbin/shutdown -p now
reboot_cmd /sbin/shutdown -r now
console_cmd /usr/local/bin/evilvte -e /bin/sh -c "/bin/cat /etc/motd; exec /bin/login"
suspend_cmd /usr/sbin/acpiconf -s 3
xauth_path /usr/local/bin/xauth
authfile /var/run/slim.auth
login_cmd [B] exec /bin/sh - ~/.xinitrc %session[/B]
sessions [B]openbox,xfce4,icewm-session,wmaker,blackbox[/B]
screenshot_cmd import -window root /slim.png
welcome_msg Welcome to %host
shutdown_msg The system is powering down...
reboot_msg The system is rebooting...
default_user javad
focus_password yes
current_theme fbsd
lockfile /var/run/slim.pid
logfile /var/log/slim.log
And ~/.xinitrc:
Code:
[CMD="%"]cat ~/.xinitrc[/CMD]
DEFAULT_SESSION=openbox-session
CK="ck-launch-session dbus-launch --exit-with-session"
case $1 in
openbox)
exec ${CK} openbox-session
;;
*)
exec $DEFAULT_SESSION
;;
esac
if [ -z $1 ]
then
exec ${CK} openbox-session
fi
As I said before, after I log in to my account, slim just shows a black screen with an X shaped cursor (I think it is pure
# /usr/local/bin/X?)Pure
% startx without using slim will start openbox successfully.I searched a lot and tried many other ways but with no result.