Separate password for each VNC server

The command vncpasswd allows us to set the VNC password of a VNC session used to access remote desktops. By default the password is saved in $home/.vnc/passwd file. Generally we create vncserver with the following syntax vncserver -depth 24 -geometry 1280×768 New ‘sun:1 (sam)’ desktop is sun:1 Starting applications specified […]

VNC Viewer or VNC Client

VNCViewer is a client viewer for Virtual Network Computing (VNC). VNC provides remote access and control of software in computers for a mix of OS like Windows, Mac, UNIX and Linux. Basically it is cross-platform tool with peer-to-peer architecture, and no agents or centralized servers in between. All most all […]

Extract pages from or merge files into a pdf file in Ubuntu

Using pdftops and ps2pdf To convert pdf to eps file pdftops -eps filename.pdf pdftops -eps filename.pdf Converts filename.pdf to filename.eps if there is only one page To extract few pages from a pdf file pdftops -f fpn -l lpn filename.pdf – | ps2pdf – filename_ext.pdf pdftops -f fpn -l lpn […]

Environment variable in bash or tcsh

The syntax for setting an environment variable under UNIX/Linux depend on the shell that you are using. The syntax for bash/sh shell is export <variable name> = <variable name>:<new value1>:<new value2> export <variable name> =<variable name>:<new value1>:<new value2> For tcsh/csh shell set <variable name> = ($<variable name> <new value1> […]