LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 05-02-2011, 06:42 PM   #1
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,435

Rep: Reputation: 38
configure Debian as a workstation


hi

I'm creating first time Debian Squeeze workstations.
It's just needed:

Gnome Desktop
Network/DHCP
SSH server
Internet browser
Adobe Reader
Flash plugin
Java
Totem
Citrix client
VMware-View client
Remote Desktop
conky


and are already installed.

Which services (daemons) can be removed/disabled?
Code:
# ls -la /etc/init.d
total 420
drwxr-xr-x   2 root root  4096 May  3 01:52 .
drwxr-xr-x 126 root root  4096 May  3 01:52 ..
-rwxr-xr-x   1 root root  2233 Nov 16 09:52 acpid
-rwxr-xr-x   1 root root  2070 Aug 17  2010 acpi-fakekey
-rwxr-xr-x   1 root root  1383 Jun 24  2010 acpi-support
-rwxr-xr-x   1 root root  9651 Oct  4  2010 alsa-utils
-rwxr-xr-x   1 root root  1336 Nov  1  2009 anacron
-rwxr-xr-x   1 root root  1663 Jul 18  2009 apmd
-rwxr-xr-x   1 root root  1071 Nov 23  2009 atd
-rwxr-xr-x   1 root root  2315 Feb 23 15:59 avahi-daemon
-rwxr-xr-x   1 root root  1785 Feb 17  2010 binfmt-support
-rwxr-xr-x   1 root root  4637 Dec 18 09:31 bluetooth
-rwxr-xr-x   1 root root  2444 Jan  1 06:34 bootlogd
-rwxr-xr-x   1 root root  1579 Jan  1 06:34 bootlogs
-rwxr-xr-x   1 root root  1381 Jan  1 06:34 bootmisc.sh
-rwxr-xr-x   1 root root  3978 Jan  1 06:34 checkfs.sh
-rwxr-xr-x   1 root root 10822 Jan  1 06:34 checkroot.sh
-rwxr-xr-x   1 root root  1279 Jun 26  2010 console-setup
-rwxr-xr-x   1 root root  2489 May 15  2010 cpufrequtils
-rwxr-xr-x   1 root root  3753 Dec 18 23:11 cron
-rwxr-xr-x   1 root root  3016 Nov 12 11:40 cups
-rwxr-xr-x   1 root root  2832 Jul 17  2010 dbus
-rw-r--r--   1 root root  2710 May  3 01:52 .depend.boot
-rw-r--r--   1 root root  1400 May  3 01:52 .depend.start
-rw-r--r--   1 root root  1074 May  3 01:52 .depend.stop
-rwxr-xr-x   1 root root  6441 Jan 25  2010 exim4
-rwxr-xr-x   1 root root  1523 May 26  2010 fancontrol
-rwxr-xr-x   1 root root  2909 Sep 18  2010 fuse
-rwxr-xr-x   1 root root  2965 Feb 19 13:22 gdm3
-rwxr-xr-x   1 root root  1329 Jan  1 06:34 halt
-rwxr-xr-x   1 root root 10572 Sep 30  2010 hdparm
-rwxr-xr-x   1 root root  1423 Jan  1 06:34 hostname.sh
-rwxr-xr-x   1 root root  5079 Jan 25 20:19 hwclockfirst.sh
-rwxr-xr-x   1 root root  5061 Jan 25 20:19 hwclock.sh
-rwxr-xr-x   1 root root  2518 Sep 15  2006 ifupdown
-rwxr-xr-x   1 root root  1047 Sep  6  2009 ifupdown-clean
-rwxr-xr-x   1 root root  7743 Oct 13  2010 kbd
-rwxr-xr-x   1 root root  1562 Apr 23  2009 kerneloops
-rwxr-xr-x   1 root root   774 Oct 18  2010 kexec
-rwxr-xr-x   1 root root  1159 Oct 18  2010 kexec-load
-rwxr-xr-x   1 root root  1486 Jun 26  2010 keyboard-setup
-rwxr-xr-x   1 root root  3649 Oct 31  2009 keymap.sh
-rwxr-xr-x   1 root root  1293 Jan  1 06:34 killprocs
-rwxr-xr-x   1 root root  5139 Feb  1 22:51 live-boot
-rwxr-xr-x   1 root root   687 Dec  6 16:12 live-config
-rwxr-xr-x   1 root root   869 May 26  2010 lm-sensors
-rwxr-xr-x   1 root root  7143 May 15  2010 loadcpufreq
-rwxr-xr-x   1 root root  1334 Jun 27  2010 module-init-tools
-rwxr-xr-x   1 root root   620 Jan  1 06:34 mountall-bootclean.sh
-rwxr-xr-x   1 root root  1668 Jan  1 06:34 mountall.sh
-rwxr-xr-x   1 root root  1560 Jan  1 06:34 mountdevsubfs.sh
-rwxr-xr-x   1 root root  1924 Jan  1 06:34 mountkernfs.sh
-rwxr-xr-x   1 root root   628 Jan  1 06:34 mountnfs-bootclean.sh
-rwxr-xr-x   1 root root  2330 Jan  1 06:34 mountnfs.sh
-rwxr-xr-x   1 root root  1315 Jan  1 06:34 mountoverflowtmp
-rwxr-xr-x   1 root root  3649 Jan  1 06:34 mtab.sh
-rwxr-xr-x   1 root root  2451 Apr 19  2010 networking
-rwxr-xr-x   1 root root  1751 Mar 11 14:50 network-manager
-rwxr-xr-x   1 root root  6013 Aug 27  2010 nfs-common
-rwxr-xr-x   1 root root  2331 Jan  5  2010 pcmciautils
-rwxr-xr-x   1 root root   549 Jul 18  2010 pppd-dns
-rwxr-xr-x   1 root root  1298 Feb  1  2010 procps
-rwxr-xr-x   1 root root  8635 Jan  1 06:34 rc
-rwxr-xr-x   1 root root   801 Jan  1 06:34 rc.local
-rwxr-xr-x   1 root root   117 Jan  1 06:34 rcS
-rw-r--r--   1 root root  2427 Jan  1 06:34 README
-rwxr-xr-x   1 root root   639 Jan  1 06:34 reboot
-rwxr-xr-x   1 root root  1074 Jan  1 06:34 rmnologin
-rwxr-xr-x   1 root root  4399 Feb 17  2010 rsync
-rwxr-xr-x   1 root root  3080 Nov 30 14:50 rsyslog
-rwxr-xr-x   1 root root  2348 Apr 22  2010 saned
-rwxr-xr-x   1 root root  3286 Jan  1 06:34 sendsigs
-rwxr-xr-x   1 root root   590 Jan  1 06:34 single
-rw-r--r--   1 root root  4304 Jan  1 06:34 skeleton
-rwxr-xr-x   1 root root  3704 Mar 31  2010 ssh
-rwxr-xr-x   1 root root   567 Jan  1 06:34 stop-bootlogd
-rwxr-xr-x   1 root root  1143 Jan  1 06:34 stop-bootlogd-single
-rwxr-xr-x   1 root root   551 Feb 20 17:40 sudo
-rwxr-xr-x   1 root root  7578 Oct 26  2010 udev
-rwxr-xr-x   1 root root  1153 Oct 26  2010 udev-mtab
-rwxr-xr-x   1 root root  2869 Jan  1 06:34 umountfs
-rwxr-xr-x   1 root root  2143 Jan  1 06:34 umountnfs.sh
-rwxr-xr-x   1 root root  1456 Jan  1 06:34 umountroot
-rwxr-xr-x   1 root root   810 Nov 17 17:03 unattended-upgrades
-rwxr-xr-x   1 root root  1985 Jan  1 06:34 urandom
-rwxr-xr-x   1 root root  1758 Sep  4  2010 x11-common

