Visit Our UNIX and Linux User Community


Turning off the CDE


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Turning off the CDE
# 1  
Old 10-24-2003
Turning off the CDE

I am running Solaris 9 and wanted the CDE stopped when my users login. Can this be done by adding something to the .profile? Basically when they login they should be at the command line and have to start the CDE themselves.

Thanks
# 2  
Old 10-24-2003
solaris has the concept of runlevels right ?
look t osee if you have the file
/etc/inittab

look for a line that looks like id:5:initdefault:

the number 5 maybe be another number, but this is where you default runlevel is defined. you are booting into whatever runlevel is set upt to startx. look in yout inittab file, and it should have some comments telling you whats what on your system. it might tell you what runlevel is networking without x, that is the runlevel you want. so if it is runlevel 3, full multiuser with network, you will want to change the line i mentioned to this:

id:3:initdefault:

hope that helps!
# 3  
Old 10-24-2003
hiho,
looking into the /etc/rc2.d/S99dtlogin script you will find:

When placed in the /etc/rc2.d directory and named appropriately, such as
"S99dtlogin", this script will automatically start the dtlogin window after the solaris(TM) system boots to its multi-user level.

so
# mv /etc/rc2.d/S99dtlogin /etc/rc2.d/noS99dtlogin

greetings Pre▀y
# 4  
Old 10-25-2003
I will agree with the second reply, however, solaris 9 default level for X is level 3, if you edit the "/etc/inittab" file, change "is:3:initdefault:" to "is:2:initdefault:" and reboot the machine.
# 5  
Old 10-25-2003
pressy's solution might work i suppose (i have no experience with solaris), however i would not suggest changing your system like that. its not gonna hurt anything by doing that, but one of the purposes of the runlevel concept is to allow the machine differnet modes of operation. just as you have single user mode, your have non networking mode, and you have full multiuser with X, and you have full multiuser with out X. this is one of the things i like about system V style unices over the BSD's.

its easier just to change your default run level.
# 6  
Old 10-26-2003
Pressy's solution will work, however, when the system boots to level two init will attemp to execute the script and echo an error on the screen, this is a poor administration technique! No offence pressy, in my earlier post I meant to say I agree with the second post.
# 7  
Old 10-27-2003
I changed the inittab setting to run level 2 but the CDE still came on. There seems like there should be a simpler way to do this. I would actually prefer to have them logon through the CDE but then have the CDE shut down. Is there any command you can give while in the CDE environment that will simply kill the CDE without losing network support or changing the run level?

Previous Thread | Next Thread
Test Your Knowledge in Computers #659
Difficulty: Medium
It is not possible to run DOS on Linux.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Turning given date to epoch

i can probably script this in bash, but, i was wondering, does anyone know of a simple way to translate a given time to epoch? date -d@"29/Oct/2013:17:53:11" the user would specify the date: 29/Oct/2013:17:53:11 and the script will simply interpret that to epoch: 1348838383 (this is just... (4 Replies)
Discussion started by: SkySmart
4 Replies

2. SCO

Need help turning off bootpd

OSR 5.0.7 patched with MP 5 The syslog is flooded with messages: May 9 13:42:12 asiwc bootpd: IP address not found: 192.168.230.215 May 9 13:42:13 asiwc bootpd: IP address not found: 192.168.230.142 May 9 13:42:50 asiwc bootpd: IP address not found: 192.168.230.202 The system... (4 Replies)
Discussion started by: migurus
4 Replies

3. Solaris

Connect to SunOS CDE from another CDE

I have two CDE desktop accounts on different server (called this CDE#1, CDE#2) on the same network. However, my current setup is connecting to the Solaris CDE#1,CDE#2 via Citrix. My plan is to connect to CD#1 and then somehow connect to CDE#2. How do I do this? I am just a regular user... (0 Replies)
Discussion started by: tthach830
0 Replies

4. UNIX Desktop Questions & Answers

How to migrate Solaris 10 CDE config to HP-UX CDE.

Hello, Do you guys by any chance know what is the best (if any ) way to move CDE configuration from a SOLARIS 10 machine to HP-UX? Just the config (actions, text files etc). Thanks in advance! (0 Replies)
Discussion started by: binary0x01
0 Replies

5. AIX

turning CIO on and how to monitor

Hi Guys, I have a database server where we run AIX 5.3 on a power5 box and we just turned on CIO (concurrent I/O) for the database filesystems. Now my assumption is that enabling CIO the database basically will bypass the filesystem cache releasing some extra memory that can be allocated... (1 Reply)
Discussion started by: hariza
1 Replies

6. UNIX for Advanced & Expert Users

turning CIO on and how to monitor

Hi Guys, I have a database server where we run AIX 5.3 on a power5 box and we just turned on CIO (concurrent I/O) for the database filesystems. Now my assumption is that enabling CIO the database basically will bypass the filesystem cache releasing some extra memory that can be allocated... (1 Reply)
Discussion started by: hariza
1 Replies

7. Solaris

Turning in.ftpd on and off

For two straight days someone was running in.ftpd in my server (apparently looking to break in) and when I would do "top" almost every line would read "in.ftpd". I had a unix sysadmin friend of mine shut it down and then start it back up in a day and a half and all seems OK for now. Here's what I... (1 Reply)
Discussion started by: thomi39
1 Replies

8. AIX

turning auditing on AIX 4.3

Hi, What's the best way to turn on the auditing in AIX 4.3? I'm in an environment where root password are shared with many users. Can sudoers member be audited properly? Thanks (1 Reply)
Discussion started by: itik
1 Replies

9. UNIX for Dummies Questions & Answers

Turning Echo off

Hi, Is there any way like in dos to turn the echo off in a script? i have some lines popping up that i dont wish to be viewed when i am unziping a file it brings up the message updating: log.txt (deflated 72%) and extracting: log.txt i dont want these be viewed. Andy (4 Replies)
Discussion started by: chapmana
4 Replies

10. UNIX for Dummies Questions & Answers

turning off certain http requests

On a sparc solaris 8 host running sunone webserver 6 I would like to limit the http requests that can be used when port 80 is accessed. We currently have http/1.0 enabled. For example I would like to remove the http request DELETE. Regards, BLP (1 Reply)
Discussion started by: blp001
1 Replies

Featured Tech Videos