Parece o seguinte: link . Resumindo, a política AppArmor do LightDM não leva em consideração (desde o Ubuntu 14.04.2 LTS) o VNC.
Tente remover /etc/apparmor.d/lightdm-guest-session
.
Estou tentando configurar o VNC sobre lightdm para que vários usuários possam efetuar login no servidor e ter sua própria sessão cada. Estou usando o TightVNC Viewer de uma máquina Windows para conectar a máquina virtual Ubuntu (VMware em um servidor). O greeter unidade é mostrado, eu posso digitar minhas credenciais, mas, em seguida, a área de trabalho não seria apenas carregar, tudo que eu recebo é uma tela em branco com um papel de parede. Eu também tentei o lightdm-gtk-greeter, com o mesmo resultado.
Aqui está meu /etc/lightdm/lightdm.conf:
[SeatDefaults]
allow-guest=false
greeter-hide-users=true
greeter-show-manual-login=true
autologin-guest=false
# More sessions at /usr/share/xsessions/
user-session=gnome-fallback
# More greeters at /usr/share/xgreeters/
# greeter-session=lightdm-gtk-greeter
greeter-session=unity-greeter
[XDMCPServer]
enabled=true
port=177
[VNCServer]
enabled=true
command=/usr/bin/Xvnc -rfbauth /etc/vncpasswd
port=5900
width=1280
height=1024
depth=24
Observe a sessão do usuário: Estou tentando fazer login em uma sessão de fallback do gnome. A unidade-greeter de fato tem o Gnome pré-selecionado. Eu tentei as outras entradas também (por exemplo, Gnome Classic), com o mesmo resultado.
Erros são registrados em ~ / .xsession-errors:
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 109 (X_ChangeHosts)
Value in failed request: 0x5
Serial number of failed request: 6
Current serial number in output stream: 8
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 109 (X_ChangeHosts)
Value in failed request: 0x5
Serial number of failed request: 6
Current serial number in output stream: 8
Script for ibus started at run_im.
Script for auto started at run_im.
Script for default started at run_im.
init: gpg-agent post-stop process (4335) killed by TERM signal
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd respawning too fast, stopped
init: unity-settings-daemon main process (4382) terminated with status 1
init: unity-settings-daemon main process ended, respawning
init: gnome-session (Unity) main process (4391) terminated with status 1
init: unity-settings-daemon main process (4573) killed by TERM signal
init: Disconnected from notified D-Bus bus
Mensagens em /var/log/lightdm/lightdm.log imediatamente após inserir as credenciais no saudador:
[+971.31s] DEBUG: Session pid=5164: Continue authentication
[+971.92s] DEBUG: Session pid=5220: Authentication complete with return value 0: Success
[+971.92s] DEBUG: Session pid=5164: Authenticate result for user pamberg: Success
[+971.92s] DEBUG: Session pid=5164: User pamberg authorized
[+971.93s] DEBUG: Session pid=5164: Greeter requests default session
[+971.93s] DEBUG: Seat: Stopping greeter; display server will be re-used for user session
[+971.93s] DEBUG: Session pid=5164: Sending SIGTERM
[+971.95s] DEBUG: Session pid=5164: Exited with return value 0
[+971.95s] DEBUG: Seat: Session stopped
[+971.95s] DEBUG: Seat: Greeter stopped, running session
[+971.95s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+971.99s] DEBUG: Session pid=5220: Not setting XDG_VTNR
[+972.00s] DEBUG: Session pid=5220: Running command /usr/sbin/lightdm-session /usr/lib/gnome-panel/gnome-session-flashback
[+972.00s] DEBUG: Creating shared data directory /var/lib/lightdm-data/pamberg
[+972.00s] DEBUG: Session pid=5220: Logging to .xsession-errors
[+972.08s] DEBUG: Activating login1 session c13
[+972.12s] WARNING: Error activating login1 session: GDBus.Error:org.freedesktop.DBus.Error.Failed: Operation not supported
Alguma idéia?
Tags lightdm configuration gnome vnc xserver