Sunday, January 26, 2014

Linux process management in foreground background

How to run a job in background

nohup /path/to/your/ > /dev/null 2>&1 &

How to view background process

How to move job from foreground to background and vice versa

fg %jobid

bg %jobid

How to kill background jobs

kill -19 %job_id

Saturday, January 18, 2014

Linux GUI based browsing using vncserver and vncviewer

Main Source

user: alamt

Step1: Login to server
ssh alamt@

Step2: Start vncServer in login server
vncserver –geometry 1600x1024

Step3: Check the port no for vncServer in login server

 ps -ef | grep vnc | grep alamt
// It will show a big list with following port info by rfbport

 -rfbport 5905 ( so in this example portno for vncserver is 5905)
 -Xvnc :5 (so in this example screen ID is 5)

Step4: From client , run vncViewer


Step5: Kill/Stop vncserver from login server
 vncserver -kill:5