Download of the day: VLC media player

Posted on in Categories Download of the day, Linux desktop, OpenBSD, OS X, RedHat/Fedora Linux, Solaris, Suse Linux, Ubuntu Linux, Windows, X server last updated December 18, 2006

The VLC media player is an open source and my favorite media player is out with a new version.

It is a highly portable multimedia player, encoder and streamer that supports many audio and video codecs and file formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, …) as well as DVDs, VCDs and various streaming protocols. It is able to stream over networks and to transcode multimedia files and save them into various different formats.

It can also be used as a server to stream in unicast or multicast in IPv4 or IPv6 on a high-bandwidth network.

Supported oses:
=> Linux
=> Microsoft Windows
=> Mac OS X
=> BeOS
=> *BSD
=> Windows CE
=> Sun Solaris

Highly recommend even if you are using Windows XP.

Download VLC

=> VLC 0.8.6 download Link

FreeBSD desktop Fun with X.org – utilities and features

Posted on in Categories FreeBSD, Howto, Tips, X server last updated December 8, 2006
X.Org Logo

The X Window System is a network transparent window system which runs on a wide range of computing and graphics machines. The X.Org Foundation Open Source Public Implementation of X11 (the XOrg Server) is the official reference implementation of the X Window System.

X.org includes several useful utilities and features that almost no one knows about. You can accelerate your display, nest one X server in another, distribute your session across multiple monitors on different machines, and watch a session on another machine. Dru Lavigne explains.

This article covers

=> Tuning your Video cards
=> Nesting Xservers
=> Distributed Multihead
=> Monitor Other Systems etc

Read Fun with X.org ( Via Daemon Dancing in the Dark )

Howto: Linux Refresh all or an X screen Kde-Gnome desktop

Posted on in Categories Howto, Linux desktop, Troubleshooting, X server last updated September 19, 2006

Linux or UNIX desktop systems are quite stable. However, some time weird things happen like unreadable screen and confusing application causing massive screen messed up, which makes it difficult to read what is on the Linux desktop.

Generally, I have observed that most users prefer to hit CTRL+ALT+Back Space or just kills the X session. However, there is way to get rid of this problem.

xrefresh is a simple X command that causes all or part of your screen to be repainted. This is useful when system messages have messed up your screen. Xrefresh maps a window on top of the desired area of the screen and then immediately unmaps it, causing refresh events to be sent to all applications. By default, a window with no
background is used, causing all applications to repaint smoothly. However, the various options can be used to indicate that a solid background (of any color) or the root window background should be used instead.

Just type the xrefresh:
$ xrefresh

You can also pass -white and -black option to xrefresh command:
$ xrefresh -white
OR
$ xrefresh -black

Where,

  • -white: Use a white background. The screen just appears to flash quickly, and then repaint (this is a default).
  • -black: Use a black background (in effect, turning off all of the electron guns to the tube). This can be somewhat disorienting as everything goes black for a moment.

If refresh will not clear the X display consider using xkill to kill particular X application or kill your self i.e. kill user account.

I am not sure if there is any such a program exists for Windows XP desktop. If any one has information please share with us.

How to: Setup Xorg X11 and Transparency

Posted on in Categories Gentoo Linux, Howto, X server last updated September 16, 2006

This guide is going to show you how to get X.org 7.1 up and running on Linux (the emphasis will be on using Gentoo, but it should work on any other Linux distro as well).

From the howto page:
We of course can’t possibly do anything if we are missing X.org. To obtain this in Gentoo is very simple:

emerge --sync
emerge xorg-x11

Once X.org is done building, you will be ready to get started using it. If you previously used X.org, then your config file at /etc/X11/xorg.conf will be used. If you are a XFree86 user moving over, then X.org will automatically load your /etc/X11/XF86Config, but I would recommend renaming the config to xorg.conf for consistency. Read more

Found via Digg

Linux install the 3D accelerated nVidia drivers

Posted on in Categories FAQ, Howto, Linux, X server last updated July 16, 2006

This is one the most common question asked by newbie: “How do I get (download) and install the 3D accelerated nVidia drivers for Linux system? I am using Fedora/Redhat/Gentoo/(Your distro) Linux…

