Sponsored Content
Full Discussion: How to disable X windows?
Top Forums UNIX for Dummies Questions & Answers How to disable X windows? Post 302474889 by pinga123 on Thursday 25th of November 2010 10:35:38 PM
Old 11-25-2010
Quote:
Originally Posted by Praveen_218
Just unlink the soft link, which you would be having for the X init, inside your default runlevel of /etc/init.d/rc5.d

This works pretty well but is considered a hard way of doing so.

Otherwise sophisticatedly, you may also wish to consider chkconfig utility. This is just a command line utility to add/delete an init script at an specified runlevel. Look google for its command usage. It's a pretty simple one to use too.
Since there are so many links i m confused which one to unlink.
Can you please guide me?
Code:
# cd /etc/rc.d/rc5.d/
[rc5.d]# ls -ltr
total 316
lrwxrwxrwx 1 root root 11 May 14  2010 S99local -> ../rc.local
lrwxrwxrwx 1 root root 16 Jul 29 20:06 S99smartd -> ../init.d/smartd
lrwxrwxrwx 1 root root 19 Jul 29 20:06 S99firstboot -> ../init.d/firstboot
lrwxrwxrwx 1 root root 19 Jul 29 20:06 S98haldaemon -> ../init.d/haldaemon
lrwxrwxrwx 1 root root 22 Jul 29 20:06 S98avahi-daemon -> ../init.d/avahi-daemon
lrwxrwxrwx 1 root root 22 Jul 29 20:06 S97yum-updatesd -> ../init.d/yum-updatesd
lrwxrwxrwx 1 root root 15 Jul 29 20:06 S97rhnsd -> ../init.d/rhnsd
lrwxrwxrwx 1 root root 25 Jul 29 20:06 S96readahead_later -> ../init.d/readahead
_later
lrwxrwxrwx 1 root root 15 Jul 29 20:06 S95jexec -> ../init.d/jexec
lrwxrwxrwx 1 root root 13 Jul 29 20:06 S95atd -> ../init.d/atd
lrwxrwxrwx 1 root root 17 Jul 29 20:06 S95anacron -> ../init.d/anacron
lrwxrwxrwx 1 root root 16 Jul 29 20:06 S91tomcat -> ../init.d/tomcat
lrwxrwxrwx 1 root root 13 Jul 29 20:06 S91smb -> ../init.d/smb
lrwxrwxrwx 1 root root 13 Jul 29 20:06 S90xfs -> ../init.d/xfs
lrwxrwxrwx 1 root root 15 Jul 29 20:06 S90crond -> ../init.d/crond
lrwxrwxrwx 1 root root 13 Jul 29 20:06 S85gpm -> ../init.d/gpm
lrwxrwxrwx 1 root root 18 Jul 29 20:06 S80sendmail -> ../init.d/sendmail
lrwxrwxrwx 1 root root 19 Jul 29 20:06 S80oracle-xe -> ../init.d/oracle-xe
lrwxrwxrwx 1 root root 16 Jul 29 20:06 S56xinetd -> ../init.d/xinetd
lrwxrwxrwx 1 root root 14 Jul 29 20:06 S56cups -> ../init.d/cups
lrwxrwxrwx 1 root root 14 Jul 29 20:06 S55sshd -> ../init.d/sshd
lrwxrwxrwx 1 root root 15 Jul 29 20:06 S50hplip -> ../init.d/hplip
lrwxrwxrwx 1 root root 15 Jul 29 20:06 S44acpid -> ../init.d/acpid
lrwxrwxrwx 1 root root 16 Jul 29 20:06 S28autofs -> ../init.d/autofs
lrwxrwxrwx 1 root root 14 Jul 29 20:06 S26hidd -> ../init.d/hidd
lrwxrwxrwx 1 root root 14 Jul 29 20:06 S26apmd -> ../init.d/apmd
lrwxrwxrwx 1 root root 15 Jul 29 20:06 S25pcscd -> ../init.d/pcscd
lrwxrwxrwx 1 root root 15 Jul 29 20:06 S25netfs -> ../init.d/netfs
lrwxrwxrwx 1 root root 19 Jul 29 20:06 S25bluetooth -> ../init.d/bluetooth
lrwxrwxrwx 1 root root 20 Jul 29 20:06 S22messagebus -> ../init.d/messagebus
lrwxrwxrwx 1 root root 17 Jul 29 20:06 S19rpcgssd -> ../init.d/rpcgssd
lrwxrwxrwx 1 root root 19 Jul 29 20:06 S18rpcidmapd -> ../init.d/rpcidmapd
lrwxrwxrwx 1 root root 19 Jul 29 20:06 S15mdmonitor -> ../init.d/mdmonitor
lrwxrwxrwx 1 root root 17 Jul 29 20:06 S14nfslock -> ../init.d/nfslock
lrwxrwxrwx 1 root root 24 Jul 29 20:06 S13setroubleshoot -> ../init.d/setroubles
hoot
lrwxrwxrwx 1 root root 17 Jul 29 20:06 S13portmap -> ../init.d/portmap
lrwxrwxrwx 1 root root 18 Jul 29 20:06 S13mcstrans -> ../init.d/mcstrans
lrwxrwxrwx 1 root root 20 Jul 29 20:06 S13irqbalance -> ../init.d/irqbalance
lrwxrwxrwx 1 root root 16 Jul 29 20:06 S12syslog -> ../init.d/syslog
lrwxrwxrwx 1 root root 21 Jul 29 20:06 S12restorecond -> ../init.d/restorecond
lrwxrwxrwx 1 root root 16 Jul 29 20:06 S11auditd -> ../init.d/auditd
lrwxrwxrwx 1 root root 17 Jul 29 20:06 S10network -> ../init.d/network
lrwxrwxrwx 1 root root 14 Jul 29 20:06 S09isdn -> ../init.d/isdn
lrwxrwxrwx 1 root root 18 Jul 29 20:06 S08iptables -> ../init.d/iptables
lrwxrwxrwx 1 root root 19 Jul 29 20:06 S08ip6tables -> ../init.d/ip6tables
lrwxrwxrwx 1 root root 18 Jul 29 20:06 S06cpuspeed -> ../init.d/cpuspeed
lrwxrwxrwx 1 root root 15 Jul 29 20:06 S05kudzu -> ../init.d/kudzu
lrwxrwxrwx 1 root root 25 Jul 29 20:06 S04readahead_early -> ../init.d/readahead
_early
lrwxrwxrwx 1 root root 22 Jul 29 20:06 S02lvm2-monitor -> ../init.d/lvm2-monitor
lrwxrwxrwx 1 root root 23 Jul 29 20:06 S00microcode_ctl -> ../init.d/microcode_c
tl
lrwxrwxrwx 1 root root 14 Jul 29 20:06 K91capi -> ../init.d/capi
lrwxrwxrwx 1 root root 15 Jul 29 20:06 K89rdisc -> ../init.d/rdisc
lrwxrwxrwx 1 root root 14 Jul 29 20:06 K89pand -> ../init.d/pand
lrwxrwxrwx 1 root root 18 Jul 29 20:06 K89netplugd -> ../init.d/netplugd
lrwxrwxrwx 1 root root 14 Jul 29 20:06 K89dund -> ../init.d/dund
lrwxrwxrwx 1 root root 24 Jul 29 20:06 K88wpa_supplicant -> ../init.d/wpa_suppli
cant
lrwxrwxrwx 1 root root 20 Jul 29 20:06 K87multipathd -> ../init.d/multipathd
lrwxrwxrwx 1 root root 14 Jul 29 20:06 K87ipmi -> ../init.d/ipmi
lrwxrwxrwx 1 root root 15 Jul 29 20:06 K85mdmpd -> ../init.d/mdmpd
lrwxrwxrwx 1 root root 15 Jul 29 20:06 K80kdump -> ../init.d/kdump
lrwxrwxrwx 1 root root 14 Jul 29 20:06 K74ntpd -> ../init.d/ntpd
lrwxrwxrwx 1 root root 14 Jul 29 20:06 K74nscd -> ../init.d/nscd
lrwxrwxrwx 1 root root 20 Jul 29 20:06 K69rpcsvcgssd -> ../init.d/rpcsvcgssd
lrwxrwxrwx 1 root root 20 Jul 29 20:06 K50netconsole -> ../init.d/netconsole
lrwxrwxrwx 1 root root 19 Jul 29 20:06 K35vncserver -> ../init.d/vncserver
lrwxrwxrwx 1 root root 14 Jul 29 20:06 K24irda -> ../init.d/irda
lrwxrwxrwx 1 root root 13 Jul 29 20:06 K20nfs -> ../init.d/nfs
lrwxrwxrwx 1 root root 16 Jul 29 20:06 K10psacct -> ../init.d/psacct
lrwxrwxrwx 1 root root 17 Jul 29 20:06 K05wdaemon -> ../init.d/wdaemon
lrwxrwxrwx 1 root root 19 Jul 29 20:06 K05saslauthd -> ../init.d/saslauthd
lrwxrwxrwx 1 root root 16 Jul 29 20:06 K05conman -> ../init.d/conman
lrwxrwxrwx 1 root root 34 Jul 29 20:06 K02NetworkManagerDispatcher -> ../init.d/
NetworkManagerDispatcher
lrwxrwxrwx 1 root root 24 Jul 29 20:06 K02NetworkManager -> ../init.d/NetworkMan
ager
lrwxrwxrwx 1 root root 16 Jul 29 20:06 K02dhcdbd -> ../init.d/dhcdbd
lrwxrwxrwx 1 root root 24 Jul 29 20:06 K02avahi-dnsconfd -> ../init.d/avahi-dnsc
onfd
lrwxrwxrwx 1 root root 18 Nov  2 17:24 S99webmin -> /etc/init.d/webmin
lrwxrwxrwx 1 root root 14 Nov 17 21:27 K73ldap -> ../init.d/ldap
lrwxrwxrwx 1 root root 16 Nov 25 22:15 K73ypbind -> ../init.d/ypbind
lrwxrwxrwx 1 root root 17 Nov 25 22:15 K35winbind -> ../init.d/winbind

 

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to disable Enable/Disable Tab Key

Hi All, I have bash script, so what is sintax script in bash for Enable and Disable Tab Key. Thanks for your help.:( Thanks, Rico (1 Reply)
Discussion started by: carnegiex
1 Replies

2. Red Hat

SSL/TLS renegotiation DoS -how to disable? Is it advisable to disable?

Hi all Expertise, I have following issue to solve, SSL / TLS Renegotiation DoS (low) 222.225.12.13 Ease of Exploitation Moderate Port 443/tcp Family Miscellaneous Following is the problem description:------------------ Description The remote service encrypts traffic using TLS / SSL and... (2 Replies)
Discussion started by: manalisharmabe
2 Replies

3. UNIX for Dummies Questions & Answers

Disable X windows in Enterprise?

I work for a small company and we are heavily invested in linux. I would like to find out if it is advantageous to disable/remove X11 or X windows so no GUI login is available. Any good compelling reasons? (2 Replies)
Discussion started by: capri_guy84
2 Replies
All times are GMT -4. The time now is 07:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy