Note: This article is a guidebook for common faults and handling of AIX/Linux VNCserver
Tags: AIX, Linux, vncserver, graphical tools, tiger-vnc
Note: The unnecessary parts are deleted in the article, so that beginners can learn it at a glance It will be
related tools: VNC is a commonly used graphical tools under Unix / Linux, due to the remote output image
tips: If you found this article written where there is a problem or have a better wording please leave a message or my private letter to be modified to optimize
★Scenario: A (character set problem)
※ Abnormal prompt: "warning" is
reported when the window is opened zzt_2009:/home/grid$vncserver
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset ),
LC__FASTMSG = "true",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
New'X' desktop is zzt_2009:1
Starting applications specified in /home/grid/.vnc/xstartup
Log file is /home/grid/.vnc/zzt_2009:1.log
※ The reason for the exception: the character set is set improperly, and the character set will return to normal after resetting the character set
zzt_2009:/home/ grid$vncserver
New'X' desktop is zzt_2009:1
Starting applications specified in /home/grid/.vnc/xstartup
Log file is /home/grid/.vnc/zzt_2009:1.log
※ Solution:
export LANG=C
★Scenario: B (host name problem)
※ Abnormal prompt: "1356-352" is
reported when the window is opened zzt_2009:/home/grid$vncserver
xauth: (argv):6: 1356-352 bad display name "P780_001:6" in " add" command
New'X' desktop is P780_001:6
Starting applications specified in /home/grid/.vnc/xstartup
Log file is /home/grid/.vnc/P780_001:6.log
※ Reason for exception: Improper host name setting, After the host name is set correctly, it returns to normal (common in AIX systems)
zzt_2009:/home/grid$vncserver
New'X' desktop is zzt_2009:1
Starting applications specified in /home/grid/.vnc/xstartup
Log file is /home/grid /.vnc/zzt_2009:1.log
※ Solution: just
follow the author's article "AIX Modify Host Name" or official documents
※ If you think the article is well written, don’t forget to give the author a thumbs up at the end of the article~
over