Xauth: (stdin):1: bad display name "LSPPC-Lenny:1" in "ad

  

The following error message appears after starting vnc4server: LSPPC-Lenny:~# vnc4serverxauth: (stdin):1: bad display name " ;LSPPC-Lenny:1" in "add" command

New ‘LSPPC-Lenny:1 (root)& rsquo; desktop is LSPPC-Lenny:1

Starting applications specified in /Root/.vnc/xstartupLog file is /root/.vnc/LSPPC-Lenny:1.log

can enter the X interface normally, but xauth: (stdin):1: bad display name "LSPPC-Lenny :1" in "add" command is always unpleasant, study how to remove.

Check the information and find that it has a relationship with the network configuration, select " in webmin"network configuration" Host address ", then add the host name is LSPPC-Lenny, the IP address is 127.0.0.1, make sure to save, get it.



Look at the etc directory, The following generates a hosts file, the contents of which are shown below:


In fact, just create a new host file under etc, the content is 127.0.0 .1 LSPPC-Lenny is fine.

Copyright © Windows knowledge All Rights Reserved