LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   xinit / .xinitrc / xdm / fluxbox (https://www.linuxquestions.org/questions/slackware-14/xinit-xinitrc-xdm-fluxbox-47653/)

kater 02-28-2003 06:03 PM

xinit / .xinitrc / xdm / fluxbox
 
Hi

I have this strange problem:

If I set the default runlevel to '3', I can normally start fluxbox with 'startx'.

But if I say in /etx/inittab, that the default runlevel should be '4' and start with xdm and fluxbox with use of the .xinitrc, X falls back to the xdm login prompt.

Her my .xinitrc:

kater@backyard:~$ cat .xinitrc
#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xdm/Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi

# start some nice programs
exec /usr/local/bin/fluxboxkater@backyard:~$


TIA,
kater.


All times are GMT -5. The time now is 06:10 AM.