SuSE 9.1 As an alternative to the minimal install, I would like to either remove KDE and X11 or at least disable them. What is the least painful way to do this? Thank you, Lucky Leavell
The quickest way is from console 1 (Ctl-Alt-F1) run "init 3". Also, in /etc/inittab change runlevel to 3. You can also use YaST to configure the run level. Lucky Leavell wrote:
SuSE 9.1
As an alternative to the minimal install, I would like to either remove KDE and X11 or at least disable them. What is the least painful way to do this?
Thank you, Lucky Leavell
-- SuSE Linux 8.2 (i586) ---- 2.4.20-4GB-athlon --- Thu 10/07/04 21:00 9:00pm up 20 days 2:22, 3 users, load average: 0.07, 0.20, 0.23
On Friday 08 October 2004 03:49, Lucky Leavell wrote:
SuSE 9.1
As an alternative to the minimal install, I would like to either remove KDE and X11 or at least disable them. What is the least painful way to do this?
The list of packages that make up a minimal install are in 9.1/suse/setup/descr/MINIMAL.sel. Have a look at that file, it is not difficult to read, and it should be easy to extract a *sorted* list with only package names from it (name it e.g. minfiles.txt). To get a sorted list of installed packages: rpm -qa --qf '%{NAME}\n' | sort > curfiles.txt if you do diff -U 0 curfiles.txt minfiles.txt | grep '^-[^-]' | sed 's:^-::' then you get a nice list of packages that are not in MINIMAL.sel. If you uninstall those packages, you would get a minimal installation. But have a good look at that list before you uninstall those packages, there might be undesired side effects (e.g. you want to keep a particular package). Cheers, Leen
On Fri, 2004-10-08 at 11:38, Leendert Meyer wrote:
On Friday 08 October 2004 03:49, Lucky Leavell wrote:
SuSE 9.1
As an alternative to the minimal install, I would like to either remove KDE and X11 or at least disable them. What is the least painful way to do this?
1) in root shell do "init 3" This method shuts down the graphical system period. 2) Set Yast->System->/etc/Sysconfig Editor->DISPLAYMANAGER_STARTS_XSERVER to "no" This method allows you to vnc and/or X-Windows remote into the server (starting an XSERVER) but without using your Graphic card... Assuming the vnc and/or Remote X is configured! Jerry
The list of packages that make up a minimal install are in 9.1/suse/setup/descr/MINIMAL.sel.
Have a look at that file, it is not difficult to read, and it should be easy to extract a *sorted* list with only package names from it (name it e.g. minfiles.txt).
To get a sorted list of installed packages:
rpm -qa --qf '%{NAME}\n' | sort > curfiles.txt
if you do
diff -U 0 curfiles.txt minfiles.txt | grep '^-[^-]' | sed 's:^-::'
then you get a nice list of packages that are not in MINIMAL.sel. If you uninstall those packages, you would get a minimal installation.
But have a good look at that list before you uninstall those packages, there might be undesired side effects (e.g. you want to keep a particular package).
Cheers,
Leen
participants (4)
-
Jerome R. Westrick
-
Leendert Meyer
-
Lucky Leavell
-
Terry Eck