Sei sulla pagina 1di 4

1.

For setting the resolution


fffbconfig
ffbconfig -defaults
ffbconfig -prconf
/usr/sbin/ffbconfig -res 1280x1024x76
/usr/sbin/ffbconfig -res svga
fbconfig
fbconfig
fbconfig
fbconfig
fbconfig
fbconfig
fbconfig
fbconfig

-list
-dev
-dev
-dev
-dev
-dev
-dev

pfb0 -defaults
pfb0 -res \?
pfb0 -res 1280x1024x76
pfb0a -depth 24
pfb0 -propt
pfb0 -prconf

kdmconfig
2. /usr/dt/bin/dtconfig -e

: The login server will then start automatically when you

reboot.
/usr/dt/bin/dtconfig -d
/usr/dt/bin/dtconfig -kill

: To disable login server startup when the system is booted


: To stop the login server by killing the process ID

/etc/init.d/dtlogin
/usr/dt/bin/dtlogin -daemon; exit

: To start the login server from a command

line
/var/dt/Xpid : the login server stores its process
Dtlogin.pidFile resource in the Xconfig file )

ID by default ( for changing

To modify Xconfig, copy Xconfig from /usr/dt/config to /etc/dt/config. After


modifying /etc/dt/config/Xconfig,
tell the login server to reread Xconfig by typing: /usr/dt/bin/dtconfig

-reset

3. Displaying a Login Screen on a Local Display.


Upon startup, the login server checks the Xservers file to determine if an X
server needs to be started and to determine if and how login screens should be displayed
on local or network displays.
To modify Xservers, copy Xservers from /usr/dt/config to
/etc/dt/config. After modifying /etc/dt/config/Xservers, tell the login server to
reread Xservers by typing:
/usr/dt/bin/dtconfig -reset

cat Xservers :
/usr/X11/bin/Xserver :0

:0 Local local_uid@console root


-nobanner
#( :0 display_name display_class display_type

X_server_command )
Display Type: local@none Disable command line login on display / to getting

display on console through terminal


local@console

Default

local@foreign
4.

Disable command line login

Running the Login Server without a Local Display : Hash the line Xservers.

Controlling Access to the Login Server : By default, any host on your network
that has access to your login server host can request a login screen be displayed. You can
limit access to the login server
modfying the
Xaccess file
5.
Checking for Errors : /var/dt/Xerrors ( Dtlogin.errorLogFile resource in
the Xconfig )
6.

Resources specified in the Xconfig file include:


Dtlogin*authorizeXaccess
Dtlogin*environmentX

file specification

server environment

Dtlogin*languagedefault language
Dtlogin*languageListlanguage list for
Dtlogin*resourcesXresources
Dtlogin*setupXsetup

login screen Language menu

specification

file specification

Dtlogin*startupXstartup

file specification

Dtlogin*sessionXsession

file specification

Dtlogin*failsafeClientXfailsafe
Dtlogin*resetXreset

script specification

script specification

Dtlogin*userPathPATH

for Xsession and Xfailsafe

Dtlogin*systemPathPATH

for Xsetup, Xstartup, and Xfailsafe

Dtlogin*systemShellSHELL for Xsetup, Xstartup,


Dtlogin.timeZoneTZ

and Xfailsafe

for all scripts

7. Starting a Desktop Session By default, the login server starts the user session by
running the Xsession script. Xsession runs with the user's authority and issues
commands needed to start the desktop.
After the User's Session Ends: After the user exits the desktop or failsafe session, the

login server runs the Xreset script


8. Login Manager Files : The default locations of the Login Manager files are:
/usr/dt/bin/dtloginthe

login server and display manager

/usr/dt/bin/dtgreetdisplays

a login screen for a display

/usr/dt/bin/dtchooserdisplays
/usr/dt/bin/Xsessionstarts

a chooser screen for a display

a desktop session

/usr/dt/config/Xfailsafestarts
/usr/dt/config/Xconfiglogin

server configuration file

/usr/dt/config/Xserverslogin
/usr/dt/config/Xaccesslogin

a failsafe session

server display description file

server access description file

/usr/dt/config/language/Xresourcesdisplay layout resources


/usr/dt/config/Xsetupdisplay setup

file

/usr/dt/config/Xstartuppre-session

startup file

/usr/dt/config/Xresetpost-session
/var/dt/Xpidprocess

reset file

ID of the login server

/var/dt/Xerrorserror

log file of the login server

Troubleshooting Login and Session Startup Problems


/var/dt/Xerrors

Solaris CDE login window system errors

prior to user login


HomeDirectory/.dt/startlog
.dtprofile, .login, or .profile

Solaris CDE startup errors during Xsession,

HomeDirectory/.dt/errorlog

Solaris CDE errors after Xsession startup

HomeDirectory/.dt/sessionlogs
Manager and Window Manager errors

Directory of session logs for Session

Solaris 10
svcs -a
online

Jun_02 svc:/system/console-login:default

online

Jun_02 svc:/application/gdm2-login:default

online

Jun_02 svc:/application/graphical-login/cde-login:default

online

Jun_02 svc:/application/x11/xfs:default

online

Jun_02 svc:/milestone/name-services:default

online

Jun_02 svc:/milestone/network:default

online

Jun_02 svc:/milestone/devices:default

online

Jun_02 svc:/milestone/single-user:default

online

Jun_02 svc:/milestone/sysconfig:default

online

Jun_02 svc:/milestone/multi-user:default

online

3.

Jun_02 svc:/milestone/multi-user-server:default

Potrebbero piacerti anche