Problem launching graphical user interface (GUI) applications
Any application that requires an X Window System cannot be launched.
- The user who is attempting to run the application is not authorized
to use the X Window session. This problem typically occurs in the following situations:
- A user logs in to the system as user root, switches to a non-root user, and then attempts to run a GUI application.
- The user who is attempting to run the application used the Linux™ ssh command to open a terminal on a remote machine but did not specify the -X option to enable X11 forwarding.
- Enter xclock from a command prompt. Messages
similar to the following example are displayed:
[streamsadmin@host1 ~]$ xclock Xlib: connection to ":0.0" refused by server Xlib: No protocol specified
- Enter firefox from a command prompt. Messages
similar to the following example are displayed:
[streamsadmin@host1 ~]$ firefox Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Error: cannot open display: :0.0
- If the user is not authorized to use the X Window session:
- Log out of the system.
- Log on to the system as a non-root user.
- Run the GUI application.
- If the user opened a terminal on a remote machine by using the Linux™ ssh command:
- Open a terminal by using the ssh -X command to enable X11 forwarding.
- Run the GUI application.