VNC Remote Session on Debian sid. Sesión remota VNC .

Instalar Tigervnc,

sudo apt install tigervnc-standalone-server

Editar el archivo:

nano ~/.vnc/xstartup

Dejarlo como,

#!/bin/sh
#[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
#[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources

test x"$SHELL" = x"" && SHELL=/bin/bash
test x"$1"     = x"" && set -- default

vncconfig -iconic &
"$SHELL" -l <<EOF
export XDG_SESSION_TYPE=x11
dbus-launch --exit-with-session gnome-session
exec /etc/X11/Xsession "$@"
EOF
vncserver -kill $DISPLAY

Ahora Ejecutar el servidor.

vncserver -localhost no

Para matar el servidor,

vncserver -kill :*

Si al entrar nos aparece un mensaje de error de :

“Authentication is required to create a color profile/managed device”

Hay que crear un fichero,

sudo nano /etc/polkit-1/localauthority.conf.d/02-allow-colord.conf

con el siguiente contenido.

polkit.addRule(function(action, subject) {
 if ((action.id == "org.freedesktop.color-manager.create-device" ||
 action.id == "org.freedesktop.color-manager.create-profile" ||
 action.id == "org.freedesktop.color-manager.delete-device" ||
 action.id == "org.freedesktop.color-manager.delete-profile" ||
 action.id == "org.freedesktop.color-manager.modify-device" ||
 action.id == "org.freedesktop.color-manager.modify-profile") &&
 subject.isInGroup("{users}")) {
 return polkit.Result.YES;
 }
});

Deja un comentario