Last edited by cccc; 05-04-2011 at 06:14 PM.
 
Old 05-02-2011, 09:54 PM   #2
mf93
Member
 
Registered: Jun 2009
Distribution: Debian Squeeze, centOS
Posts: 229

Rep: Reputation: 36
haha it seems we meet again. Install debian using the liveCD, and when it gets time to check which packages it can install(standard system utilities, ssh server, etc.) uncheck all boxes. This will install debian with ONLY the absolute minimum required to run on your system. Then when you boot into it you will have nothing but a console. Install the applications you need along with the graphical environment of your choice, they will pull the dependencies they need and you will have a minimalist workstation set up!

here is a good step by step guide (assuming you need it)
http://debianclusters.org/index.php/...tion_of_Debian
follow his instructions up to the "my base software to install" at which point you replace his software with your own.

Last edited by mf93; 05-02-2011 at 09:56 PM.
 
Old 05-03-2011, 03:50 PM   #3
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,435

Original Poster
Rep: Reputation: 38
Thx, I have installed a minimal Debian with Gnome, but don't know if I really need these all Startup Programs:
Code:
AT SPI Registry ?

Certificate and Key Storage ?

Disk Notifications ?

kerneloops applet ?

PolicKit Authentication Agent ?

Secret Storage Service ?

