Solved

Disabling X server in Solaris 10

Posted on 2007-04-09
4
8,448 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

685 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