You are not logged in.

#1 2008-07-08 23:25:31

cyclotomic
Member
From: New York
Registered: 2008-07-08
Posts: 52

SLim and fluxbox hate me

Hello, I have just recently installed Arch Linux on my computer (former Debian User) and for some reason no matter what I do fluxbox will not start after I login with SLim.  It displays "Failed to execute login command" then brings me back to the SLim login screen again.  I have no clue what to do, I have no experience with SLim and am only using it because I also can't for some reason get xdm to work (same problem as SLim). 

Can someone offer some advice please?

Offline

#2 2008-07-08 23:33:44

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: SLim and fluxbox hate me

cyclotomic wrote:

Hello, I have just recently installed Arch Linux on my computer (former Debian User) and for some reason no matter what I do fluxbox will not start after I login with SLim.  It displays "Failed to execute login command" then brings me back to the SLim login screen again.  I have no clue what to do, I have no experience with SLim and am only using it because I also can't for some reason get xdm to work (same problem as SLim). 

Can someone offer some advice please?

Could you post your ~/.xinitrc file please. I think the command to start fluxbox is

startfluxbox

whereas some defaults use it as start_fluxbox, which may be the reason. We may have to correct that.

Last edited by Inxsible (2008-07-09 00:47:37)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2008-07-08 23:33:46

kclive18
Member
From: Columbus, Ohio, USA
Registered: 2008-05-08
Posts: 219

Re: SLim and fluxbox hate me

In SLiM, press F1 a few times until it selects Fluxbox as the default GUI to load.  I use XFCE, and by default, SLiM will load XFCE unless you change this setting.

Also, in your ~/.xsession, the only line that should be uncommented is

exec startfluxbox

My Rigs:
- Mid-2007 iMac 20", Intel 2GHz Core 2 Duo, 2x1GB DDR2-800, 250GB SATA HDD, and...MIGHTY MOUSE!!! tongue, OSX 10.5 Leopard, ATI Radeon 2400XT 128MB
- HP zv6203cl, AMD Athlon 64 3200 S939, 2x512MB DDR400, 80GB 4200rpm HDD, ATI Radeon Xpress 200M 128MB, Arch i686 cool
- 1986 Gibson SG Junior Cherry Red, Ibanez 15W amp, DigiTech RP250 modeling processor

Offline

#4 2008-07-09 01:37:58

cyclotomic
Member
From: New York
Registered: 2008-07-08
Posts: 52

Re: SLim and fluxbox hate me

I have exec startfluxbox as the only uncommented item and F1  does nothing when I press it.

Offline

#5 2008-07-09 01:43:20

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: SLim and fluxbox hate me

look in you /etc/slim.conf.  By default the "session" variable is set to xfce.  You will need to change that to fluxbox.

Offline

#6 2008-07-09 01:52:20

rscholer
Member
From: Gelsenkirchen, Germany
Registered: 2008-07-03
Posts: 48

Re: SLim and fluxbox hate me

Allan wrote:

look in you /etc/slim.conf.  By default the "session" variable is set to xfce.  You will need to change that to fluxbox.

That's only important, if he does something like this:

exec $1

Back to Topic:

You've got to make sure, that your .xinitrc is executable.

Offline

#7 2008-07-09 02:02:07

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: SLim and fluxbox hate me

rscholer wrote:
Allan wrote:

look in you /etc/slim.conf.  By default the "session" variable is set to xfce.  You will need to change that to fluxbox.

That's only important, if he does something like this:

exec $1

Which given the line in slim.conf

login_cmd           exec /bin/bash -login ~/.xinitrc %session

he might just be doing that...  but I could be entirely wrong big_smile

Offline

#8 2008-07-09 02:07:46

cyclotomic
Member
From: New York
Registered: 2008-07-08
Posts: 52

Re: SLim and fluxbox hate me

It's executable and I have it changed to fluxbox.

Offline

#9 2008-07-09 02:14:10

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: SLim and fluxbox hate me

can you start fluxbox while not in slim? - i.e. boot to prompt and run startfluxbox

Offline

#10 2008-07-09 02:42:53

cyclotomic
Member
From: New York
Registered: 2008-07-08
Posts: 52

Re: SLim and fluxbox hate me

Tried it a few times and it just tells me it can't connect to X and then fails to start.

Offline

#11 2008-07-09 02:45:30

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: SLim and fluxbox hate me

So this is not a slim problem at all.  Give us the exact error message so we can help.   Have you setup your xorg.conf?

Offline

#12 2008-07-09 02:49:26

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: SLim and fluxbox hate me

This could be a silly question but ....Have you installed fluxbox?

And as Allan said, post the exact error...so we can help out.

Last edited by Inxsible (2008-07-09 17:40:43)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#13 2008-07-09 03:40:43

cyclotomic
Member
From: New York
Registered: 2008-07-08
Posts: 52

Re: SLim and fluxbox hate me

