LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 12-16-2004, 10:47 AM   #1
anadyr
Member
 
Registered: Mar 2003
Distribution: archlinux
Posts: 40

Rep: Reputation: 15
XDM does not initialize Fluxbox


hi,

I changed the default runlevel in inittab from 3 to 4 to start X immediately after reboot, but once the login screen appears it gets into a loop... I enter my username and password, after which fluxbox is supposed to start. it does seem to start but after halve a second the screen returns to the login screen... and when I login a second time, it does the same: there seems to be some kind of login loop. It doesn.t seem to read the xinitrc file properly.

But then this, when I start the comp.The strange thing is, when I'm in runlevel 3 and I manually start X (startx) there is no problem.

Somewhere between authenticating and starting fluxbox there seems to be a problem...

I tried to edit the X init files and everything, but I can.t get it to work... and I don.t understand why runlevel 4 doesn.t work from after boot, when it does work from the commandline.

running slackware 9.1, Xfree86 4.3.0., xdm, fluxbox (as only WM), kernel 2.6.9

can anyone help me?

Last edited by anadyr; 12-16-2004 at 02:26 PM.
 
Old 12-16-2004, 02:13 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
sounds like you have "2" xinitrc files.........

one would be in /etc/X11/xinit/xinitrc
and the other is in your ~/home/ directory.............
 
Old 12-16-2004, 02:27 PM   #3
anadyr
Member
 
Registered: Mar 2003
Distribution: archlinux
Posts: 40

Original Poster
Rep: Reputation: 15
that is not the case, I only have 1 xinitrc
but I am pretty sure that the problem is related to XDM. It does not initialise fluxbox. Any ideas how to solve this problem? I tried to replace xsm in Xsession with fluxbox, but it doesn.t work...

I have to specify my window manager somehow, but I don.t know how...

Last edited by anadyr; 12-16-2004 at 02:35 PM.
 
Old 12-16-2004, 02:39 PM   #4
Namaseit
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 325

Rep: Reputation: 30
I'm pretty sure that even if he did have 2 xinitrc files the one in ~/home takes precedence over the other.
 
Old 12-16-2004, 03:02 PM   #5
m00t00
Member
 
Registered: Sep 2004
Distribution: Slackware 10, Gentoo
Posts: 292

Rep: Reputation: 30
Namaseit is correct. Many people have two, the first being the system wide default, for users who dont have one in ~/, and the second (in ~/) overriding the first, if its there.
 
Old 12-16-2004, 03:16 PM   #6
anadyr
Member
 
Registered: Mar 2003
Distribution: archlinux
Posts: 40

Original Poster
Rep: Reputation: 15
fixed the problem... xinitrc was not executable... but I still don.t understand why startx did work...
 
Old 12-17-2004, 07:30 AM   #7
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,775

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
startx does NOT initiate runlevel 4 or 5. It simply starts X from runlevel 3.
To avoid a nasty loop, before changing the runlevel in inittab, experiment by running from CLI:
init 4 until you get everything worked out, then change inittab. make sure your graphics card is correctly configured first to avoid the nasty loop.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the difference between runlevel 2 and runlevel 5 in Debian? davidas Linux - Newbie 2 01-05-2012 02:10 PM
changed default runlevel from 3 to 4 in inittab- now I'm stuck in a loop Earl Parker II Linux - Newbie 15 07-12-2004 09:37 AM
Runlevel 5 lapthorn Linux - Newbie 6 12-03-2003 06:23 AM
What does Runlevel mean, and why am I in 3? thalerz Linux - General 6 11-21-2003 01:35 PM
X does not start in Runlevel 4, but i Runlevel 3 Rabon Linux - General 3 11-18-2003 07:24 AM


All times are GMT -5. The time now is 03:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration