Friday, November 28, 2008

HOWTO connect to Remote Desktop

A.-Enabling VNC server and connecting a ubuntu client - Ubuntu 8.10

1.- Preparing VNC Server ($ sudo apt-get install vnc4server xinetd openssh-server

2.- Edit gdm.conf file and restart service$ sudo vim /etc/gdm/gdm.conf

#RemoteGreeter=/usr/lib/gdm/gdmlogin ... [xdmcp] Enable=false

RemoteGreeter=/usr/lib/gdm/gdmlogin ... [xdmcp] Enable=true
Restart:$ sudo /etc/init.d/gdm restart

3.- Edit Xvnc file and restart xinetd service: (Customize login)$ sudo vim /etc/xinetd.d/Xvnc
service Xvnc

disable = no
socket_type = stream
protocol = tcp
wait = no
user = administrador #User

#only_from = localhost #Uncomment for local access only
server = /usr/bin/Xvnc #Path to VNC server
server_args = -inetd -query localhost -geometry 1024x768 -depth 16 -cc
3 -once -SecurityTypes=none -extension XFIXES
port = 5959 #Desired port to listen VNC requests

Restart service:
administrador@learning:~$ sudo /etc/init.d/xinetd restart

B.-Connecting a client

1.- Install packets:
sudo apt-get install openssh-client vinagre

2.-Connecting to remote Desktop (remote. by port 5959)

2.1.-Command line:
wmunguiam@server:~$ vinagre

2.2.-Desktop rute:
Aplicaciones / Internet / Visor de
escritorios remotos


3.- Results:

No comments:

Post a Comment