Everything is installed (X, fluxbox, SLim, all drivers for all of my hardware, etc), my xorg is setup perfectly (at least I think its prefect, since I got it from the Arch Linux Wiki, I'm using the Asus eeePC 701), the error message appears in white text on the SLim login screen and says "Failed to execute login command".  I tried using xdm and that had similar issues, in that it would never bring me past the login screen, it would say login successful and then it would just bring me right back to the same login screen.

Last edited by cyclotomic (2008-07-09 03:43:53)

Offline

#14 2008-07-09 03:57:58

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: SLim and fluxbox hate me

If you run "startx" from the terminal, what error message do you get.

Offline

#15 2008-07-09 04:00:20

cyclotomic
Member
From: New York
Registered: 2008-07-08
Posts: 52

Re: SLim and fluxbox hate me

None, it starts fine and shows up in ps -e.

Offline

#16 2008-07-09 10:12:01

kendu
Member
Registered: 2008-07-02
Posts: 2

Re: SLim and fluxbox hate me

G'day there cyclotomic,

cyclotomic wrote:

None, it starts fine and shows up in ps -e.

I hardly consider myself an expert, since I only started with Archlinux last week, but I've been using various distros on & off for a couple of years with greater or lesser success. I had the same problem you did, with my xdm install. I've now solved it, with "startxfce4" as the last line of /etc/X11/xinit/xinitrc with all entries after "# start some nice programs" remmed out - i.e. put a # as the first character in each line.

     I just had a quick look and found that somewhere along the line I've also bunged in "exec startxfce4" in my ~/.xsession file which is executable. I don't recall doing that, although it wasn't there at the start so I must have done it at some stage. I don't know which is the command that's working. You could try either one and see which works. Or have them both there. It doesn't seem to hurt and one of them must be doing something since xfce starts up fine for me.

See ya
Ken

Offline

#17 2008-07-09 11:06:12

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: SLim and fluxbox hate me

Allan wrote:

If you run "startx" from the terminal, what error message do you get.

If he has SliM running then X works, no ?


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#18 2008-07-09 11:15:16

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: SLim and fluxbox hate me

moljac024 wrote:
Allan wrote:

If you run "startx" from the terminal, what error message do you get.

If he has SliM running then X works, no ?

Good spotting!  I am surprized no-one else pointed this out.  big_smile

Anyway, I was thinking it might output an error that could explain this problem given trying to run fluxbox directly says it can't connect to X...  I wasn't just being stupid lol

Offline

#19 2008-07-09 15:32:03

cyclotomic
Member
From: New York
Registered: 2008-07-08
Posts: 52

Re: SLim and fluxbox hate me

kendu wrote:

G'day there cyclotomic,

cyclotomic wrote:

None, it starts fine and shows up in ps -e.

I hardly consider myself an expert, since I only started with Archlinux last week, but I've been using various distros on & off for a couple of years with greater or lesser success. I had the same problem you did, with my xdm install. I've now solved it, with "startxfce4" as the last line of /etc/X11/xinit/xinitrc with all entries after "# start some nice programs" remmed out - i.e. put a # as the first character in each line.

     I just had a quick look and found that somewhere along the line I've also bunged in "exec startxfce4" in my ~/.xsession file which is executable. I don't recall doing that, although it wasn't there at the start so I must have done it at some stage. I don't know which is the command that's working. You could try either one and see which works. Or have them both there. It doesn't seem to hurt and one of them must be doing something since xfce starts up fine for me.

See ya
Ken

Thanks, I'll give this a try.

Offline

#20 2008-07-10 17:32:43

egzodas
Member
Registered: 2008-07-09
Posts: 7

Re: SLim and fluxbox hate me

I had the same problem, only used xfce,,, unfortunately the only thing that worked so far was uninstalling slim

Offline

#21 2008-07-10 21:33:43

jbromley
Member
From: Pasadena, CA
Registered: 2007-02-04
Posts: 268

Re: SLim and fluxbox hate me

As pointed out, it is definitely not an X problem as slim uses X and it works. There is something wrong with either the login_cmd of your slim.conf or your .xinitrc/.xsession. How about you post slim.conf and .xinitrc/.xsession so we can see what you've actually got configured?

Offline

#22 2008-07-13 02:39:18

cyclotomic
Member
From: New York
Registered: 2008-07-08
Posts: 52

Re: SLim and fluxbox hate me

jbromley wrote:

As pointed out, it is definitely not an X problem as slim uses X and it works. There is something wrong with either the login_cmd of your slim.conf or your .xinitrc/.xsession. How about you post slim.conf and .xinitrc/.xsession so we can see what you've actually got configured?

Well, I finally got it configured and working, the only problem is that now I can only login as root, logging in as a different user doesn't work.

Offline

#23 2008-07-13 05:18:40

jbromley
Member
From: Pasadena, CA
Registered: 2007-02-04
Posts: 268

Re: SLim and fluxbox hate me

cyclotomic wrote:

Well, I finally got it configured and working, the only problem is that now I can only login as root, logging in as a different user doesn't work.

Well, without knowing what the error is when you try to log in as a normal user I can't be sure, but it seems like probably the .xinitrc/.xsession for root is good and that of your regular user is not.

Offline

#24 2008-07-13 05:38:08

cyclotomic
Member
From: New York
Registered: 2008-07-08
Posts: 52

Re: SLim and fluxbox hate me

jbromley wrote:
cyclotomic wrote:

Well, I finally got it configured and working, the only problem is that now I can only login as root, logging in as a different user doesn't work.

Well, without knowing what the error is when you try to log in as a normal user I can't be sure, but it seems like probably the .xinitrc/.xsession for root is good and that of your regular user is not.

You're right, I spelled fluxbox as fluxboox in my .xinitrc file under the regular user.  Thank you for the help, I can sleep well tonight.

Offline

Board footer

Powered by FluxBB