Solved

Disabling X server in Solaris 10

Posted on 2007-04-09
4
8,568 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

615 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