LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
LinkBack Search this Thread
Old 06-23-2009, 06:35 AM   #1
Paris Heng
Member
 
Registered: Jul 2007
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 8.04, Solaris 10
Posts: 198

Rep: Reputation: 30
How to Disable X Server Detection - X11


My Solaris have a (X Server Detection - X11) on port TCP 6000, how to disable this service?
 
Old 06-23-2009, 08:14 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 9,596

Rep: Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999
For Solaris 10 you can run:
Code:
svccfg -s svc:/application/x11/x11-server setprop options/tcp_listen = false
 
Old 06-23-2009, 08:27 AM   #3
Paris Heng
Member
 
Registered: Jul 2007
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 8.04, Solaris 10
Posts: 198

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by bathory View Post
For Solaris 10 you can run:
Code:
svccfg -s svc:/application/x11/x11-server setprop options/tcp_listen = false
But when I run the svcs, there are no svc:/application/x11/x11-server display. If no such service, how to disable it?
 
Old 06-23-2009, 09:09 AM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 9,596

Rep: Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999
Then you have to go the traditional way.
Edit usr/dt/config/Xservers and add "-nolisten tcp" in the last line
Code:
:0   Local local_uid@console root /usr/X11/bin/Xserver :0 -nobanner -nolisten tcp
Also edit /usr/dt/config/Xaccess and comment out (add a !) the following 2 lines:
Code:
!*                       # grant service to all remote displays
!*               CHOOSER BROADCAST       #any indirect host can get a chooser
Note that it's better to copy the above 2 files in /etc/dt/config (you have to create the directories), as stated in the beginning of both.
 
Old 06-23-2009, 09:30 AM   #5
Paris Heng
Member
 
Registered: Jul 2007
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 8.04, Solaris 10
Posts: 198

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by bathory View Post
Then you have to go the traditional way.
Edit usr/dt/config/Xservers and add "-nolisten tcp" in the last line
Code:
:0   Local local_uid@console root /usr/X11/bin/Xserver :0 -nobanner -nolisten tcp
Also edit /usr/dt/config/Xaccess and comment out (add a !) the following 2 lines:
Code:
!*                       # grant service to all remote displays
!*               CHOOSER BROADCAST       #any indirect host can get a chooser
Note that it's better to copy the above 2 files in /etc/dt/config (you have to create the directories), as stated in the beginning of both.
After I disable this, will it affect the local console CDE login? For example will it causing >>
Code:
X-server can not be started on display:0
?

Last edited by Paris Heng; 06-23-2009 at 09:31 AM.
 
Old 06-24-2009, 03:10 AM   #6
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 9,596

Rep: Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999
I don't think so.
Quote:
X-server can not be started on display:0
is a xserver error and could be due because of wrong X configuration, wrong drivers, etc.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Idle Detection for X11 hirochiamaru Linux - Software 2 04-14-2008 12:07 AM
Disable passive NAT detection Roger Krowiak Linux - Security 1 05-30-2005 07:05 AM
how to disable sata detection ? Karlsonas Linux - Hardware 2 10-05-2004 03:25 PM
Disable floppy detection on boot? magicvash Mandriva 0 11-18-2003 12:34 AM
Need to Disable APM Bios detection leeach Linux - Newbie 0 09-30-2003 10:54 AM


All times are GMT -5. The time now is 07:14 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration