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:
Please note that above site also carries driver for FreeBSD desktop.
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 :)
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
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.
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:
To lists font faces that cover Hindi language:
$ fc-list :lang=hi
xorgconfig is an interactive command for generating an xorg.conf file for use with Xorg X servers.
[click to continue…]
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:
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:
OR if you used XFree86 â€“configure command to reconfigure X, then test it with following command:
# XFree86 -xf86config /etc/X11/XF86Config.new
Generally, I need to switch my Gnome screen size to 800×600 to watch TV via TV-Tunner card as my card supports max 800×600 resolution. For rest of my work I prefer to use 1024×768 pixels. You can create a shortcuts on the desktop to resize screen quickly:
[click to continue…]