Saturday, December 12, 2009

X Over SSH - Simple, Straightforwad way to access remote Ubuntu desktop from local Ubuntu machine

I keep hunting for this command so I decided to document my process.

Ctrl+Alt+F2  

Use {F2,F3,F4...F6}

Start x display
with a simple command in Ubuntu
                
xinit -- :1 vt8 
                

Use {vt8,vt9,...,vt12}

then log in to far away machine
                         
ssh user@ip_address -X -C


-X for X Forwarding
-C for compression (don't remember the case)

once logged in use command

               
gnome-session  

this is my window manager of choice albeit heavy. You can use others from so many available!

Thursday, December 25, 2008

An overly simple Model-Glue app

So there is good documentation on Model-glue framework. I followed along with their “Pig Latin Translator” but decided I need something more realistic. Who uses a translator that translates to “Pig Latin”? So here is a more realistic Login –> Validate Login –> show view on correct login || show error and login screen on bad login info type application in Model Glue.
If you understand this and follow, you’d have known the most of model glue in its basic form.

Thursday, December 04, 2008

An Overly simplistic ColdSpring Application

This just to get you started on building a basic coldspring application. This topic is beaten to death everywhere else, and I’ve just posted this to do my part in cluttering the web (and to give me a starting point in learning CS). For more documentation go here.

ColdSpring Directory Structure

An example of a simple Coldspring application that has a USER bean and a USERSERVICE class.