SSH Key Agent -> (disabled)

User folders update ?
I don't know what they're exactly doing. Knows someone which can be disabled from the startup on a normal workstation, or which of these programs have you normaly disabled on your debian non-server, workstation?

Last edited by cccc; 05-04-2011 at 06:16 PM.
 
Old 05-03-2011, 07:10 PM   #4
mf93
Member
 
Registered: Jun 2009
Distribution: Debian Squeeze, centOS
Posts: 229

Rep: Reputation: 36
the only one of those im sure you can safely uninstall is the ssh key agent(provided you are not running an ssh server) all of the others seem necessary for either debian or gnome functioning. Post all your running processes and i can help you trim the fat a little bit more
 
Old 05-03-2011, 07:30 PM   #5
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,435

Original Poster
Rep: Reputation: 38
I have the following:
Code:
# ps aux 
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.4  0.0   2032   704 ?        Ss   02:21   0:01 init [2]  
root         2  0.0  0.0      0     0 ?        S    02:21   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    02:21   0:00 [ksoftirqd/0]
root         4  0.0  0.0      0     0 ?        S    02:21   0:00 [watchdog/0]
root         5  0.0  0.0      0     0 ?        S    02:21   0:00 [events/0]
root         6  0.0  0.0      0     0 ?        S    02:21   0:00 [cpuset]
root         7  0.0  0.0      0     0 ?        S    02:21   0:00 [khelper]
root         8  0.0  0.0      0     0 ?        S    02:21   0:00 [netns]
root         9  0.0  0.0      0     0 ?        S    02:21   0:00 [async/mgr]
root        10  0.0  0.0      0     0 ?        S    02:21   0:00 [pm]
root        11  0.0  0.0      0     0 ?        S    02:21   0:00 [sync_supers]
root        12  0.0  0.0      0     0 ?        S    02:21   0:00 [bdi-default]
root        13  0.0  0.0      0     0 ?        S    02:21   0:00 [kintegrityd/0]
root        14  0.0  0.0      0     0 ?        S    02:21   0:00 [kblockd/0]
root        15  0.0  0.0      0     0 ?        S    02:21   0:00 [kacpid]
root        16  0.0  0.0      0     0 ?        S    02:21   0:00 [kacpi_notify]
root        17  0.0  0.0      0     0 ?        S    02:21   0:00 [kacpi_hotplug]
root        18  0.0  0.0      0     0 ?        S    02:21   0:00 [kseriod]
root        19  0.0  0.0      0     0 ?        S    02:21   0:00 [kondemand/0]
root        20  0.0  0.0      0     0 ?        S    02:21   0:00 [khungtaskd]
root        21  0.0  0.0      0     0 ?        S    02:21   0:00 [kswapd0]
root        22  0.0  0.0      0     0 ?        SN   02:21   0:00 [ksmd]
root        23  0.0  0.0      0     0 ?        S    02:21   0:00 [aio/0]
root        24  0.0  0.0      0     0 ?        S    02:21   0:00 [crypto/0]
root       149  0.0  0.0      0     0 ?        S    02:21   0:00 [ksuspend_usbd]
root       150  0.0  0.0      0     0 ?        S    02:21   0:00 [khubd]
root       152  0.0  0.0      0     0 ?        S    02:21   0:00 [ata/0]
root       153  0.0  0.0      0     0 ?        S    02:21   0:00 [ata_aux]
root       154  0.0  0.0      0     0 ?        S    02:21   0:00 [scsi_eh_0]
root       156  0.0  0.0      0     0 ?        S    02:21   0:00 [scsi_eh_1]
root       189  0.0  0.0      0     0 ?        S    02:21   0:00 [usbhid_resumer]
root       213  0.0  0.0      0     0 ?        S    02:21   0:00 [kjournald]
root       277  0.0  0.0   2816  1296 ?        S<s  02:21   0:00 udevd --daemon
root       364  0.0  0.0      0     0 ?        S    02:21   0:00 [flush-8:0]
root       405  0.0  0.0      0     0 ?        S    02:21   0:00 [kpsmoused]
root       448  0.0  0.0      0     0 ?        S    02:21   0:00 [i915]
root       786  0.0  0.0      0     0 ?        S    02:21   0:00 [kjournald]
root       787  0.0  0.0      0     0 ?        S    02:21   0:00 [kjournald]
root       788  0.0  0.0      0     0 ?        S    02:22   0:00 [kjournald]
root       885  0.0  0.0      0     0 ?        S    02:22   0:00 [flush-7:0]
root       886  0.0  0.0      0     0 ?        S    02:22   0:00 [flush-7:1]
root       887  0.0  0.0      0     0 ?        S    02:22   0:00 [flush-7:2]
root       888  0.0  0.0      0     0 ?        S    02:22   0:00 [flush-7:3]
root       889  0.0  0.0      0     0 ?        S    02:22   0:00 [flush-7:4]
root       890  0.0  0.0      0     0 ?        S    02:22   0:00 [flush-7:5]
root       891  0.0  0.0      0     0 ?        S    02:22   0:00 [flush-7:6]
root       892  0.0  0.0      0     0 ?        S    02:22   0:00 [flush-7:7]
root       906  0.0  0.0   2332   536 ?        Ss   02:22   0:00 dhclient -v -pf /var/run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0
root      1090  0.0  0.0  27448  1592 ?        Sl   02:22   0:00 /usr/sbin/rsyslogd -c4
root      1112  0.0  0.0   1728   704 ?        Ss   02:22   0:00 /usr/sbin/acpid
103       1119  0.1  0.0   3116  1456 ?        Ss   02:22   0:00 /usr/bin/dbus-daemon --system
root      1130  0.0  0.0   1532   204 ?        Ss   02:22   0:00 /usr/sbin/acpi_fakekeyd
root      1133  0.0  0.1   8112  4012 ?        Ss   02:22   0:00 /usr/sbin/NetworkManager
root      1139  0.0  0.1   4180  2256 ?        S    02:22   0:00 /usr/sbin/modem-manager
root      1149  0.0  0.0   4756  1720 ?        S    02:22   0:00 /sbin/wpa_supplicant -u -s
root      1155  0.0  0.1  16160  2664 ?        Sl   02:22   0:00 /usr/sbin/gdm3
root      1162  0.0  0.1  18560  3624 ?        Sl   02:22   0:00 /usr/lib/gdm3/gdm-simple-slave --display-id /org/gnome/DisplayManager/Display1
root      1176  1.5  1.0  28304 21936 tty7     Ss+  02:22   0:03 /usr/bin/Xorg :0 -br -verbose -audit 0 -novtswitch -auth /var/run/gdm3/auth-for-Debian-gdm-P
daemon    1181  0.0  0.0   2160   412 ?        Ss   02:22   0:00 /usr/sbin/atd
avahi     1193  0.0  0.0   2840  1492 ?        S    02:22   0:00 avahi-daemon: running [squeeze.local]
avahi     1194  0.0  0.0   2840   480 ?        S    02:22   0:00 avahi-daemon: chroot helper
root      1246  0.0  0.0   3812   936 ?        Ss   02:22   0:00 /usr/sbin/cron
root      1263  0.0  0.0   2812  1180 ?        S<   02:22   0:00 udevd --daemon
root      1264  0.0  0.0   2812  1176 ?        S<   02:22   0:00 udevd --daemon
root      1271  0.0  0.1   6588  2420 ?        Ss   02:22   0:00 /usr/sbin/cupsd -C /etc/cups/cupsd.conf
root      1284  0.0  0.0   6824  1060 ?        Ss   02:22   0:00 /usr/sbin/kerneloops
root      1321  0.0  0.1  16740  2896 ?        Sl   02:22   0:00 /usr/lib/gdm3/gdm-session-worker
root      1322  0.0  0.0      0     0 ?        S    02:22   0:00 [kconservative/0]
root      1357  0.0  0.1  17520  3136 ?        Sl   02:22   0:00 /usr/sbin/console-kit-daemon --no-daemon
root      1426  0.0  0.0      0     0 ?        S    02:22   0:00 [kauditd]
root      1433  0.0  0.0   5496   952 ?        Ss   02:22   0:00 /usr/sbin/sshd
sta       1443  0.1  0.5  32956 10648 ?        Ssl  02:22   0:00 x-session-manager
root      1455  0.0  0.0   1708   540 tty1     Ss+  02:22   0:00 /sbin/getty 38400 tty1
root      1456  0.0  0.0   1708   544 tty2     Ss+  02:22   0:00 /sbin/getty 38400 tty2
root      1457  0.0  0.0   1708   540 tty3     Ss+  02:22   0:00 /sbin/getty 38400 tty3
root      1458  0.0  0.0   1708   536 tty4     Ss+  02:22   0:00 /sbin/getty 38400 tty4
root      1459  0.0  0.0   1708   536 tty5     Ss+  02:22   0:00 /sbin/getty 38400 tty5
root      1460  0.0  0.0   1708   544 tty6     Ss+  02:22   0:00 /sbin/getty 38400 tty6
sta       1494  0.0  0.0   3236   352 ?        Ss   02:22   0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager
sta       1497  0.0  0.0   3288   716 ?        S    02:22   0:00 /usr/bin/dbus-launch --exit-with-session x-session-manager
sta       1498  0.0  0.0   2844  1076 ?        Ss   02:22   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
sta       1501  0.1  0.1   7240  3896 ?        S    02:22   0:00 /usr/lib/libgconf2-4/gconfd-2
sta       1506  0.0  0.3  17220  6872 ?        S    02:22   0:00 gnome-power-manager
sta       1507  0.1  0.4  22236  9648 ?        Ss   02:22   0:00 /usr/lib/gnome-settings-daemon/gnome-settings-daemon
sta       1510  0.0  0.0  23736  2052 ?        Sl   02:22   0:00 /usr/bin/gnome-keyring-daemon --start --components=ssh
root      1514  0.0  0.1   7888  3096 ?        S    02:22   0:00 /usr/lib/upower/upowerd
root      1530  0.1  0.1   6060  3656 ?        S    02:22   0:00 /usr/lib/policykit-1/polkitd
sta       1568  0.0  0.1   6928  2252 ?        S    02:22   0:00 /usr/lib/gvfs/gvfsd
sta       1571  0.1  0.4  24744 10264 ?        S    02:22   0:00 /usr/bin/metacity
sta       1574  0.0  0.1   7544  3008 ?        S    02:22   0:00 /usr/lib/gvfs/gvfs-gdu-volume-monitor
root      1576  0.0  0.1  13496  2836 ?        Sl   02:22   0:00 /usr/lib/udisks/udisks-daemon
sta       1577  0.6  0.8  47608 18400 ?        S    02:22   0:01 gnome-panel
root      1578  0.0  0.0   5084   764 ?        S    02:22   0:00 udisks-daemon: polling /dev/sr0
sta       1580  0.0  0.1  16856  2168 ?        Sl   02:22   0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
sta       1583  0.0  0.1   7072  2208 ?        S    02:22   0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
sta       1584  0.4  0.7  69472 15412 ?        S    02:22   0:00 nautilus
sta       1586  0.0  0.1  40680  3288 ?        Ssl  02:22   0:00 /usr/lib/bonobo-activation/bonobo-activation-server --ac-activate --ior-output-fd=18
sta       1591  1.3  0.3  19460  7016 ?        S    02:22   0:02 /usr/lib/vino/vino-server --sm-disable
sta       1593  0.0  0.2  15880  5612 ?        S    02:22   0:00 kerneloops-applet
sta       1594  0.1  0.7  30384 14804 ?        S    02:22   0:00 python /usr/bin/system-config-printer-applet
sta       1601  0.0  0.3  17708  6492 ?        S    02:22   0:00 /usr/lib/gnome-disk-utility/gdu-notification-daemon
sta       1602  0.0  0.2  16156  5400 ?        S    02:22   0:00 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
sta       1609  0.0  0.6  40668 13604 ?        Sl   02:22   0:00 /usr/lib/gnome-applets/mixer_applet2 --oaf-activate-iid=OAFIID:GNOME_MixerApplet_Factory --o
sta       1612  0.0  0.1   7376  2892 ?        S    02:22   0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.10 /org/gtk/gvfs/exec_spaw/0
sta       1624  0.0  0.0   6116  1844 ?        S    02:22   0:00 /usr/lib/gvfs/gvfsd-metadata
sta       1628  0.1  0.1  47764  3140 ?        Sl   02:22   0:00 /usr/bin/conky
sta       1699  0.0  0.0  15564   740 ?        Sl   02:24   0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
sta       1712  1.4  0.5  34424 11624 ?        Rl   02:25   0:00 gnome-terminal
sta       1713  0.0  0.0   1900   692 ?        S    02:25   0:00 gnome-pty-helper
sta       1714  1.5  0.1   6084  3372 pts/0    Ss   02:25   0:00 bash
root      1730  0.4  0.0   4380  1512 pts/0    S    02:25   0:00 su
root      1738  0.0  0.0   4552  1756 pts/0    S    02:25   0:00 bash
root      1739  0.0  0.0   3872  1044 pts/0    R+   02:25   0:00 ps aux

