You are not logged in.
Hi :)
I've run a search through this forum and all, and I can't seem to solve my problem...
I've installed Arch on VirtualBox (so that I can try it out) and I installed Slim and Openbox.
The problem is that when I log in, the screen flickers, and Slim comes back up, as if openbox wasn't executed at all
Any of you guys has this setup? (slim and ob)
If so, please tell me how you configured it...
Thanks in advance
Last edited by pedro-kun (2007-08-05 18:09:56)
Offline
Is openbox-session defined in .xinitrc?
Use the Source, Luke!
Offline
Is openbox-session defined in .xinitrc?
Yes.
I've put only "exec openbox-session &" in my .xinitrc
Offline
Can we see yours /etc/slim.conf ?
Offline
Here it is:
# Path, X server and arguments (if needed)
# Note: -xauth $authfile is automatically appended
default_path ./:/bin:/usr/bin:/usr/local/bin:/usr/bin
default_xserver /usr/bin/X
xserver_arguments -nolisten tcp vt07
# Commands for halt, login, etc.
halt_cmd /sbin/shutdown -h 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
# Full path to the xauth binary
xauth_path /usr/bin/xauth
# Xauth file for server
authfile /var/run/slim.auth
# Activate numlock when slim starts. Valid values: on|off
# numlock on
# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
# hidecursor false
# This command is executed after a succesful login.
# you can place the %session and %theme variables
# to handle launching of specific commands in .xinitrc
# depending of chosen session and slim theme
#
# 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
# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
# sessreg. You can use the %user variable
#
# sessionstart_cmd some command
# sessionstop_cmd some command
# Start in daemon mode. Valid values: yes | no
# Note that this can overridden by the command line
# option "-d"
# daemon yes
# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
# sessions xfce4,icewm,wmaker,blackbox
# Executed when pressing F11 (requires imagemagick)
screenshot_cmd import -window root /slim.png
# welcome message. Available variables: %host, %domain
welcome_msg Welcome to %host
# shutdown / reboot messages
shutdown_msg The system is halting...
reboot_msg The system is rebooting...
# default user, leave blank or remove this line
# for avoid pre-loading the username.
#default_user pedro
# current theme, use comma separated list to specify a set to
# randomly choose from
current_theme default
# Lock file
lockfile /var/lock/slim.lock
# Log file
logfile /var/log/slim.log
i got rid of the %session bit, and the sessions, because i'm gonna use only openbox. Either way, i don't think doing that has anything to do with the problem, because i think i tried it with the default slim.conf and it didn't work anyway.
Offline
try to change your .xinitrc in
exec openbox-sessions
without the '&'
Offline
FreeFontPath: FPE "/usr/share/fonts/misc" refcount is 2, should be 1; fixing.
It refuses to start even with startx and returns the warning above
Offline
ezzetabi, removing the ampersand seems to work
It's still strange because the first time i tried, i didn't use the ampersand, and it didn't work. Anyway, thanks
Offline