Linux remote graphical common error handling

  

When dealing with Oracle problems in the actual production environment, sometimes you need a remote graphical interface, the more commonly used shell tools are SecureCRT, Putty, Xshell, etc. Xmanager, Xming, VNC, etc., there are many ways to match, here are the common mistakes in the use process and how to deal with them.

1.1 Installation and Configuration
The Linux system itself needs to have some graphical functions, provided that a desktop is required. It is recommended to configure the local yum source, and then install the graphics package: yum groupinstall "X Window System"yum groupinstall desktopyum install xorg-x11-apps Install Xming on the local windows side and open it. Set "SecureCRT" in the "Session Options" in the "Remote/X11" check in > Forward X11 & rdquo; Packet: Finally, you can use the xclock test.

1.2 Error 1
Report: SSH gateway: X11 authentication failed. Error: Can't open display: localhost:10.0 Processing: The solution is to log in directly to the oracle user when starting secureCRT, if using root through su - oracle switch over, there will be the above error

1.3 error 2
ROOT users log in to the remote desktop through the VNC client, switch to the Oracle user, when executing dbca error: No protocol specified this is because Xserver default In this case, the graphics of other users' graphics programs are not allowed to be displayed on the current screen. If other users' graphics are required to be displayed on the current screen, the following commands can be executed by the ROOT user: xhost + this command will allow other users to start. The graphics program displays the graphics on the current screen.

1.4 Error 3
The graphical interface of the output is garbled. Error: Warning: Missing charsets in String to FontSet conversion Solution: Set the local language variable to English: export LANG=C

Copyright © Windows knowledge All Rights Reserved