Unix Technical Forum

Local X11 only mode in Redhat

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 05:32 AM
daniel huang
 
Posts: n/a
Default Local X11 only mode in Redhat

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.



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 05:32 AM
Andreas Janssen
 
Posts: n/a
Default Re: Local X11 only mode in Redhat

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-18-2008, 05:33 AM
Konstantinos Peletidis
 
Posts: n/a
Default Re: Local X11 only mode in Redhat

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:54 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com