Networking Forums

Networking Forums > Computer Networking > Linux Networking > disable X11 srevice??

Reply
Thread Tools Display Modes

disable X11 srevice??

 
 
Tony
Guest
Posts: n/a

 
      01-25-2004, 01:23 AM
Hi linux guys,

I am using redhat7.3. From /etc/xinetd.d folder, I can find other service
files like ftp, but i can not find X11 file. I want to disable X11 service,
how can I do it?

from the internet, I got some info. it seems one can use chkconfig to disable
the services he does not want to opne, but using chkconfig --list , i can
not find X11 ?

any help will be appreciated greatly!

Thank you so much in advance!!

Tony

 
Reply With Quote
 
 
 
 
Michael Heiming
Guest
Posts: n/a

 
      01-25-2004, 07:26 AM
Tony <(E-Mail Removed)> wrote:
> Hi linux guys,


> I am using redhat7.3. From /etc/xinetd.d folder, I can find other service
> files like ftp, but i can not find X11 file. I want to disable X11 service,
> how can I do it?


> from the internet, I got some info. it seems one can use chkconfig to disable
> the services he does not want to opne, but using chkconfig --list , i can
> not find X11 ?


Yep, take a look at /etc/inittab, and change:

id:5:initdefault:
^

To "3" to disable X11/xdm startup on reboot.

Wonder how many times this question has been answered, you can
search the archives (groups.google.com) to find an answer to some
really common question.

--
Michael Heiming

Remove +SIGNS and www. if you expect an answer, sorry for
inconvenience, but I get tons of SPAM
 
Reply With Quote
 
Rod Smith
Guest
Posts: n/a

 
      01-25-2004, 02:46 PM
Michael Heiming wrote:

> Tony <(E-Mail Removed)> wrote:
>> Hi linux guys,

>
>> I am using redhat7.3. From /etc/xinetd.d folder, I can find other
>> service files like ftp, but i can not find X11 file. I want to disable
>> X11 service, how can I do it?

>
>> from the internet, I got some info. it seems one can use chkconfig to
>> disable the services he does not want to opne, but using chkconfig
>> --list , i can not find X11 ?

>
> Yep, take a look at /etc/inittab, and change:
>
> id:5:initdefault:
> ^
>
> To "3" to disable X11/xdm startup on reboot.
>
> Wonder how many times this question has been answered, you can
> search the archives (groups.google.com) to find an answer to some
> really common question.


To do it temporarily, or to shut down X after changing /etc/inittab
without rebooting, type "telinit 3" at a root command prompt.

Both of these answers assume that runlevel 3 is a non-X runlevel and
runlevel 5 is the default and an X runlevel. This is true for the OP's
Red Hat (assuming the OP hasn't changed this behavior), but it's not true
for all distributions. Old versions of SuSE used other values, but I
don't recall what they were offhand. The last I checked, Slackware used 3
and 4 rather than 3 and 5. Debian doesn't use runlevels to control X
startup; it uses SysV startup scripts.

--
Rod Smith, (E-Mail Removed)
http://www.rodsbooks.com
Author of books on Linux, FreeBSD, and networking
 
Reply With Quote
 
Tony
Guest
Posts: n/a

 
      01-28-2004, 09:33 PM
Hi,

I appreciated your reply, but please make sure you understand my question
first.

I use X11 on my linux box, I just want to disable the X11 service. Running
X11 and X11 service is different thing. X11 service is for remote machines.

Thanks

Tony
 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      01-28-2004, 09:50 PM
Tony <(E-Mail Removed)> wrote:
> Hi,


> I appreciated your reply, but please make sure you understand my question
> first.


> I use X11 on my linux box, I just want to disable the X11 service. Running
> X11 and X11 service is different thing. X11 service is for remote machines.


Nope, it isn't, it is one and the same if running over lo or some
NIC doesn't matter, you don't understand how X works. What you
want is disabling that the box listens to (XDMCP) broadcast
requests. Edit /etc/X11/xdm/Xaccess (RH 7.x).


--
Michael Heiming - RHCE

Remove +SIGNS and www. if you expect an answer, sorry for
inconvenience, but I get tons of SPAM
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to disable XP firewall? Newell White Windows Networking 1 10-26-2006 10:33 AM
Disable Router B.W. Wireless Networks 7 10-24-2006 07:25 PM
cannot disable LAN Gillian Lyons Wireless Networks 3 05-04-2006 07:14 PM
disable to log into network Jorge Cabrera Windows Networking 0 06-14-2004 07:02 PM
Disable B on a G AP? Crazy Cowboy Wireless Internet 0 09-27-2003 09:46 AM



1 2 3 4 5 6 7 8 9 10 11