LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 12-12-2002, 10:53 PM   #1
yawara
LQ Newbie
 
Registered: Dec 2002
Posts: 21

Rep: Reputation: 15
booting debian without x


Hello, it's my first time to use debian / linux. How do you I boot without X. Thanks
 
Old 12-12-2002, 10:58 PM   #2
rufius
Member
 
Registered: Oct 2002
Location: Miami, FL
Distribution: Ubuntu
Posts: 184

Rep: Reputation: 30
I would know how to go from X to just the shell. You would use the following commands in a shell:

[blah@localhost blah] $ su
*enter password*
[root@localhost blah] # init 3

That command would take you down to level 3 boot. To get back into X you'd do the following:

[root@localhost blah] # su blah
*enter password*
[blah@localhost blah] $ startx

I'm rather a n00b myself, but i know enuff. I've never had the need to boot in just the shell rather than loading X so thats my way of getting to the shell after I boot X.
 
Old 12-13-2002, 04:40 AM   #3
rohypnol
LQ Newbie
 
Registered: Dec 2002
Location: Brussels, Belgium
Distribution: Debian
Posts: 9

Rep: Reputation: 0
In order to launch linux in console mode, you have to disable the Display Manager (XDM, GDM or KDM). To disable it, you have to know which one of these three is launched at startup. After that , just type "update-rc.d name remove" using the root account and replacing name by xdm, gdm or kdm.

Be aware that this command will erase the symlinks for all runlevels... So, after that, you won't be able to boot directly into X, in any runlevel...

Last edited by rohypnol; 12-13-2002 at 04:48 AM.
 
Old 12-13-2002, 06:17 PM   #4
aliensub
Member
 
Registered: Apr 2002
Location: Denmark
Distribution: OS X
Posts: 306

Rep: Reputation: 30
As root edit /etc/inittab.

Somewhere in the top there is a line like:

id:5:initdefault: (in debian it's a little longer, mine is for mandrake)

Change it too id:3.
 
Old 12-14-2002, 09:06 AM   #5
rohypnol
LQ Newbie
 
Registered: Dec 2002
Location: Brussels, Belgium
Distribution: Debian
Posts: 9

Rep: Reputation: 0
aliensub> The default runlevel for debian is 2 ... and they are different for each distributions ...
 
Old 12-14-2002, 08:53 PM   #6
aliensub
Member
 
Registered: Apr 2002
Location: Denmark
Distribution: OS X
Posts: 306

Rep: Reputation: 30
I have used Debian for over a year so i do now a little about it

When you boot right into X it's set too default too runlevel 5, in debian runlevel 2 & 3 are no different, personally i use runlevel 3 (don't ask my why...)

Some peoble have had problem's with xdm, try too remove it from your rc.x directory

Last edited by aliensub; 12-14-2002 at 08:59 PM.
 
Old 12-14-2002, 11:50 PM   #7
yawara
LQ Newbie
 
Registered: Dec 2002
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks Guys, now I need to configure my video to start X (KDM), but now I'm having problems with my video hardware, my notebook is a SAGER NP2260 with SIS630 chips, and it seems that SIS630 is not supported by Debian, what driver in the DEBIAN database can I use that is compatible with SIS630? THanks
 
Old 12-15-2002, 02:10 AM   #8
rohypnol
LQ Newbie
 
Registered: Dec 2002
Location: Brussels, Belgium
Distribution: Debian
Posts: 9

Rep: Reputation: 0
It's not Debian specific. The documentation on http://www.xfree86.org/4.1.0/Status30.html#30 tells:

30. Silicon Integrated Systems (SiS)

3.3.6:

Support (accelerated) for the SiS 86C201, 86C202, 86C205, 86C215, 86C225, 5597, 5598, 6326, 530, 620, 300, 630 and 540 is provided by the XF86_SVGA server with the sis driver.
4.2.1:

Support (accelerated) for the SiS 530, 620, 6326 is provided by the "sis" driver. The 630, 300, and 540 are also supported, but this code is new and there are some problems with it in this version.
Summary:

Support for the 86C201, 86C202, 86C205, 86C215, 86C225, 5597 and 5598 is currently only available in 3.3.6.

So, It should be supported but you could have problems with your graphic card. Try the "sis" driver. If you have problems, try to use a generic driver (like "vesa" or "vga")
 
Old 12-15-2002, 04:50 AM   #9
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
apt-get remove xdm, from the text console!
 
Old 12-15-2002, 08:41 PM   #10
aliensub
Member
 
Registered: Apr 2002
Location: Denmark
Distribution: OS X
Posts: 306

Rep: Reputation: 30
If you try too remove xdm, you will get a question if you want too remove x-server etc. You have too force the remove of xdm.

Just so you know...
 
Old 12-15-2002, 08:48 PM   #11
aliensub
Member
 
Registered: Apr 2002
Location: Denmark
Distribution: OS X
Posts: 306

Rep: Reputation: 30
If you dare, you can upgrade too sid (unstable), it uses Xfree 4.2.1 (i also think sarge (testing) uses it, but not really sure.)

Personally I have used Sid for 6 months without a single problem (based on a woody install and then upgraded too sid)...
 
Old 12-16-2002, 02:36 AM   #12
rohypnol
LQ Newbie
 
Registered: Dec 2002
Location: Brussels, Belgium
Distribution: Debian
Posts: 9

Rep: Reputation: 0
Hmmm let me explain :

You don't have to remove xdm from you system : simply tell the init script not to launch it just by doing this:

update-rc.d xdm remove

It will delete all entries in the rc?.d directories (an entry in these directories is imply a symbolic link). So, after that, xdm won't launch, never...

You don't have to upgrade to unstable too because the text i've pasted is the same as the Xfree86 4.1.0 one ...
 
Old 07-29-2004, 07:46 PM   #13
EricD.Hedekar
LQ Newbie
 
Registered: Jul 2004
Distribution: Debian
Posts: 1

Rep: Reputation: 0
The simplest way to stop X from startin on boot is to (logged in as root) go into the /etc/rc2.d directory and edit the S99xdm, S99kdm, and S99gdm files to be named _S99xdm, _S99Kdm, and _S99gdm respectively. The code to do this at a shell prompt is as follows: mv /etc/rc2.d/S99xdm /etc/rc2.d/_S99xdm
In the event that this does not work, simply do this to the same files in the rc3.d, rc4.d and rc5.d directories. To change it back in a particular runlevel simply delete the _
 
  


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
Help with dual booting PC-BSD, and Debian Crushing Belial *BSD 13 12-03-2005 01:31 PM
dual booting solaris and debian sh4d0w13 Linux - General 1 03-03-2005 01:57 PM
Booting problems in Debian .::deVil::..'o' Linux - Software 5 08-27-2004 05:28 AM
Booting Debian jimscafe Debian 3 01-04-2004 06:20 AM
Trouble booting Debian feyo Linux - Newbie 3 09-14-2003 02:47 PM

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

All times are GMT -5. The time now is 09:08 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