Tunneling X Connection Through Intermediate Linux / BSD Gateway

Posted on in Categories , , , , , , , , , , , , , , last updated May 7, 2009

I‘ve ssh gateway behind my NAT firewall. So all users must first login to my gateway host from the internet and then login to other machines on the LAN. This works great for cli based apps. However, few users would like to run x apps from internal LAN hosts and tunnel X display through intermediate ssh gateway and display back output on their local system. For example, from localsystem user makes connection as follows:

ssh -X [email protected]
ssh -X [email protected]

X forwarding fails with an error:

Error: Can’t open display:

How do I fix this problem and allow users to use X apps with my intermediate Linux / BSD gateway?

Linux Gnome Numeric Keypad Disabled [ Mouse keys ]

Posted on in Categories , , , , , , , last updated December 28, 2008

Q. I’m using Gnome under Ubuntu Linux and my numeric keypad is disabled. Pressing numlock key does not work any more. I’m not able to use numbers or special symbols from numeric keypad. Reboot does not help or using different keyboard does not help. However, numlock only works if I switch to text console by pressing CTRL+ALT+F1. Now, I’m dam sure this is related to X.org or Gnome. How do I fix this problem?

Red Hat / CentOS Linux: Apache Enable WebDAV

Posted on in Categories , , , , , , , , , last updated December 3, 2008

Q. Web-based Distributed Authoring and Versioning ( WebDAV) – is a set of extensions to the Hypertext Transfer Protocol (HTTP) that allows users to collaboratively edit and manage files on remote World Wide Web servers. How do I enable WebDAV under CentOS / RHEL 5 Linux server?

Linux Gnome: Add Open Terminal Here / Open Shell Prompt Here Right Click Menu To a File Manager

Posted on in Categories , , , , , , , , last updated November 5, 2008

Question: How do I open a shell prompt or gnome-terminal at the current location while browsing directories and files via nautilus file manager? I’d like to see Open Terminal / Prompt here option added to my right click menu. How do I open command prompt in a single selected directory or otherwise in current directory?