Using the CDE GUI
Last revised: May 1, 2002
Working with CDE
CDE - Common Desktop Environment - is Solaris' default GUI interface. The OpenWindows GUI is also installed with the OS. The GUI login screen appears by default when you boot the system.
If you don't want to use the GUI you can click on the Options button on the login window and select Command Line Login to get a character-based login prompt. You can also click on the Options button and select Sessions if you want to try the OpenWindows GUI.
The tool bar at the bottom of the CDE screen is referred to as the "Front Panel" and each of the icons on the bar has a pop-up menu that appears above. The icons that appear on the bar are the default selections of their corresponding pop-up menus and can be customized.
CDE Front Panel
If you find yourself frequently popping a menu up to select a menu item that is not the default, make this selection the default so it appears on the bar. Simply right-click on the menu selection and select Promote to Front Panel. I find it helpful to do this for the "Text Editor" Applications menu selection (where "Text Note" is the default following the installation).
The four horizontal bars in the middle of the Front Panel correspond to the four separate desktop sessions you can run simultaneously. It also has icons for locking the console and exiting out of CDE (logging out).
While in CDE you may want to play around with admintool. It's a GUI utility that allows you to manage user accounts, groups, printers, etc. Pop up the menu above the CPU/Disk "Performance Meter" icon and select "This Host" to open a terminal window. Type in
at the # prompt to start the utility. The various options are under the Browse menu and Add/Modify/Delete functions are under the Edit menu.
You can access other applications by right-clicking on the desktop and clicking on "Applications".
If Help Viewer and File Manager keep popping up every time you log in and it gets annoying having to close them every time, here's a procedure to get a clean desktop when you log in:
If you're like me and you find yourself constantly opening a "This Host" terminal window for command-line operations, you may want to have one of those open before performing the above procedure. That way it'll open automatically when you log in.
You can change your video card, monitor, or screen resolution settings for CDE at any time by:
Solaris sets up all new accounts using the Bourne shell as the default. You may find, however, Bash (Bourne Again Shell) or Korn shell more comfortable. You can set the default shell on a per-user basis.
In a terminal window, just type in admintool to bring up the GUI administration utility. Click on "Browse" on the menu bar and select "Users". You can then use the "Edit" menu to add or modify user settings. You should NOT change the default shell of the superuser (root). Use admintool to create an account for yourself with the shell you want and log in using that.
You don't want to just shut off a UNIX system. Open a "This Host", terminal window and type in
at the # prompt and press Enter to initiate a shut down sequence. The # is important here because this is the prompt you get when you are logged in as root, and only root (or a superuser-equivalent user) can shut down a Solaris system. If you don't have a # prompt it's because you're not logged into the system as root. After the shutdown process it's safe to turn off the system when you see the following three lines at the bottom of the screen:
The system is down syncing files systems... done Type any key to continue
Don't be concerned if there's a few utmpx error messages mixed in with the above. It's because /var is on its' own slice and it's not indicative of a problem. If you "type any key" the system will reboot. While init 0 is used for shutting down the system, typing in init 6 will reboot the system.
Note that only a super-user can use the above commands to shut down or restart the system. If you're logged in as a non-root user and you want to use these commands, simply use the su command to switch to the root account. Ex:
and enter the root password when prompted.
Copyright © 2002 by Keith Parkansky. All rights reserved.
Thanks to Keith Parkansky for his contribution and maintenance of the article.