this evening after the dist-upgrade and a reboot I discover I cannot autologin in rox-fluxbox __{{emoticon}}__
After the boot appear Slim and I can log only in rox-icewm
Do you have the same problem ?
topic title: cannot autologin in rox-fluxbox
11 posts
• Page 1 of 1
-
Posts: 75
- Joined: 28 Sep 2008
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#2
Post ~/.xinitrc and /etc/slim.conf
-
Posts: 75
- Joined: 28 Sep 2008
#3
excuseme for my mistake, this is my complete /.xinitrc:
Code: Select all
#xset m 10 2
xmodmap -e 'pointer = 1 2 3 4 5'
# The following line gets changed by antiX-init.sh with the desktop= cheatcode
XINITRC_DEFAULT="startfluxbox"
case $1 in
icewm)
sed -i -e 's/fehbgrox-ice/fehbgice/g' ~/.icewm/startup
sed -i -e"s/rox --pinboard=antiX-ice &/#rox --pinboard=antiX-ice &/" ~/.icewm/startup
sh ~/.fehbgice &
exec icewm-session
;;
lxde)
exec startlxde
;;
xfce)
exec startxfce4
;;
dwm)
exec dwm
;;
wmii)
exec wmii
;;
fvwm-crystal)
exec fvwm-crystal
;;
kde)
exec startkde
;;
gnome)
exec gnome-session
;;
openbox)
exec openbox-session
;;
fluxbox)
sed -i -e 's/fehbgrox-fb/fehbgfb/g' ~/.fluxbox/startup
sed -i -e"s/rox --pinboard=antiX-fb &/#rox --pinboard=antiX-fb &/" ~/.fluxbox/startup
sh ~/.fehbgfb &
exec startfluxbox
;;
Rox-fluxbox)
sed -i -e 's/fehbgfb/fehbgrox-fb/g' ~/.fluxbox/startup
sh ~/.fehbgrox-fb &
rox --pinboard=antiX-fb
exec startfluxbox
;;
Rox-icewm)
sed -i -e 's/fehbgice/fehbgrox-ice/g' ~/.icewm/startup
sh ~/.fehbgrox-ice &
rox --pinboard=antiX-ice
exec icewm
;;
*)
exec $XINITRC_DEFAULT
;;
esac
Last edited by equimanthorn on 18 May 2011, 05:51, edited 1 time in total.
-
Posts: 75
- Joined: 28 Sep 2008
#4
and this is my /etc/slim.conf :
Code: Select all
# Path, X server and arguments (if needed)
# Note: -xauth $authfile is automatically appended
default_path ./:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
default_xserver /usr/bin/X
xserver_arguments -dpi 96 -nolisten tcp
# Commands for halt, login, etc.
halt_cmd /sbin/shutdown -h now
reboot_cmd /sbin/shutdown -r now
console_cmd /usr/bin/urxvt -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 off
# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
hidecursor true
# 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/bash -login /etc/X11/Xsession %session
login_cmd exec ck-launch-session dbus-launch /bin/bash -login ~/.xinitrc %session >~/.xsession-errors 2>&1
# 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 fluxbox,Rox-fluxbox,Rox-icewm,icewm,dwm,wmii,lxde,xfce,fvwm-crystal,kde,gnome,openbox
# Executed when pressing F11 (requires imagemagick)
screenshot_cmd scrot /tmp/slim.png
# welcome message. Available variables: %host, %domain
welcome_msg (Press F1 to toggle sessions)
# shutdown / reboot messages
shutdown_msg The system is shutting down...
reboot_msg The system is rebooting...
# Focus the password field on start when default_user is set
# Set to"yes" to enable this feature
#focus_password no
# current theme, use comma separated list to specify a set to
# randomly choose from
current_theme antiX
# Lock file
#lockfile /var/run/slim.lock
# Log file
#logfile /var/log/slim.log
# Automatically login the default user (without entering
# the password. Set to"yes" to enable this feature
#auto_login yes
# default user, leave blank or remove this line
# to avoid pre-loading the username.
default_user paolo
auto_login yes
lockfile /var/run/slim.lock
logfile /var/log/slim.log
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#5
Is that all is in ~.xinitrc?
Mine looks like this:
Mine looks like this:
Code: Select all
#xset m 10 2
xmodmap -e 'pointer = 1 2 3 4 5'
urxvtd -q -o -f
# The following line gets changed by antiX-init.sh with the desktop= cheatcode
XINITRC_DEFAULT=startfluxbox
case $1 in
icewm)
sed -i -e 's/fehbgrox-ice/fehbgice/g' ~/.icewm/startup
sed -i -e"s/rox --pinboard=antiX-ice &/#rox --pinboard=antiX-ice &/" ~/.icewm/startup
sh ~/.fehbgice &
exec icewm-session
;;
lxde)
exec startlxde
;;
xfce)
exec startxfce4
;;
dwm)
exec dwm
;;
wmii)
exec wmii
;;
fvwm-crystal)
exec fvwm-crystal
;;
kde)
exec startkde
;;
gnome)
exec gnome-session
;;
openbox)
exec openbox-session
;;
fluxbox)
sed -i -e 's/fehbgrox-fb/fehbgfb/g' ~/.fluxbox/startup
sed -i -e"s/rox --pinboard=antiX-fb &/#rox --pinboard=antiX-fb &/" ~/.fluxbox/startup
sh ~/.fehbgfb &
exec startfluxbox
;;
Rox-fluxbox)
sed -i -e 's/fehbgfb/fehbgrox-fb/g' ~/.fluxbox/startup
sh ~/.fehbgrox-fb &
rox --pinboard=antiX-fb
exec startfluxbox
;;
Rox-icewm)
sed -i -e 's/fehbgice/fehbgrox-ice/g' ~/.icewm/startup
sh ~/.fehbgrox-ice &
rox --pinboard=antiX-ice
exec icewm
;;
*)
exec $XINITRC_DEFAULT
;;
esac
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#6
Also what does your ~/.fluxbox startup look like?
-
Posts: 75
- Joined: 28 Sep 2008
#7
I've edited my .xinitrc post.
This is my /.fluxbox startup:
This is my /.fluxbox startup:
Code: Select all
#!/bin/bash
thunar --daemon & &
ibus-daemon &
# fluxbox startup-script:
#
# Lines starting with a '#' are ignored.
# You can set your favourite wallpaper here if you don't want
# to do it from your style.
# fbsetbg -l
#
# This sets a black background
# /usr/bin/fbsetroot -solid black
# This shows the fluxbox-splash-screen
# fbsetbg -C /usr/share/fluxbox/splash.jpg
# Other examples. Check man xset for details.
# Turn off beeps:
# xset -b
# Increase the keyboard repeat-rate:
# xset r rate 195 35
# Your own fonts-dir:
# xset +fp ~/.font
#
# Your favourite mouse cursor:
# xsetroot -cursor_name right_ptr
#
# Change your keymap:
# xmodmap ~/.Xmodmap
# Auto-update menu
#python ~/.fluxbox/gnome2fluxmenu4.py > ~/.fluxbox/applications ##This is old menu##
auto-fluxbox-menu.sh &
# Use feh to set wallpaper
eval `cat ~/.fehbg` &
# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
#
# unclutter -idle 2 &
# wmnd &
# wmsmixer -w &
# wicd-client &
# Desktop icons
#pcmanfm --desktop &
#rox --pinboard=antiX-fb rox --pinboard=antiX-fb &
# Run conky regardless of desktop
sleep 10 && conky &
# Set live keyboard
#setxkbmap
########## PLAY STARTUP SOUND #########
##play /usr/share/sounds/Pardus_Rocks/Pardus_Rocks-Logout.ogg > /dev/null 2>&1 &
# Auto-mount usb devices in rox /media. Do not use with /etc/udev/rules.d/99-usbstorage.rules
# Do not use if you use Thunar or pcmanfm file managers.
#sleep 5 && devmon --exec-on-drive"rox /media" &
volumeicon &
# And last but not least we start fluxbox.
# Because it is the last app you have to run it with ''exec'' before it.
exec /usr/bin/fluxbox
# or if you want to keep a log:
# exec /usr/bin/fluxbox -log ~/.fluxbox/log
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#8
#rox --pinboard=antiX-fb rox --pinboard=antiX-fb &
should be
rox --pinboard=antiX-fb &
if you want fluxbox with rox desktop.
But apart from that it seems ok.
should be
rox --pinboard=antiX-fb &
if you want fluxbox with rox desktop.
But apart from that it seems ok.
-
Posts: 75
- Joined: 28 Sep 2008
#9
many thanks ! I try this evening at home
-
Posts: 75
- Joined: 28 Sep 2008
#10
I find my error :
thunar --daemon & & <=== here on the second line of my /.fluxbox startup I must delete one"&"
__{{emoticon}}__
Now all is ok ! Thanks Anticapitalista
thunar --daemon & & <=== here on the second line of my /.fluxbox startup I must delete one"&"
__{{emoticon}}__
Now all is ok ! Thanks Anticapitalista
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#11
Glad you found that out! Happy antiXing in fluxbox (the best wm IMO)