Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
06-23-2009, 07:35 AM
#1
Member
Registered: Jul 2007
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 8.04, Solaris 10
Posts: 198
Thanked: 0
How to Disable X Server Detection - X11
[
Log in to
get rid of this advertisement]
My Solaris have a (X Server Detection - X11) on port TCP 6000, how to disable this service?
06-23-2009, 09:14 AM
#2
Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 5,371
Thanked: 286
For Solaris 10 you can run:
Code:
svccfg -s svc:/application/x11/x11-server setprop options/tcp_listen = false
06-23-2009, 09:27 AM
#3
Member
Registered: Jul 2007
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 8.04, Solaris 10
Posts: 198
Thanked: 0
Original Poster
Quote:
Originally Posted by
bathory
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?
06-23-2009, 10:09 AM
#4
Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 5,371
Thanked: 286
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.
06-23-2009, 10:30 AM
#5
Member
Registered: Jul 2007
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 8.04, Solaris 10
Posts: 198
Thanked: 0
Original Poster
Quote:
Originally Posted by
bathory
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 10:31 AM ..
06-24-2009, 04:10 AM
#6
Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 5,371
Thanked: 286
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.
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 06:00 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more.
Click Here to receive a complimentary subscription courtesy of LQ.
Latest Threads
LQ News
LQ Podcast
LQ Radio