Well, nVidia drivers are not included in default kernel as they are not open source drivers. nv driver only provide 2d support.

Step # 1: Download drivers

Download 3D accelerated nVidia drivers. Don’t forget to read installation instructions provided on same site/page.

Step # 2: Configure X

No need to edit X config file by hand. nvidia-xconfig is a tool for manipulating X config files, specifically for use by the NVIDIA Linux graphics driver. So, NVIDIA now provides a utility to assist you with configuration of your X config file. Type the following command to configr X:

nvidia-xconfig

Please note that above site also carries driver for FreeBSD desktop.

Linux Iptables block remote X Window server connection

Posted on in Categories Iptables, Linux, Security, X server last updated July 10, 2006

It is true that connections to remote X Window servers should be always made over SSH. SSH supports X windows connections. So my task was allow X over ssh but block unprivileged X windows mangers TCP ports.

The first running server (or display) use TCP port 6000. Next server will use 6001 and so on upto 6063 (max 64 X managers are allowed from 6000-6063).

So assuming that you are going to force user to use ssh for remote connections, here are rules for IPTABLES (add to your firewall script):

iptables -A OUTPUT -o eth0 -p tcp --syn --destination-port 6000:6063 -j REJECT
iptables -A INPUT -i eth0 -p tcp --syn --destination-port 6000:6063 -j DROP

a) The first rules blocks outgoing connection attempt to remove X windows manger.

b) The second rule block incoming request for X windows manger. By using –syn flag you are blocking only connection establishments to the server port.

This is the good way to disallow unprivileged X windows mangers – TCP 6000:6063 ports 🙂

See also:

Weird GNOME problem: INIT: Id respawning too fast: disabled for 5 minutes

Posted on in Categories News, RedHat/Fedora Linux, Troubleshooting, X server last updated July 5, 2006

Yesterday I messed up badly with GNOME configuration. My R & D result into an error on the first console that read as follows:

INIT: Id respawning too fast: disabled for 5 minutes

LOL 😀

GNOME was broken badly. Screen was just flicked several times. To fix this problem:

a) Reboot Fedora Core Linux box

b) Boot into single user mode (or text mode i.e. mode init 3 will also do the job,IMPO)

c) Type the following command to fix Display card related stuff:

# redhat-config-xfree86 –reconfig

Above command allows you to fix all problems or allows reconfiguring X windows system.

Quickly list all available fonts

Posted on in Categories Linux, News, X server last updated May 21, 2006

fc-list is a quick and handy command to lists fonts and styles available on the system for applications using fontconfig. You can use fc-list to find out whether particular language font is installed or not.

To list all font faces:
$ fc-list

To lists font faces that cover Hindi language:
$ fc-list :lang=hi
Output:

Samanata:style=Regular
Gargi_1.7:style=Medium
FreeSans:style=Medium,navadno
Chandas:style=Regular
Lohit Hindi:style=Regular

Black Screen While Starting X window

Posted on in Categories Debian Linux, Linux, Linux desktop, RedHat/Fedora Linux, Suse Linux, Sys admin, Tips, Troubleshooting, Ubuntu Linux, X server last updated April 2, 2006

My friend is new to Linux, everything was fine until he made some changes to X, which result into this problem. Now whenever he types command startx to start X he get a blank screen. Finally, he contacted me me via yahoo and asked me to get rid rid of this problem.

Step # 1: Reset blank X screen

First, get out of Blank screen by pressing combination of keys Ctrl+Alt+Backspace. If this fails, reboot system.

Step # 2: Reconfigure X server display

At shell, prompt type the following command to reconfigure X display.

If you are using Red Hat /Fedora / CentOS Linux type command:
# redhat-config-xfree86
If you are using Debian Linux type command:
# dpkg-reconfigure xserver-xfree86
OR login as the root user and type command:
# XFree86 -configure

Step # 3: Test new setup

Type startx to test your new settings:
# startx
OR if you used XFree86 –configure command to reconfigure X, then test it with following command:
# XFree86 -xf86config /etc/X11/XF86Config.new

See also: