LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-24-2006, 05:42 PM   #16
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546

Quote:
Anyone know how to stop X from listening on port 6000 when using KDM? I put -nolisten tcp in my /usr/X11R6/bin/startx script but no joy.
True, adding that option in startx only prevents listening when starting X from the command line. To stop listening when starting KDE from KDM:

In KDE 3.3.x, edit /opt/kde/share/config/kdm/Xsession:

:0 local@tty1 /usr/X11R6/bin/X :0 vt7 -ac -nolisten tcp
:1 local@tty2 reserve /usr/X11R6/bin/X :1 vt8 -ac -nolisten tcp

In KDE 3.4.x (and 3.5.x ?), edit /opt/kde/share/config/kdm/kdmrc:

[X-:*-Core]
. . .
. . .
ServerArgsLocal=-nolisten tcp
ServerCmd=/usr/X11R6/bin/X
. . .
. . .
 
Old 03-24-2006, 08:50 PM   #17
skybell
LQ Newbie
 
Registered: Aug 2004
Posts: 19

Rep: Reputation: 0
I update my Slack and it came up a new /opt/kde/share/config/kdm/kdmrc file. In the new version there are also the 2 lines which you are talking about but there is a little correction:

ServerCmd=/usr/X11R6/bin/X -br
ServerArgsLocal=-nolisten tcp

I solve my problem, now the port 6000 for X11 is close

Thank you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Biggest Newb Of All Time! n00bie777 Linux - Newbie 7 11-15-2004 07:27 AM
One of my biggest challenge! gcclinux JDS 1 10-23-2004 10:15 AM
Will a RISK Processor Run on Linux, PA-RISK 8500 at 400MHz CPU IBNETMAN79 Linux - General 2 03-08-2002 07:09 PM
Will a RISK Processor Run Linux, PA-RISK 8500 CPU IBNETMAN79 Linux - Newbie 1 03-08-2002 06:49 PM
Will A RISK CPU Run Linux, HP PA-RISK 8500 CPU IBNETMAN79 General 0 03-08-2002 06:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration