Solved

Disabling X server in Solaris 10

Posted on 2007-04-09
4
8,361 Views
Last Modified: 2013-12-27
How do I  disable Xserver in Solaris 10?

Will this kill all x related services?
0
Comment
Question by:dissolved
  • 3
4 Comments
 
LVL 7

Expert Comment

by:nixfreak
ID: 18878685
Not sure about your question but to disable dtlogin run:
/usr/dt/bin/dtconfig -d
0
 

Author Comment

by:dissolved
ID: 18878942
I want to kill X11 port 6000 from listening. Is there a way?
0
 
LVL 7

Expert Comment

by:nixfreak
ID: 18880102
Change this line in /usr/dt/config/Xservers:
  :0   Local local_uid@console root /usr/X11/bin/Xserver :0 -nobanner

To:
  :0   Local local_uid@console root /usr/X11/bin/Xserver :0 -nobanner -nolisten tcp
0
 
LVL 7

Accepted Solution

by:
nixfreak earned 50 total points
ID: 18880193
Or better still run this command:

# svccfg -s svc:/application/x11/x11-server setprop options/tcp_listen = false
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now