Last edited by cccc; 05-24-2011 at 11:04 AM.
 
Old 05-13-2011, 09:06 AM   #6
mf93
Member
 
Registered: Jun 2009
Distribution: Debian Squeeze, centOS
Posts: 229

Rep: Reputation: 36
this looks about as barebones as you can get. you can uninstall network manager if you are comfortable configuring your network settings manually through the terminal. I never liked the networkmanager interface personally. Other than that, it looks pretty streamlined
 
Old 05-13-2011, 11:07 AM   #7
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Squeeze/Testing
Posts: 150

Rep: Reputation: 29
Disable avahi. That is a thing that is never used and interferes with networking sometimes.
 
Old 05-16-2011, 03:04 AM   #8
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: BOSS Linux, Debian 6, Ubuntu 10.04
Posts: 186

Rep: Reputation: 27
Code:
root      1455  0.0  0.0   1708   540 tty1     Ss+  02:22   0:00 /sbin/getty 38400 tty1
root      1456  0.0  0.0   1708   544 tty2     Ss+  02:22   0:00 /sbin/getty 38400 tty2
root      1457  0.0  0.0   1708   540 tty3     Ss+  02:22   0:00 /sbin/getty 38400 tty3
root      1458  0.0  0.0   1708   536 tty4     Ss+  02:22   0:00 /sbin/getty 38400 tty4
root      1459  0.0  0.0   1708   536 tty5     Ss+  02:22   0:00 /sbin/getty 38400 tty5
root      1460  0.0  0.0   1708   544 tty6     Ss+  02:22   0:00 /sbin/getty 38400 tty6
Would reducing the number of Virtual Terminals streamline the system further? Many of us don't really use all of them...i am not sure if disabling some VTs will have any performance benefits though(?).

