Java Desktop System Release 3 Accessibility Guide

A.1.1 To Enable Accessible Login

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:

  1. Log in as the root user.

  2. Edit the file /etc/X11/gdm/gdm.conf.

  3. 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.

  4. Search the file for the following line:

    #AddGtkModules=false

    and replace the line with the following:

    AddGtkModules=true

    This step enables the GtkModules.

  5. 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


    Note –

    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.

  6. 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

  7. Save the /etc/X11/gdm/gdm.conf file.

  8. Enter the following command to stop the dtlogin manager:

    /usr/dt/bin/dtconfig -d

  9. 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


    Note –

    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


  10. Edit the file /etc/passwd to provide a home directory for the gdm user account.

  11. Restart your system.