You are not logged in.
So first I installed KDE and thought it was....ok. I decided to change to the slim DM which I definitely liked better. Trouble is when I login using slim it goes to a black screen and then takes me back to the slim to login all over again. I imagine that is because in my /etc/inittab file I commented kde and uncommented slim. Also in ~/.xinitrc I have it set to startkde but after I installed and configured slim I can't login to any desktop environment.
Last edited by xworld (2012-07-22 02:15:13)
Offline
Can you post your .xinitrc?
Offline
What is the output of
type kdebase-workspaceOffline
exec ck=launch=session startkdeYes, that is all that is in my .xinitrc
Last edited by xworld (2012-06-02 08:38:29)
Offline
Where on earth did you get that from?
We have a wiki; you might want to try reading it...
Offline
Ok. I installed slim and fluxbox. My .xinitrc looks like how it is supposed to. It is not empty and I did not change anything at all except that at the bottom I appended exec startfluxbox. In my /etc/inittab I have all the proper things commented out and uncommented. At the bottom I have x:5:respawn:/usr/bin/slim uncommented. It loads into slim just fine. However, once I enter my info it breifly takes me to the console screen login and then takes me back to slim where I have to login again.
Offline
Please paste your .xinitrc and inittab files.
Offline
Ok here it is
#!/bin/sh
#
# ~/.xinitrc
#
#Executed by startx (run your window manager from here)
if [-d /etc/X11/xinit/xinitrc.d]; then
for f in /etc/X11/xinit/xinitrc.d/*;do
[-x "$f"] && , "$f"
done
unset f
fi
#exec gnome-session
#exec startkde
#exec startxfce4
#...or the Window Manager of your choice
exec startfluxboxHere's inittab:
#
# /etc/inittab
#
# Runlevels:
# 0 Halt
# 1(S) Single-user
# 2 Not used
# 3 Multi-user
# 4 Not used
# 5 X11
# 6 Reboot
##Only one of the following two lines can be uncommented
#Boot to Console
#id:3:initdefault:
#Boot to X11
id:5:initdefault:
rc:sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2435:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p
# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 -s 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 -s 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 -s 38400 tty3 linux
c4:2345:respawn:/sbin/agetty -8 -s 38400 tty4 linux
c5:2345:respawn:/sbin/agetty -8 -s 38400 tty5 linux
c6:2345:respawn:/sbin/agetty -8 -s 38400 tty6 linux
#Serial Virtual Console for KVM and others VMs
#s0:2345:respawn:/sbin/agetty -8 -s 9600 ttyS0 linux
#Hypervisor Virtual Console for Xen and KVM
#h0:2345:respawn:/sbin/agetty -8 -s 38400 hvc0 linux
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
#Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
x:5:respawn:/usr/bin/slim >/dev/null 2>&1
#End of fileLast edited by xworld (2012-06-03 09:10:54)
Offline
Try starting slim in /etc/rc.conf in the daemon section instead of innitab
and simplfy your .xinitrc to just " exec startflux"
Offline
Well I tried but I get the same problem. When I go the route of setting the slim to start as a daemon which part should I have uncommented in my /etc/inittab file at the bottom where it says "Example lines for starting a login manager" I figured that I would set it back to the default of having x:5:respawn:/usr/bin/xdm -nodaemon uncommentd and the rest commented
Offline
Just do an
exec fluxboxin your .xinitrc instead of 'exec startfluxbox'.
Offline
Don't uncomment any of them in inittab
Just put slim last in the daemons section of /etc/rc.conf
and in .xinitrc put exec startfluxbox or whatever /usr/bin has for fluxbox.
Offline
Don't uncomment any of them in inittab
Just put slim last in the daemons section of /etc/rc.conf
and in .xinitrc put exec startfluxbox or whatever /usr/bin has for fluxbox.
I have done what you suggested but still it takes me to slim and once i enter login info it takes me to console login for a second and then takes me back to slim where i am required to login again. Was installing slim a bad idea? I thought i could use slim as my DM and whatever DE i wanted but maybe not?
Last edited by xworld (2012-06-03 07:23:00)
Offline
Have a look what the slim logs (/var/log/slim.log) say after an unsuccesfull login.
Burninate!
Offline
I just installed Fluxbox + slim to see what happens
and as #Rockin turtle suggested is correct you put exec fluxbox in .xinitrc
and put slim in /etc/rc.conf daemons and everything should work.
Offline
I just installed Fluxbox + slim to see what happens
and as #Rockin turtle suggested is correct you put exec fluxbox in .xinitrc
and put slim in /etc/rc.conf daemons and everything should work.
That would normally be reassuring but it doesn't. SLiM is at the end of the daemons array...in .xinitrc it says exec startfluxbox....however ive also tried startflux. Idk I've refered to the wiki many times but I guess I'm just not getting it
Offline
Like I said in .xinitrc just put in exec fluxbox not startfluxbox or anything else
Offline
I highly doubt something as simple as the difference between exec fluxbox and exec startfluxbox or exec startflux is the issue...or even matters at all. No offense. However i tested it anyway and no....it didn't work. I really do not think it's a spelling error in my config files. I do appreciate the response but something else seems to be amiss
Offline
on login try to use F1, you will see the WM/DE names, press untik fluxbox-session shown...
Offline
Hmm that's strange. I just tried logging in to Arch using root instead of the account I created and it worked I got right in to fluxbox. So I guess that problem is solved but now I don't know why I can't get in using my regular account
Offline
@xworld
Did you check .xinitrc's file permissions? Should be 644 in order for your user to be able to read it.
\(o_X)/
'Cause I wanna be an Archy - An Archy in the UK // Sex Pistols
Offline
Well since I am an Arch noob I am not sure what you mean. I see nowhere in .xinitrc about file permissions.
Offline
Offline
Running as root probably used /etc/X11/*, instead of .xinitrc in your users homefolder, that might be why it worked.
Also, i suspect that you might be naming the exec-line wrong
- The spelling and naming, is, in fact, quite important, and it would not execute/load fluxbox if you do not point to it's actual start-script.
Good luck, and perhaps be a little bit more precise when reading the arch-wiki if needed ![]()
Last edited by PReP (2012-06-05 05:28:03)
. Main: Intel Core i5 6600k @ 4.4 Ghz, 16 GB DDR4 XMP, Gefore GTX 970 (Gainward Phantom) - Arch Linux 64-Bit
. Server: Intel Core i5 2500k @ 3.9 Ghz, 8 GB DDR2-XMP RAM @ 1600 Mhz, Geforce GTX 570 (Gainward Phantom) - Arch Linux 64-Bit
. Body: Estrogen @ 90%, Testestorone @ 10% (Not scientific just out-of-my-guesstimate-brain)
Offline