martedì 19 giugno 2012

xhost: command not found

Basic Oracle Linux 6 installation doesen't include some packages, one of these is Xorg-X11-Server that is used for X Terminal emulation

To install Xorg-X11-Server you need to mount Oracle Linux 6 installation DVD:

[root@orcl ~]# mkdir /mnt/cdrom

[root@orcl ~]# mount /dev/cdrom /mnt/cdrom/
mount: block device /dev/sr0 is write-protected, mounting read-only

[root@orcl ~]# cd /mnt/cdrom/Packages/

Then install the package.

[root@orcl Packages]# rpm -Uvh xorg-x11-server-utils-7.5-5.2.el6.x86_64.rpm
error: Failed dependencies:
        mcpp is needed by xorg-x11-server-utils-7.5-5.2.el6.x86_64

But as stated above there are some unmet dependencies that we need to fix:

[root@orcl Packages]# rpm -Uvh libmcpp-2.7.2-4.1.el6.x86_64.rpm
[root@orcl Packages]# rpm -Uvh mcpp-2.7.2-4.1.el6.x86_64.rpm

So we can successfully install Xorg-X11-Server

[root@orcl Packages]# rpm -Uvh xorg-x11-server-utils-7.5-5.2.el6.x86_64.rpm

Now xhost command works fine!!

Nessun commento:

Posta un commento