Showing posts with label Unity. Show all posts
Showing posts with label Unity. Show all posts

Tuesday, November 1, 2011

Ubuntu Unity 11.04 & 11.10 Teamviewer startup problem for 2 eth card pc's

If you have a pc with 2 ethernet ports like me, you may have a problem with teamviewer autostart.
Since teamviewer starts before ethernet card is activated, it is trying to activate but it fails. 
Here is a workaround for this problem:

  •  Install teamviewer from official site. 
Although it was freezing sometimes on Ubuntu 10.04, it is working flawless on Ubuntu 11.10



  • Create a shell script to start teamviewer with 50 seconds delay. 
Delay is needed to wait the ethernet card to activate


$ vi /home/user/teamviewer_start.sh

sleep 50
teamviewer6 &
  • Click start menu and launch startup applicatons



  • Click add button, name it Teamview or something you choose.



  • Click Browse button for command and choose the sciript.



Now teamviewer succesfully opens and availiable at ubuntu startup.

Ubuntu Unity 11.04 & 11.10 VNC server with X11vnc


  • Uninstall default VNC server:

sudo apt-get remove vino


  • Install x11vnc
sudo apt-get install x11vnc


  • Create /etc/init/x11vnc.conf for lightdm


sudo vi /etc/init/x11vnc.conf

start on login-session-start
script
x11vnc -xkb -noxrecord -noxfixes -noxdamage -display :0 -auth /var/run/lightdm/root/:0 -forever -bg -o /var/log/x11vnc.log -rfbauth /etc/x11vnc.pass -rfbport 5900

end script

  • Create a password with storepasswd option
x11vnc -storepasswd "password_enter_here" /etc/x11vnc.pass