Damn Small Linux (DSL) Forums
Welcome,
Guest
. Please
login
or
register
.
December 04, 2023, 02:02:20 PM
1 Hour
1 Day
1 Week
1 Month
Forever
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
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
]
Author
Topic: Don't start x at startup? (Read 16098 times)
pcm2a
Newbie
Posts: 16
Don't start x at startup?
«
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
Re: Don't start x at startup?
«
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
Re: Don't start x at startup?
«
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
Re: Don't start x at startup?
«
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
Re: Don't start x at startup?
«
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
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Damn Small Linux
-----------------------------
=> Site News
=> Release Candidates
=> User Feedback
=> DSL Tips and Tricks
=> USB booting
=> DSL Ideas and Suggestions
=> DSL Embedded
=> HD Install
=> Laptops
=> Other Help Topics
-----------------------------
MyDSL Extensions
-----------------------------
=> The Testing Area
=> Apps
=> Games
=> Gtk2
=> Multimedia
=> Net
=> System
=> Themes
=> Window Managers
=> Extension Development
-----------------------------
DSL Not
-----------------------------
=> DSL-N
-----------------------------
Non-DSL Topics
-----------------------------
=> water cooler