Showing posts with label X. Show all posts
Showing posts with label X. Show all posts

Monday, July 27, 2009

Enable RH FC 10 root login

My environment: RH FC 10 x86_64

Although it is not recommended to login GNOME GUI as root, sometimes you just need to do it.  Firstly, type the following in your terminal prompt:

1. su

2. Enter your root password
3. vi /etc/pam.d/gdm

and comment the following line:

# auth required pam_succeed_if.so user != root quiet

Friday, February 22, 2008

Xming

Xming is a X Window server on MS Windows platform for free. Good thing is it doesn't rely on Cygwin and easy too use. Most importantly it can work together with PuTTY which is probably one of the applications I used most in my life.

1. Get your packages here:
http://www.straightrunning.com/XmingNotes/

2. Change the settings of your shortcut on desktop by appending the parameter "-ac" at the end of the "target" box. Double click the shortcut to start Xming.

3. Make sure your personal firewall is allowed 6000/tcp.

4. In PuTTY > SSH > X11, check "Enable X11 forwarding".


5. Connect to your Linux box, type "export DISPLAY="1.2.3.4:0.0". 1.2.3.4 is your IP address.

6. Type "xterm &" then you will see your X terminal on Windows!

Wednesday, February 20, 2008

Start X with error message "No Devices Detected"

Just changed the video card on my testing PC and it boots up with the following error message:

(EE) No devices detected.
Fatal server error:
no screens found

I seldom use X so it takes me some time to troubleshoot. Finally I got the solution from X Wiki:

http://wiki.x.org

You can go to /etc/sysconfig/hwconf, and search for "VIDEO" to see what video card you are using. Then check if it matches with your X configuration file /etc/X11/xorg.conf.

If seems you are using the correct driver but still get this message, it is likely that your chipset isn't support on your Linux distro yet. You can try the vesa driver or the vga driver. In my case, the vesa driver solved my problem.

Section "Device"
Identifier "Videocard0"
Driver "vesa"
EndSection