Damn Small Linux (DSL) Forums
Welcome, Guest. Please login or register.
December 04, 2023, 02:02:20 PM

Login with username, password and session length
News
The new DSL forums are now open.
Stats
11609 Posts in 311 Topics by 291 Members
Latest Member: mik3ca
Search:     Advanced search
* Home Help Search Login Register
Get The Official Damn Small Linux Book. Great VPS hosting provided by Tektonic

+  Damn Small Linux (DSL) Forums
|-+  Damn Small Linux
| |-+  HD Install
| | |-+  Don't start x at startup?
« previous next »
Pages: [1] Print
Author Topic: Don't start x at startup?  (Read 16098 times)
pcm2a
Newbie
*
Posts: 16


View Profile Email
« on: August 18, 2013, 03:38:20 AM »

When I mess up my XF86Config it is a nightmare to have X start up when I log in.  It would be great to disable that or bypass it to get right to the prompt. 
Logged
CNK
Sr. Member
****
Posts: 269


View Profile
« Reply #1 on: August 19, 2013, 06:02:06 AM »

If you installed with the DSL HDD-Install script and GRUB, then you should have the option on startup to boot in "runlevel 2" which doesn't start X. If you set up the bootloader yourself, just create another listing of DSL with "2" at the end of the "kernel" line. Note that you won't be able to run X properly in runlevel 2 using the "startx" command.

There is more info about boot cheatcodes on the Wiki (http://www.damnsmalllinux.org/wiki/cheat_codes.html).
Logged
pcm2a
Newbie
*
Posts: 16


View Profile Email
« Reply #2 on: August 19, 2013, 12:22:15 PM »

I chose lilo during the hdd-install.  I can edit the lilo.conf and add in those additional options.  I do want to run X, just not immediately.  Some of those cheat-codes look interesting.
Logged
pcm2a
Newbie
*
Posts: 16


View Profile Email
« Reply #3 on: August 19, 2013, 02:11:58 PM »

Actually....I'm not sure how to safely create additional boot options with cheat codes or how to enter additional options at startup with Lilo.

When booting up and I'm at the Lilo menu I'm not sure if I can enter extra options.

In my lilo.conf, at the top of the file is vga=791.  I'm fearful to change that cause what if it doesn't boot anymore.
Logged
CNK
Sr. Member
****
Posts: 269


View Profile
« Reply #4 on: August 20, 2013, 06:33:22 AM »

I haven't used LILO, so I don't know much about it. However couldn't you simply boot to a DSL CD and change the settings back with that?

Anyhow, perhaps you can comment out the line in "/home/dsl/.xserverrc" to stop X loading on startup. That might break the "startx" command though, so you might need to specify all the options to start X on the comand line (or make your own script), look at the startx man page (http://www.xfree86.org/4.2.0/startx.1.html). I don't know if that will work, but there are probably more elegant ways if you look into the scripts of DSL.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by SMF 1.1.20 | SMF © 2013, Simple Machines
Mercury design by Bloc