This is a discussion on Local X11 only mode in Redhat within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hi, Any one remember how to enable X11 in local mode only without listen on port 6000 on redhat ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Hello daniel huang (<danielhuang@hotmail.com>) wrote: > Any one remember how to enable X11 in local mode only without listen > on port 6000 on redhat ? > > I remember it's someting like > > # X -nolisten tcp > > But can't remember the detail. > > Any one remember it ? It depends on how you start your system. The following file is used by startx on my box (Debian): andreas@sirius:~$ cat /etc/X11/xinit/xserverrc #!/bin/sh exec /usr/bin/X11/X -nolisten tcp This file is used by kdm on my box: andreas@sirius:~$ cat /etc/kde3/kdm/Xservers :0 local@tty1 /usr/X11R6/bin/X -nolisten tcp vt7 :1 local@tty2 reserve /usr/X11R6/bin/X -nolisten tcp :1 vt8 :2 local@tty3 reserve /usr/X11R6/bin/X -nolisten tcp :2 vt9 :3 local@tty4 reserve /usr/X11R6/bin/X -nolisten tcp :3 vt10 :4 local@tty5 reserve /usr/X11R6/bin/X -nolisten tcp :4 vt11 best regards Andreas Janssen -- Andreas Janssen <andreas.janssen@bigfoot.com> PGP-Key-ID: 0xDC801674 ICQ #17079270 Registered Linux User #267976 http://www.andreas-janssen.de/debian-tipps-sarge.html |
| ||||
| On Thu, 4 Nov 2004 23:05:43 -0500 "daniel huang" <danielhuang@hotmail.com> wrote: > Hi, > > Any one remember how to enable X11 in local mode only without listen > on port 6000 on redhat ? > > I remember it's someting like > > # X -nolisten tcp > > But can't remember the detail. > > Any one remember it ? > > Many thanks. Hi, If you are using startx to launch the X server you need a command like: startx -- -nolisten tcp HTH -- Konstantinos Peletidis Electronic & Computer Engineer |