Sunday, April 27, 2008

Config VNC Ubuntu

Now install x11vnc, you can do this with apt-get or Synaptics, this package is available in the Community Maintained (Universe) repository.

Now with x11vnc installed, you will need to create a password file:

sudo x11vnc -storepasswd yourpasswordhere /etc/x11vnc.pass

Then configure GDM to run x11vnc when at loading time:

sudo gedit /etc/gdm/Init/Default

and this line to the file:

/usr/bin/x11vnc -rfbauth /etc/x11vnc.pass -o /tmp/x11vnc.log -forever -bg -rfbport 5900

(you can change the port and other parameters)

So far so good, but if you restart your pc at this stage you’ll only be able to login, then the GDM will kill your session. To avoid this we must change another file:

sudo gedit /etc/gdm/gdm.conf

now search for this line :

#KillInitClients=true

And change it to this:

KillInitClients=false

Restart you PC and now you have VNC at login time.

Firewall: 5800, 5900

Sunday, April 20, 2008

Setup X3100 Compiz

Open terminal:
sudo gedit /usr/bin/compiz

Add sign # begin the line:

#T="$T 8086:2982 8086:2992 8086:29a2 8086:2a02 8086:2a12" # intel 965
#T="$T 8086:2972" # i965 (x3000)


Then reboot computer!

Note: you have to update newest driver for X3100 using deb packages

http://packages.ubuntu.com

search: xserver-xorg-video-intel