[Gllug] services

Xander D Harkness xander at harkness.co.uk
Thu Nov 22 18:35:55 UTC 2001


Check for a setting xdmcp=0 this means that remote logins are disabled

A quick grep in /etc/X11 for xdmcp should flush it out.

If you run xdmcp you can get some lovely remote login sessions:

from init 3 in redhat (console mode) try startx -query
remote.ip.address  and it should bring up a remote login on from the
other box

you can also try  on a box with X already running:

startx -- -query remote.ip.address :2

(on redhat - I mention this because I have not tried it on another
distro) you will get your normal X session on console 7 and the new one
on 8. 

I find it an easy way to flick between boxes when bored ;-)

cheers
Xander

On Thu, 2001-11-22 at 19:29, will wrote:
> itsbruce at uklinux.net wrote:
> 
> > On 11/22/01, 5:29:59 PM, will <will at hellacool.co.uk> wrote regarding 
> > [Gllug] services:
> >
> >>I nmapped my workstation just for a lark (as you do) and noticed that
> >>three services listening.  Sendmail shouldn't have been running so I
> >>just turned it off, but the other two, X11 and sunrpc I am not too sure
> >>about.  If I can turn them off, how, and if I shouldn't, how do I stop
> >>them listening for external connections?
> >>
> > 
> > sunrpc is used by remote machines wanting to use (mostly) nfs services 
> > (shares, etc) on your machine.  If you do not intent do use nfs then you 
> > can shut down the portmapper (which is the daemon in question).  X11 - 
> > well, that's xdm (or gdm or kdm etc) listening for connections from 
> > remote X clients.  Unless you want to be able to login remotely for X 
> > sessions, you want to stop the daemon from listening for tcp connections. 
> >  Precisely how you do that depends on which you have (of xdm, gdm etc).
> 
> I have turned off portmap, that is sunrpc sorted.  I am not too sure 
> what you mean by xdm and gdm though.  There are directories for both in 
> the /etc/X11 directory and I have looked through the config files in 
> both directories but can't find anything relating to listening on ports 
> although I might have missed it.  Any ideas on finding this information 
> out and then once I have done that, stopping it from listening?
> 
> Many thanks
> Will.
> 
> 
> -- 
> Gllug mailing list  -  Gllug at linux.co.uk
> http://list.ftech.net/mailman/listinfo/gllug



-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list