To enable the Accessible Login feature for the Java Desktop System, you must configure the desktop to use the GNOME Display Manager (GDM) as the login manager. Before you enable GDM as the login manager, you must also make some configuration changes to GDM.
To configure GDM and to enable GDM as the login manager, perform the following steps:
Log in as the root user.
Edit the file /etc/X11/gdm/gdm.conf.
Search the file for the following line:
#Greeter=/usr/bin/gdmgreeter
and replace the line with the following line:
Greeter=/usr/bin/gdmlogin
This step enables a standard login greeting rather than a graphical login greeting.
Search the file for the following line:
#AddGtkModules=false
and replace the line with the following:
AddGtkModules=true
This step enables the GtkModules.
Search the file for the following line:
#GtkModulesList=gail:atk-bridge:dwellmouselistener:keymouselistener
and delete the # from the start of the line so that the line reads:
GtkModulesList=gail:atk-bridge:dwellmouselistener:keymouselistener
The above lines must be displayed as single lines in the gdm.conf file without line breaks. The formatting of this guide may display the lines over two lines.
This step loads all of the GtkModules to enable assistive technologies
such as GOK
and Gnopernicus
.
You can edit the line above further to load only the GtkModules that you require
to support the user base. For example:
If you need to use the Screen Reader and Magnifier, include gail and atk-bridge.
If you need to use a pointing device without buttons or switches, include dwellmouselistener.
If you use pointing devices with switches, alternative physical keyboards, or switch and button devices, include keymouselistener.
GOK
can operate without gail and atk-bridge but with a reduced feature
set.
For optimum accessibility, include gail and atk-bridge.
To enable users to change the theme of the GDM login dialog, include the following line in the file:
AllowGtkThemeChanges=true
To restrict user changes to the visual appearance to a subset of the available themes, you can add a line similar to the following:
GtkThemesToAllow=blueprint,HighContrast,HighContrastInverse
Save the /etc/X11/gdm/gdm.conf file.
Enter the following command to stop the dtlogin
manager:
/usr/dt/bin/dtconfig -d
Enter the following commands to configure GDM as the login manager:
svccfg import /var/svc/manifest/application/gdm2-login.xml
svcadm enable application/gdm2-login
If you make any changes to the /etc/X11/gdm/gdm.conf file after you enable GDM, you can execute the following command to restart GDM and activate the changes:
gdm-restart
Edit the file /etc/passwd to provide a home directory for the gdm user account.
Restart your system.