Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Disabling X server in Solaris 10

Posted on 2007-04-09
4
Medium Priority
?
8,644 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 200 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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 …
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses

670 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