Disable X

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Disable X
# 1  
Old 03-17-2002
Disable X

Im sure this is somthing easy to do but i just can not figure it out where and how would i take X out of the boot for hp ux 11 i looked in the man's and nothing so maybe sombody could throw me a bone... thanks
# 2  
Old 03-18-2002

$ dtconfig -d

( Disables X based login interface, it imerges too text based login)
option -e enables back the login interface to Graphical mode. Give a try. Post back if that doesnt help.
# 3  
Old 03-18-2002
$dtconfig -d

Message 1 " CDE configuration utility"
echo " "
Message 2 " $prg_name -d (disable auto-start)" $prg_name
Message 3 " $prg_name -e (enable auto-start)" $prg_name
Message 4 " $prg_name -kill (kill dtlogin)" $prg_name
Message 5 " $prg_name -reset (reset dtlogin)" $prg_name
Message 6 " $prg_name -p (printer action update)" $prg_name
echo " "

I took a look at the dtconfig file before executing the command that you gave me and it tells me to do the same thing that you posed but when i do so it says

# $dtconfig -d
sh: dtconfig: Parameter not set.
# 4  
Old 03-18-2002
I don't useany x but i think you need to specify what to disable i'm assuming it's cde or whatever the executable so try and specify the command you don't want autostarted :

dtconfig -d "xwindows_program_name"
# 5  
Old 03-19-2002
Re: $dtconfig -d

It looks like you tried to execute "$dtconfig -d ". What killerserv meant was to execute the dtconfig -d command. The "$" in his example was the shell prompt.

I would think you do have to be root to do this, but yeah, just try "dtconfig -d".
# 6  
Old 03-19-2002
An "init 3" wouldn't be enough?

Couldn't he modify the /etc/inittab file, so that the default state would be init 3?

You should see in your inittab file a line like:


Modify the 5 to be 3:


I think this should work for you...

# 7  
Old 03-19-2002
dtconfig -d

I have run dtconfig both ways that you are talking about and the result is the same..... but when i get home this evening i will check the other file....
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Disable rm -rf * or rm -rf / in Cent OS

Can some one suggest me the way to disable " rm -rf * " or " rm -rf / " command execution permanently from the server. Any suggestion will be very much helpful . (18 Replies)
Discussion started by: shiek.kaleem
18 Replies

2. Red Hat

SSL/TLS renegotiation DoS -how to disable? Is it advisable to disable?

Hi all Expertise, I have following issue to solve, SSL / TLS Renegotiation DoS (low) Ease of Exploitation Moderate Port 443/tcp Family Miscellaneous Following is the problem description:------------------ Description The remote service encrypts traffic using TLS / SSL and... (2 Replies)
Discussion started by: manalisharmabe
2 Replies

3. UNIX for Dummies Questions & Answers

How to disable X windows?

I have modified /etc/inittab file for changing default runlevel from 5 to 3 . Now i can boot in terminal mode .However if i issue init 5 i get a X window. How would i disable loading X? do i need to disable some services? P.S. What is Xvfb? How would i disable it? My Distribution Details. #... (11 Replies)
Discussion started by: pinga123
11 Replies

4. HP-UX

Disable Setuid in HP-UX

Hi All, How to prevent root user from doing setuid(). In otherwords, if the root(any user) is trying to do setuid in a program it should fail. (5 Replies)
Discussion started by: guru13
5 Replies

5. Solaris

Printer always disable itself

Hi, I am using solaris 10, 1 of the printers encounter some issue and it is always disable itself and dont know why? any idea how to make it auto enable back to normal? is there any configuration or scripts?? kindly advise me. thanks. (2 Replies)
Discussion started by: freshmeat
2 Replies

6. Shell Programming and Scripting

How to disable Enable/Disable Tab Key

Hi All, I have bash script, so what is sintax script in bash for Enable and Disable Tab Key. Thanks for your help.:( Thanks, Rico (1 Reply)
Discussion started by: carnegiex
1 Replies

7. AIX

disable port

Is there a command to disable/enable a port? I want to disable a port from a script and don't want to edit the /etc/inetd /etc/services file. (2 Replies)
Discussion started by: daveisme
2 Replies

8. Solaris

How to disable SU right

Anyone know how to disable SU right for a particular user in Solaris 8 (4 Replies)
Discussion started by: civic2005
4 Replies

9. Solaris

Disable X window

I access my Sun box via ssh, and i dont need to x Window system at all, and everytime if i couldnt type user name and password fast enough its try to load the Java desktop, how can i disable X-Window login and make it stop at console login prompt ? thanks. (4 Replies)
Discussion started by: XP_2600
4 Replies

10. UNIX for Dummies Questions & Answers

disable su

i have this unix version "unix v/386" and i want to disable su kindly help me (2 Replies)
Discussion started by: sak900354
2 Replies
Login or Register to Ask a Question