LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   X wont start (https://www.linuxquestions.org/questions/linux-software-2/x-wont-start-225268/)

fester2001 09-01-2004 10:09 AM

X wont start
 
ok i have remastered knoppix 3.4 i replaced kde with fluxbox and done some what seemed at the time "dodgy stuff"
now i cant get x to load automaticly so i have to type startx to load it each boot
can somebod PLLLLZZZ tell me how i can get x to start itselfLD
baring in mind that i dont know how to right batch scripts to well

thanks in advance

homey 09-01-2004 11:55 AM

If you want to use another window manager such as fluxbox, you can edit the /etc/init.d/knoppix-autoconfig file. Look for the lines...
Code:

# Allow only supported windowmanager
#####the following is really one long string
case "DESKTOP" in gnome|kde|larswm|xfce|
windowmaker|wmaker|icewm|fluxbox|twm) ;; *)
DESKTOP="KDE"; ;; esac


I changed that to look like this..
# Allow only supported windowmanager
case "DESKTOP" in fluxbox) ;; *)
DESKTOP="FLUXBOX"; ;; esac

I changed the /etc/inittab to default to run level 3 ( command line )
# The default runlevel.
id:3:initdefault:
as many of the packages don't even need a window manager. If you do want to start the window manager, use the command: startx

If you want it to go directly into fluxbox, then make sure the /etc/inittab is like this...
id:5:initdefault:

fester2001 09-02-2004 12:12 AM

um... ok
i already had fluxbox as my window manager by doing just what you said,
my problem is that x will not start itself
when x is started fluxbox starts up fine
so all i have to do is find a way to automaticly startx:)


All times are GMT -5. The time now is 07:58 AM.