Last edited by austinium; 05-16-2011 at 03:06 AM. Reason: added details
 
Old 05-22-2011, 08:02 PM   #9
mf93
Member
 
Registered: Jun 2009
Distribution: Debian Squeeze, centOS
Posts: 229

Rep: Reputation: 36
it would probably have some small benefits, they would be taking some CPU time. It really depends if the benefit is worth the time for cccc.
 
Old 05-24-2011, 11:07 AM   #10
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,435

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by austinium View Post
Code:
root      1455  0.0  0.0   1708   540 tty1     Ss+  02:22   0:00 /sbin/getty 38400 tty1
root      1456  0.0  0.0   1708   544 tty2     Ss+  02:22   0:00 /sbin/getty 38400 tty2
root      1457  0.0  0.0   1708   540 tty3     Ss+  02:22   0:00 /sbin/getty 38400 tty3
root      1458  0.0  0.0   1708   536 tty4     Ss+  02:22   0:00 /sbin/getty 38400 tty4
root      1459  0.0  0.0   1708   536 tty5     Ss+  02:22   0:00 /sbin/getty 38400 tty5
root      1460  0.0  0.0   1708   544 tty6     Ss+  02:22   0:00 /sbin/getty 38400 tty6
Would reducing the number of Virtual Terminals streamline the system further? Many of us don't really use all of them...i am not sure if disabling some VTs will have any performance benefits though(?).
Thx, but howto reduce the number of Virtual Terminals streamline?
Can you give pls some more details?
 
