Directorio de artículos
Se te olvidó tu contraseña
Utilice el comando vncpasswd para modificar.
También puede eliminar ~ / .vnc / passwd y reiniciar vnc.
No se pudo establecer la configuración regional
Al iniciar el servicio vnc, encontré el siguiente error en Ubuntu 16.04, pero no en Ubuntu 18.04.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
De hecho, esta advertencia no tiene ningún efecto . La solución es agregar el archivo ~ / .bashrc
export LANGUAGE=en_US.utf8
export LC_ALL=en_US.utf8
Luego haga efectivo el archivo ~ / .bashrc
source ~/.bashrc
Fuente no encontrada
Los archivos de registro y pid aparecerán en la carpeta ~ / .vnc. En el archivo de registro
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi/, removing from list!
Could not init font path element /usr/share/fonts/X11/100dpi/, removing from list!
De hecho, estos errores no tienen ningún efecto y no es necesario resolverlos.
Si tiene que resolverlo, la ruta / usr / X11R6 / lib / X11 / fonts no existe. La ruta de la fuente en el sistema se encuentra en / usr / share / fonts / X11, pero no hay Speedo, 75 ppp y 100 ppp , pero los dos últimos están bien instalados
sudo apt install xfonts-75dpi xfonts-100dpi
Si no hay misceláneo, puede instalarlo
sudo apt install xfonts-base
Luego cree manualmente la carpeta / usr / X11R6 / lib / X11 y configure el enlace suave
sudo mkdir -p /usr/X11R6/lib/X11
cd /usr/X11R6/lib/X11
sudo ln -s /usr/share/fonts/X11 fonts
Aunque este problema está resuelto, todavía hay muchos otros errores y advertencias en el archivo de registro en la carpeta ~ / .vnc, pero no afectan el uso del escritorio ...