Configurando escritorio remoto en linux ubuntu con línea de comandos
Lo saiguiente se debe reconfirmar.
Re: Enable Remote Desktop from command line
Run:
Code:
export DISPLAY=:0.0
/usr/lib/vino/vino-server
Re: Enable Remote Desktop from command line
if you want remote desktop you will be obliged to log in automatically onto the server first.
/etc/gdm/gdm.conf
AutomaticLoginEnable=true
AutomaticLogin=your-user
invoke-rc.d gdm restart
activate remote desktop
gconftool-2 -s -t bool /desktop/gnome/remote_access/enabled true
disable prompt to authorize the connection
gconftool-2 -s -t bool /desktop/gnome/remote_access/prompt_enabled false
encode your password in base64 using a file and assign it
echo password > file
base64 file
gconftool-2 -s -t string /desktop/gnome/remote_access/vnc_password result-of-passwd-encoding
select the authentication method
gconftool-2 -s -t list --list-type=string /desktop/gnome/remote_access/authentication_methods \[vnc\]
You should be able to connect to the remote desktop.
Re: Enable Remote Desktop from command line
Run:
Code:
export DISPLAY=:0.0
/usr/lib/vino/vino-server
Re: Enable Remote Desktop from command line
if you want remote desktop you will be obliged to log in automatically onto the server first.
/etc/gdm/gdm.conf
AutomaticLoginEnable=true
AutomaticLogin=your-user
invoke-rc.d gdm restart
activate remote desktop
gconftool-2 -s -t bool /desktop/gnome/remote_access/enabled true
disable prompt to authorize the connection
gconftool-2 -s -t bool /desktop/gnome/remote_access/prompt_enabled false
encode your password in base64 using a file and assign it
echo password > file
base64 file
gconftool-2 -s -t string /desktop/gnome/remote_access/vnc_password result-of-passwd-encoding
select the authentication method
gconftool-2 -s -t list --list-type=string /desktop/gnome/remote_access/authentication_methods \[vnc\]
You should be able to connect to the remote desktop.
Comentarios
Publicar un comentario