Old 05-26-2011, 12:49 AM   #11
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: BOSS Linux, Debian 6, Ubuntu 10.04
Posts: 186

Rep: Reputation: 27
Open the /etc/inittab file
Code:
$su
#nano /etc/inittab
look for
Code:
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6
comment out the Virtual Terminals you don't want to use, for instance if you decide to use onlt VT 1 and 2, you'll have comment 3 - 6.

Note: backup the /etc/inittab file before doing this just in case something goes wrong.
 
1 members found this post helpful.
Old 05-26-2011, 03:01 PM   #12
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,435

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by gradinaruvasile View Post
Disable avahi. That is a thing that is never used and interferes with networking sometimes.
Thx, I have removed avahi-daemon and commeted out Virtual Terminals in /etc/inittab.
BTW What else can be disabled/removed?

Last edited by cccc; 05-26-2011 at 03:04 PM.
 
Old 05-27-2011, 09:37 PM   #13
mf93
Member
 
Registered: Jun 2009
Distribution: Debian Squeeze, centOS
Posts: 229

Rep: Reputation: 36
as i said before, you can always uninstall network manager and manually configure internet connections using /etc/network/interfaces.
 
1 members found this post helpful.
Old 06-03-2011, 03:12 AM   #14
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,435

Original Poster
Rep: Reputation: 38
Thx, I've removed both: network-manager and network-manager-gnome.
 
Old 02-02-2012, 02:48 PM   #15
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,435

Original Poster
Rep: Reputation: 38
portmap I've removed as well.

BTW has someone any other idea to remove deamons and software, to get best performance?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running VMwareŽ Workstation 6.5.2 build-156735 on Debian Lenny as normal user cstrieder Linux - Software 1 07-25-2009 04:46 PM
Windows workstation Samba error "not allowed to log on from this workstation" salscozzari Linux - Networking 0 01-03-2008 10:44 PM
Debian on my HP712 unix workstation tribalmasters Debian 3 09-08-2005 04:23 AM
win2000 server with VMware workstation and Debian woody as guest OS xstation Debian 1 07-14-2005 05:01 PM
How to install debian 3.0r2 on a Compaq Professional Workstation ap 550? cerneula Linux - Newbie 0 03-24-2004 10:35 AM


All times are GMT -5. The time now is 06:56 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration