My Notes on git

Just starting to use git currently using subversion … so here are some basic notes:

  • create local git repo: git svn clone -s http://svnrepo
  • get latest from svn: git svn fetch then git svn rebase
  • make local changes: git add and git commit -m “message”
  • push to svn: git svn dcommit

(http://www.lostechies.com/blogs/scottcreynolds/archive/2009/05/05/getting-up-and-running-on-git-svn-5-minute-quickstart.aspx)

Using VNC to look at a remote users desktop on Ubuntu 10.4

This is for a help desk scenario where you need to see the desktop of a remote user.

Install x11vnc on remote machine. Then on the remote system (as root) run x11vnc –localhost
Now if the machine is inside a private network we may need to hop with SSH

user@mysystem:~$ ssh -L5900:localhost:5900 external-host
user@external-host:~$  ssh -L5900:localhost:5900 internal-host
user@internal-host:~$ sudo su -
user@internal-host:~#apt-get install x11vnc
user@internal-host:~# x11vnc --localhost

Now start your local vncviewer and connect to localhost. xvnc4viewer works great on an Ubuntu system.

Ref:
https://help.ubuntu.com/community/VNC

Using VNC to look at a remote users desktop on Ubuntu 10.4

This is for a help desk scenario where you need to see the desktop of a remote user.

Install x11vnc on remote machine. Then on the remote system (as root) run x11vnc –localhost
Now if the machine is inside a private network we may need to hop with SSH

user@mysystem:~$ ssh -L5900:localhost:5900 external-host
user@external-host:~$  ssh -L5900:localhost:5900 internal-host
user@internal-host:~$ sudo su -
user@internal-host:~#apt-get install x11vnc
user@internal-host:~# x11vnc --localhost

Now start your local vncviewer and connect to localhost. xvnc4viewer works great on an Ubuntu system.

Ref:
https://help.ubuntu.com/community/VNC