Archive for category Linux/Unix

OpenSSH

Well, instead of spending Saturday night wasting my time at the mall or at that place people call movie theaters, I got a chance to play around with OpenSSH more in depth.

I use ssh to log into my server practically every single day, but I really wasn’t aware all of its actual capabilities. After looking at the /etc/ssh/sshd_config file, I noticed there was an X11 forwarding option which was disabled by default. Given that I don’t have X-Windows installed on my server, I’ve decided to install ssh on my desktop computer so I can try it out.

Steps to enable X11 forwarding

  • Open /etc/ssh/ssh_config and comment out:
    # ForwardAgent yes
    # ForwardX11 yes
    # ForwardX11Trusted yes
  • Open /etc/sshd_config and (X11Forwarding yes) should already be commented out
  • Restart ssh server
  • sudo /etc/init.d/ssh restart

    That’s it!!!

  • Now log on into the remote machine using the -X option
  • ssh -X user@192.168.0.1

    type gnome-session
    Your X session should automatically start.

    I also logged in using OS X and it worked perfectly fine. Everything was kinda off sluggish to use, and I was doing everything completely on wireless so that probably made it even more slower. In conclusion who needs VNC when you could securely forward X11 session between *nix computers using ssh!!

    iPhone killer

    I can’t wait until I get my hands on an Android.

    Gusty Gibbon

    Even though I never upgrade right after a release of a new distribution, I’ve decided to upgrade my existing Feisty Fawn Ubuntu system. Everything seemed well until my computer restarted. From the restart, I got a Grub error, so had to boot from a Grub Super disk and manually install a new boot loader over the corrupt Grub that installed with Ubuntu. After a restart, and boot into the new 2.6.20 kernel that is used with Gusty, nothing happened. No prompt, No log-in screen. The only way to accessed the newly installed Gusty Gibbon was through booting into an older kernel.

    So I figured I must have done something wrong during the upgrade process. So I downloaded the iso image. To my surprised I have the same issue. This time the only way to accessed the system is though the rescue mode option!

    Installing Gusty on my laptop was just a waste of time. I’m not going to bother upgrading my desktop.

    (As of the time of this writing, I’m installing OpenSuSE 10.3 on my laptop)

    Playing .ogg files in iTunes

    I found this kool plug-in that lets you play .ogg files in iTunes. The down part about .ogg in iTunes is that piece of shit iPod won’t sync the audio files unless you convert them to .acc but the quality will be totally crap.

    Xiph.org

    Firefox getting slower and slower

    It seems like firefox is getting slower and slower in all platforms. It crashes like hell in OS X and it is painful slow in Windows. In Linux is runs OK except when it freezes for every 2-3 minutes. I’m sorry to say but I’m getting closer to ditch firefox for a different browser.

    Heat causes server to go down

    Its impossible to have my local LAMP and Samba server powered on in a 110 degree environment. The machine sounds like a jet engine.

    OpenVPN

    I got a headache from tying to set up and get up and running OpenVPN. I’ve been trying to setup a local VPN server in my Linux box, but its overwhelming of all the crap I have to do to get this thing working. Creating the keys, editing multiple configuration files, and building my own certificates. Setting a VPN in Windows Server 2003 is a walk in the park compare to this.

    Solaris 10

    I hasn’t been a week after I order a free x86/64 copy of Solaris 10 and the dvd’s have already arrived at my house. I guess Sun Microsystems is really desperate for people to use their produts.

    Order Here