erro ao abrir o arquivo de política de segurança / etc / X11 / xserver / SecurityPolicy

0

Estou tentando conectar-me ao VNCserver hospedado em um Ubuntu. Eu estou usando um Mac. terminal para conectar via o comando open vnc://username@IP . Os arquivos de log geram um erro no arquivo de política de segurança. Eu não vejo nenhum arquivo desse tipo. Eu tentei soluções na Internet, mas não funcionou.

Xvnc Free Edition 4.1.1 - built Feb 25 2015 23:02:21
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 40300000, The XFree86 Project, Inc


Sat May 27 13:50:32 2017
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on port 5901
 vncext:      created VNC server for screen 0
error opening security policy file /etc/X11/xserver/SecurityPolicy
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!
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

** (gnome-session-binary:1804): WARNING **: Unknown option -session=gnome-classic
Failed to parse arguments: Unknown option --login
Window manager warning: Log level 32: could not find XKB extension.
Window manager warning: Missing composite extension required for compositing

Sat May 27 13:51:25 2017
 Connections: accepted: 0.0.0.0::56680

Sat May 27 13:51:26 2017
 SConnection: Client needs protocol version 3.3

Sat May 27 13:51:29 2017
 Connections: closed: 0.0.0.0::56680 (Clean disconnection)
 Connections: accepted: 0.0.0.0::56681

Sat May 27 13:51:30 2017
 SConnection: Client needs protocol version 3.3
 SConnection: AuthFailureException: Authentication failure
 Connections: closed: 0.0.0.0::56681 (Authentication failure)

Sat May 27 13:51:36 2017
 Connections: accepted: 0.0.0.0::56682
 SConnection: Client needs protocol version 3.3
 SConnection: AuthFailureException: Authentication failure
 Connections: closed: 0.0.0.0::56682 (Authentication failure)

Sat May 27 13:51:39 2017
 Connections: accepted: 0.0.0.0::56683

Sat May 27 13:51:40 2017
 SConnection: Client needs protocol version 3.3
 SConnection: AuthFailureException: Authentication failure
 Connections: closed: 0.0.0.0::56683 (Authentication failure)

Meu conteúdo do arquivo ~/.vnc/xstartup é o seguinte. Nota - Eu tentei sem a linha gnome-classic também.

#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

gnome-session -session=gnome-classic &
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &

Comando usado para iniciar meu servidor VNC: vncserver

xauth: (stdin):1:  bad display name "dexter:1" in "add" command

New 'dexter:1 (dexter)' desktop is dexter:1

Starting applications specified in /home/dexter/.vnc/xstartup
Log file is /home/dexter/.vnc/dexter:1.log

Detalhes do Ubuntu via lsb_release -a command

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.2 LTS
Release:    16.04
Codename:   xenial

Sessões suportadas por meio do comando ls /usr/share/xsessions

gnome.desktop                   gnome-flashback-metacity.desktop
gnome-flashback-compiz.desktop  ubuntu.desktop

Eu acesso minha máquina remota com ssh username@IP . Eu também tentei usar as opções -X e -Y .

    
por Dexter 27.05.2017 / 15:58

0 respostas