LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-04-2003, 06:31 PM   #1
kalvnhobbz
LQ Newbie
 
Registered: Dec 2003
Posts: 13

Rep: Reputation: 0
drakboot's settings don't stick, can't get .xinitrc to run


I'm trying to get my mandrake install to automatically login to a user using fluxbox as its wm as well as launch a few apps, but I haven't gotten any of that to work...

Right now, it automatically logins to the user using icewm. I've tried running bootdrak under root, but no mater what I change the settings to, they don't stick - when I open up bootdrak again, they're back to what they were before. Strangely, bootdrak seems to think that it's set up to not automatically login...

Also, I'd like some dockapps to startup with fluxbox so I put them in my .xinitrc (which I had to make). I also put in a line to "startfluxbox," but since the login goes to icewm, I'm guessing .xinitrc isn't being run. I've chmod'ed the file to 700 as the user, so permissions aren't the problem...

Is there something I need to edit in startx so that fluxbox starts up instead of icewm? What do I need to do to get the dockapps I put in the .xinitrc running?



On a sidenote, whenever I exit a windowmanager, the screen on the laptop goes black with grey horizontal lines. In the top right corner is a white spot that gradually grows bigger as the whole screen turns white - it kinda looks like someone's burning a whole in my screen... is this normal? Eventually (after the whole screen's white), it's return to the graphical login.
 
Old 12-04-2003, 06:44 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Edit your /etc/inittab file and change the line for the default runlevel to be the number that corresponds to "Full multiuser mode". You will boot to command line, then startx will read your .xinitrc file. Change the <N> to the correct number, the file is well commented.

id:<N>:initdefault:

# Mandrake links
Mandrake home page
Mandrake Users website
Easy urpmi config for Mandrake
urpmi mini-HOWTO
All You Ever Wanted to Know About Urpmi But Never Dared Asking Before
Easy software management: Red Carpet
Maximum RPM
rpmfind
You didn't install the developmental packages? As root, command:
urpmi gcc
An Introduction to the Midnight Commander. You can install it by commanding:
urpmi mc
Midnight Commander home page
 
Old 12-04-2003, 06:49 PM   #3
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Oops, I just re-read your post and my method is a manual method. Your .xinitrc is ignored by the automatic stuff.

Sorry I'm no help.

I think that is done by one of the login managers, either kdm, xdm, or (less likely) gdm.

Try searching for that and see what files they look at. That is where you would put the stuff that would normally go into the .xinitrc file.

Last edited by fancypiper; 12-04-2003 at 06:53 PM.
 
Old 12-05-2003, 12:59 AM   #4
kalvnhobbz
LQ Newbie
 
Registered: Dec 2003
Posts: 13

Original Poster
Rep: Reputation: 0
strange... not sure how i did it but now when the laptop boots up it automatically logs in as the user and seems to run the .xinitrc fine.

but if i log out it goes to a console login. once i login in again, it doesn't load any window manager (so it's not running the .xinitrc)... so i tried running startfluxbox, doesn't work.

if i run startx, it goes to a graphical login menu (how did i get logged out to log back in again?) and when i login in there it goes to icewm (so definitely not running the .xinitrc).

not sure how booting up has the .xinitrc run but not logging in from a console...
 
  


Reply



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
Make KDM run .xinitrc or .xsession asrisk Linux - Newbie 7 08-01-2005 06:20 AM
Ethernet settings won't STICK! Cinematography Mandriva 1 05-04-2005 03:34 AM
Settings dont stick Stevonio Slackware 3 12-13-2004 03:50 PM
.xinitrc doesn't seem to run Imek Linux - General 7 03-14-2004 04:07 AM
.xinitrc question. Just trying to get one program to run hindenbergbaby Linux - General 2 02-21-2004 06:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 01:24 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
Open Source Consulting | Domain Registration