Tela preta ao acessar o host remoto do Ubuntu via VNC e vino-server

2

Eu tenho um servidor sem cabeçalho e estou tentando configurar uma conexão VNC para acessá-lo com uma GUI. Agora só tenho acesso root via ssh.

Eu segui a maioria das instruções dadas aqui Ativar o VNC remoto a partir da linha de comando? . Depois de muitos problemas, cheguei a um ponto em que o vino-server é capaz de rodar, mas quando me conecto com um cliente VNC, chego a uma tela preta.

Até agora eu instalei o vino e o ubuntu-desktop. Depois disso eu fiz os seguintes comandos:

gconftool-2 --set --type=bool /desktop/gnome/remote_access/enabled true
gsettings set org.gnome.Vino erequire-encryption false
gsettings set org.gnome.Vino lock-screen-on-disconnect false

Com vino-preferences , cliquei para permitir a visualização e o controle da área de trabalho. Também desmarcou a confirmação de conexões de entrada.

Eu executo o vino com /usr/lib/vino/vino-server e esta é a saída:

(vino-server:8140): EggSMClient-CRITICAL **: egg_sm_client_set_mode: assertion 'global_client == NULL || global_client_mode == EGG_SM_CLIENT_MODE_DISABLED' failed

** (vino-server:8140): WARNING **: Your XServer does not support the XTest extension - remote desktop access will be view-only

25/06/2014 02:09:24 PM Autoprobing TCP port in (all) network interface
25/06/2014 02:09:24 PM Listening IPv6://[::]:5900
25/06/2014 02:09:24 PM Listening IPv4://0.0.0.0:5900
25/06/2014 02:09:24 PM Autoprobing selected port 5900
25/06/2014 02:09:24 PM Advertising security type: 'TLS' (18)
25/06/2014 02:09:24 PM Re-binding socket to listen for VNC connections on TCP port 5900 in (all) interface
25/06/2014 02:09:24 PM Listening IPv6://[::]:5900
25/06/2014 02:09:24 PM Listening IPv4://0.0.0.0:5900
25/06/2014 02:09:24 PM Clearing securityTypes
25/06/2014 02:09:24 PM Advertising security type: 'TLS' (18)
25/06/2014 02:09:24 PM Clearing securityTypes
25/06/2014 02:09:24 PM Advertising security type: 'TLS' (18)
25/06/2014 02:09:24 PM Advertising authentication type: 'No Authentication' (1)
25/06/2014 02:09:24 PM Re-binding socket to listen for VNC connections on TCP port 5900 in (all) interface
25/06/2014 02:09:24 PM Listening IPv6://[::]:5900
25/06/2014 02:09:24 PM Listening IPv4://0.0.0.0:5900
25/06/2014 02:09:24 PM Clearing securityTypes
25/06/2014 02:09:24 PM Clearing authTypes
25/06/2014 02:09:24 PM Advertising security type: 'TLS' (18)
25/06/2014 02:09:24 PM Advertising authentication type: 'No Authentication' (1)
25/06/2014 02:09:24 PM Advertising security type: 'No Authentication' (1)

Seguindo uma busca no google pelo problema da tela preta, eu também instalei o gnome-core e anexei o arquivo .vnc / Xstartup assim:

#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
gnome-session –session=gnome-classic &
gnome-panel&

[ -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 &
    
por Mike 25.06.2014 / 14:13

0 respostas