Saturday, April 26, 2014

Mac OS X: Force Quit An Unresponsive Full Screen Application Shortcut Key

Sometime my VLC application gets crashed on a Mac OS X system. The screen goes blank and VLC stays hang running on my desktop or MacBook. How can I solve this issue and quit an unresponsive VLC application on a Mac OS X without a hard reboot?

OS X has a feature called Force Quit to quit both responsive and an unresponsive application on a Mac OS X system. The Force Quit displays list of apps on screen and can be activated using keyboard shortcuts.

Friday, April 25, 2014

Fix: /bin/dbus-launch terminated abnormally without any error message and solution

I am a new Linux server user. I need to tunnel X over ssh. I type the following command on a CentOS/RHEL based remote host to get display on a local desktop:
ssh -X user@server1.cyberciti.biz
xeyes &
firefox &
But, I am getting an error that read as follows:
**error**: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: /bin/dbus-launch terminated abnormally without any error message)
How do I fix this error on a newly formatted/installed RHEL or CentOS Linux 6.x server?

HowTo: Setup SSH Keys on a Linux / Unix System

I recently read that SSH keys provide a secure way of logging into a Linux and Unix-based server. How do I set up SSH keys on a Linux or Unix based systems? In SSH for Linux/Unix, how do I set up public key authentication?

I am assuming that you are using Linux or Unix-like server and client with the following software:
  • OpenSSH SSHD server
  • OpenSSH ssh client and friends on Linux (Ubuntu, Debian, {Free,Open,Net}BSD, RHEL, CentOS, OSX and co).

Wednesday, April 2, 2014

X11 forwarding request failed on channel 0 Error and Solution

am a new Linux server user. I need to tunnel X over ssh. I type the following command from OS X Unix terminal to login into far_away_machine (a centos server):
ssh -X -o options -A -p 22 user@centos-far-away-server
But, I am getting the following error on screen:
X11 forwarding request failed on channel 0
Last login: Sun Mar 23 15:58:51 2014 from 1.2.3.4

Tuesday, April 1, 2014

HowTo: Uninstall MySQL Server in Ubuntu Linux

I 'm a new Ubuntu Linux user and my cloud hosting company installed MySQL server by default. I need to remove it and delete it from my server as I have no use of MySQL server. How can I uninstall MySQL on a Ubuntu based systems?

Typically following Mysql packages are installed on the Debian or Ubuntu Linux systems: