You are not logged in.

#1 2012-06-02 08:28:00

xworld
Member
Registered: 2012-05-27
Posts: 153

[SOLVED]SLIM with another Desktop environment

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

#2 2012-06-02 08:33:52

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: [SOLVED]SLIM with another Desktop environment

Can you post your .xinitrc?

Offline

#3 2012-06-02 08:35:22

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED]SLIM with another Desktop environment

What is the output of

type kdebase-workspace

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2012-06-02 08:38:01

xworld
Member
Registered: 2012-05-27
Posts: 153

Re: [SOLVED]SLIM with another Desktop environment

exec ck=launch=session startkde

Yes, that is all that is in my .xinitrc

Last edited by xworld (2012-06-02 08:38:29)

Offline

#5 2012-06-02 08:40:50

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED]SLIM with another Desktop environment

Where on earth did you get that from?

We have a wiki; you might want to try reading it...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2012-06-02 23:00:37

xworld
Member
Registered: 2012-05-27
Posts: 153

Re: [SOLVED]SLIM with another Desktop environment

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

#7 2012-06-02 23:04:45

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED]SLIM with another Desktop environment

Please paste your .xinitrc and inittab files.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2012-06-03 00:35:27

xworld
Member
Registered: 2012-05-27
Posts: 153

Re: [SOLVED]SLIM with another Desktop environment

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 startfluxbox

Here'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 file

Last edited by xworld (2012-06-03 09:10:54)

Offline

#9 2012-06-03 01:34:53

wokko
Member
From: Vic AU
Registered: 2010-05-08
Posts: 38

Re: [SOLVED]SLIM with another Desktop environment

Try starting slim in /etc/rc.conf in the daemon section instead of innitab
and simplfy your .xinitrc to just " exec startflux"

Offline

#10 2012-06-03 03:04:27

xworld
Member
Registered: 2012-05-27
Posts: 153

Re: [SOLVED]SLIM with another Desktop environment

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

#11 2012-06-03 06:15:25

rockin turtle
Member
From: Montana, USA
Registered: 2009-10-22
Posts: 227

Re: [SOLVED]SLIM with another Desktop environment

Just do an

exec fluxbox

in your .xinitrc instead of 'exec startfluxbox'.

Offline

#12 2012-06-03 06:42:57

wokko
Member
From: Vic AU
Registered: 2010-05-08
Posts: 38

Re: [SOLVED]SLIM with another Desktop environment

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

#13 2012-06-03 07:22:12

xworld
Member
Registered: 2012-05-27
Posts: 153

Re: [SOLVED]SLIM with another Desktop environment

wokko wrote:

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

#14 2012-06-03 07:59:14

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED]SLIM with another Desktop environment

Have a look what the slim logs (/var/log/slim.log) say after an unsuccesfull login.


Burninate!

Offline

#15 2012-06-03 08:04:53

wokko
Member
From: Vic AU
Registered: 2010-05-08
Posts: 38

Re: [SOLVED]SLIM with another Desktop environment

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

#16 2012-06-03 08:24:31

xworld
Member
Registered: 2012-05-27
Posts: 153

Re: [SOLVED]SLIM with another Desktop environment

wokko wrote:

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

#17 2012-06-03 08:28:22

wokko
Member
From: Vic AU
Registered: 2010-05-08
Posts: 38

Re: [SOLVED]SLIM with another Desktop environment

Like I said in .xinitrc just put in exec fluxbox not startfluxbox or anything else

Offline

#18 2012-06-03 09:10:18

xworld
Member
Registered: 2012-05-27
Posts: 153

Re: [SOLVED]SLIM with another Desktop environment

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

#19 2012-06-03 09:15:09

martadinata
Member
Registered: 2012-01-26
Posts: 26

Re: [SOLVED]SLIM with another Desktop environment

on login try to use F1, you will see the WM/DE names, press untik fluxbox-session shown...

Offline

#20 2012-06-03 21:09:14

xworld
Member
Registered: 2012-05-27
Posts: 153

Re: [SOLVED]SLIM with another Desktop environment

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

#21 2012-06-03 22:24:43

root
Member
From: 127.0.0.1
Registered: 2012-04-13
Posts: 297

Re: [SOLVED]SLIM with another Desktop environment

@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

#22 2012-06-04 23:20:17

xworld
Member
Registered: 2012-05-27
Posts: 153

Re: [SOLVED]SLIM with another Desktop environment

Well since I am an Arch noob I am not sure what you mean. I see nowhere in .xinitrc about file permissions.

Offline

#23 2012-06-04 23:24:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED]SLIM with another Desktop environment


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#24 2012-06-05 05:27:09

PReP
Member
From: Sweden
Registered: 2010-06-13
Posts: 359
Website

Re: [SOLVED]SLIM with another Desktop environment

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 smile

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

Board footer

Powered by FluxBB