LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how do i remove X? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-remove-x-760234/)

smeezekitty 10-07-2009 01:06 AM

how do i remove X?
 
i need to remove or disable X windows from my new distro (KateOs) cleanly
any ideas?

slakmagik 10-07-2009 01:19 AM

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.

vonbiber 10-07-2009 01:20 AM

Quote:

Originally Posted by smeezekitty (Post 3710592)
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:

lutusp 10-07-2009 01:22 AM

Quote:

Originally Posted by smeezekitty (Post 3710592)
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.


All times are GMT -5. The time now is 09:02 PM.