LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-07-2009, 02:06 AM   #1
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Rep: Reputation: 227Reputation: 227Reputation: 227
how do i remove X?


i need to remove or disable X windows from my new distro (KateOs) cleanly
any ideas?
 
Old 10-07-2009, 02:19 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Why? I'm not sure what "disabling" could mean - you can just exit. If you mean you're stuck in that display manager login thing, then 'killall DISPLAY_MANAGER' as root from a virtual console (or, I guess, from an xterm). Change your runlevel in /etc/inittab to whatever isn't a graphical login runlevel to make it permanent. Otherwise, you should simply be able to exit. If you want to get rid of it, I imagine you'd use whatever package manager KateOS uses.
 
Old 10-07-2009, 02:20 AM   #3
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 420

Rep: Reputation: 86
Quote:
Originally Posted by smeezekitty View Post
i need to remove or disable X windows from my new distro (KateOs) cleanly
any ideas?
I believe kateos is based on slackware.
If you mean, booting in console-only mode all you need to
do is edit /etc/inittab and change the runlevel default to 3.
Check the top of the file: the comments should tell you which
levels are which.
In slackware 3 is 'multiusers,network,text-mode' and
4 'multiusers,network,X'
You edit the line for default runlevel to read:
id:3:initdefault:
 
Old 10-07-2009, 02:22 AM   #4
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by smeezekitty View Post
i need to remove or disable X windows from my new distro (KateOs) cleanly
any ideas?
The easiest way to configure the system so it comes up in text mode is to edit /etc/inittab. Change this line:

Code:
id:5:initdefault:
to this:

Code:
id:3:initdefault:
Done. And reversible as well.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
apt-get remove kolf-kde4 will remove kde4? michielv Linux - Software 1 02-10-2009 07:02 AM
Remove Evolution - remove everything?! samjh Debian 4 01-13-2009 07:26 AM
# yum remove dbus - trying to remove the whole system... atnonis Fedora 4 11-23-2007 07:31 AM
apt-get remove chrony doesn't remove all? asgerhallas Debian 3 06-05-2007 06:37 AM
How to - Remove X from already nitrohuffer2001 Linux - Software 2 05-02-2006 01:45 PM


All times are GMT -5. The time now is 03:36 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration