36
Solaris 7 11/99 Sun Hardware Platform Guide • November 1999
If you notice poor performance when rendering locally, the cause may be this Solaris
security feature. For example, if you start the window system, and another user at
the workstation changes to that user’s own environment using
su
, the application
will not run via DGA even though the second user is running the application locally.
If you notice slow local rendering, run the
ogl_install_check
diagnostic
program (found in
/usr/openwin/demo/GL
) to determine whether the application
is running via DGA. If the OpenGL GLX server status report from the
ogl_install_check
program says that the GLX context is indirect, edit the login
permissions to enable DGA access for all users.
To give all local users access to DGA, follow these steps:
▼
To Give All Local Users Access to DGA
1. Become superuser:
2. Edit permissions to allow world read/write access to the following devices:
This will enable DGA access for all users for the duration of the current window
system session (subject to X authorization, see
xhost
(1)).
3. Edit the
/etc/logindevperm
file and change the default permissions of all
devices listed in the file to
0666
to allow world read/write access.
For example, in the following lines in
logindevperm
, change 0600 to 0666 so that
the next time you log in and restart your window system, it will still be accessible by
all users.
Note that your system is no longer secure.
% su
Password:
superuser password
% chmod 666 /dev/mouse /dev/kbd /dev/sound/* /dev/fbs/*
/dev/console 0600 /dev/mouse:/dev/kbd
/dev/console 0600 /dev/sound/* # audio devices
/dev/console 0600 /dev/fbs/* #frame buffers
Содержание Solaris 7 11/99
Страница 12: ...xii Solaris 7 11 99 Sun Hardware Platform Guide November 1999...
Страница 24: ...12 Solaris 7 11 99 Sun Hardware Platform Guide November 1999...
Страница 34: ...22 Solaris 7 11 99 Sun Hardware Platform Guide November 1999...
Страница 70: ...58 Solaris 7 11 99 Sun Hardware Platform Guide November 1999...
Страница 128: ...116 Solaris 7 11 99 Sun Hardware Platform Guide November 1999...
Страница 150: ...138 Solaris 7 11 99 Sun Hardware Platform Guide November 1999...
Страница 172: ...160 Solaris 7 11 99 Sun Hardware Platform Guide November 1999...
Страница 212: ...200 Solaris 7 11 99 Sun Hardware Platform Guide November 1999...
Страница 220: ...208 Solaris 7 11 99 Sun Hardware Platform Guide November 1999...
Страница 224: ...212 Solaris 7 11 99 Sun Hardware Platform Guide November 1999...