≡ Menu

Question: When I try to launch any GUI application on a remote server, I’m getting the “cannot open display:” error, as shown below. How do I fix this?

For example, while launching the gedit on remote server, I got the following message.

(gedit:3658): Gtk-WARNING **: cannot open display: 

I get similar message when I try to open any GUI application. For example, launching Oracle Installer on remote server also gives the “cannot open display” error.

Answer: You can fix the “cannot open display” error by following the xhost procedure mentioned in this article.
[continue reading…]

Question: I would like to understand the basics of how to write and execute Forth program on Linux OS. Can you explain it with a simple example?

Answer: If you’ve never heard about Forth program, read about it in Wikipedia first. In this article, let us review very quickly how to write a basic Hello World Forth program, and run forth program on Linux or Unix OS.
[continue reading…]

How to Change Root password on VMware ESXi

Question: How do I change root password on my VMware ESXi server?

Answer: Go to the server console and do the following to set root password for your VMware ESX.
[continue reading…]

How to Assign IP Address to VMware ESXi

Question: How do I perform network configuration on my new VMware ESXi installation?

Answer: To set the ip-address, subnet mask and default gateway of your new VMware ESXi installation, follow the steps mentioned below.
[continue reading…]

Perl Exporter Tutorial with Examples – @EXPORT and @EXPORT_OK

Export allows to export the functions and variables of modules to user’s namespace using the standard import method. This way, we don’t need to create the objects for the modules to access it’s members.
[continue reading…]

As part of the on-going VMware article series, earlier we discussed about VMware virtualization fundamentals, and how to install VMware Server 2.

In this article, let us discuss about how to install VMware ESXi.

VMware ESXi is free. However, the software comes with a 60 days evaluation mode. You should register on VMware website to get your free license key to come out of the evaluation mode. Once the ESXi is installed, you can either user vSphere Client on the Direct Console User Interface to administer the host.
[continue reading…]

FTP and SFTP Beginners Guide with 10 Examples

FTP is File Transfer Protocol. SFTP is secure FTP. In this article let us review how to connect and login to a remote ftp server for downloading and uploading files using ftp or sftp command. Most of the ftp commands are applicable to sftp. So, wherever ftp is mentioned, you can use sftp also.
[continue reading…]

Bash expression is the combination of operators, features, or values used to form a bash conditional statement. Conditional expression could be binary or unary expression which involves numeric, string or any commands whose return status is zero when success.

[continue reading…]