Browsing ยป Linux

Custom Ports with NX Client & SSH

Custom Ports with NX Client & SSH

I recently pulled my hair out for a couple of hours on a problem that was really simple…I just was overlooking a setting. To help other people save time on this exercise I wanted to share my experience. I have OpenSuSE 11.1 virtual machine. I installed the NXServer on that machine so that I could [...]

Spring Cleaning: Dejunking old files on Linux

I often let files sit around on servers that contain logs and other automatically updated information. I want to clean these up every once in a while. Linux, of course, offers a great way to do this. find $directory_to_clean -mtime +$days_old -exec rm {} ; This bash command will look in the $directory_to_clean location and [...]

Being Fickle with Directories – pushd & popd

Ever get in a Linux directory and realize that you like this directory, but you need to take a quick little fling in a different one? Your current directory can’t give you what you need at that moment, but you know you want to come right back to it when you are done. Well, throw [...]

Screen me in

Another reason to love linux is the simple little “screen” utility available in the OS. Screen lets you multiplex between console sessions. Here are the commands I use the most: screen -S —> lets you create a terminal session that is viewable when you ssh into the machine from somewhere else screen -dr —-> detaches [...]

X11 Forwarding with CygWin on Windows XP

1. Install CygWin – make sure you choose the openssh option as well as the X11-base utilities 2. Open up a cygwin shell and ssh into the remote device (R1) 3. Open up another cygwin shell on the host (H1) and run startx 4. Open up another cygwin shell on the host (H2) and run [...]

Getting SuSE Linux to run VNCServer on startup

After searching all morning for a good way to get VNCServer to startup on my SLES10 machine at work, I found this great page that actually worked. http://susefaq.sourceforge.net/howto/vnc.html SLES10 does a remote desktop feature built in, but it does not let you share the desktop across different computers. This scenario fixed it for me.