Allowing access to X when running sudo

When using sudo to attempt to run programs it is quite common to receive the following error message :

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Unable to import modules.  Maybe you're not running under X?

Here's an explanation of why you get this message and what you need to do to allow the root user to run X programs when using sudo.

Court Transcripts

Things people actually said in court, word for word...

Q: Doctor, before you performed the autopsy, did you check for a pulse?
A: No.
Q: Did you check for blood pressure?
A: No.
Q: Did you check for breathing?
A: No.
Q: So, then it is possible that the patient was alive when you began the autopsy?
A: No.
Q: How can you be so sure, Doctor?
A: Because his brain was sitting on my desk in a jar.
Q: But could the patient have still been alive nevertheless?
A: Yes, it is possible that he could have been alive and practising law somewhere.

Q: What is your date of birth?

Doctors Reports

Comments from actual Doctors reports

  • By the time he was admitted, his rapid heart had stopped, and he was feeling better.
  • Patient has chest pains if she lies on her side for over a year.
  • The patient has been depressed ever since she began seeing me in 1983.
  • Discharge Status: Alive without permission.
  • The patient will need disposition, and therefore we will get Dr. ....... to dispose of him.
  • On the second day the knee was better and on the third day it had completely disappeared.

E-Mail Sigs

--
Application has reported a 'Not My Fault' in module KRNL.EXE in line 0200:103F
A)bort, R)etry, I)nfluence with large hammer.

--
Behind every good computer -- is a jumble of wires 'n stuff.

--
"I didn't say it was your fault. I said I was going to blame it on you."

--
I used to have a handle on life, but it broke.

Microsoft vs General Motors

At a computer expo (COMDEX), Bill Gates reportedly compared the computer industry with the auto industry and stated:

"If General Motors had kept up with technology like the computer industry has, we would all be driving twenty-five dollar cars that got 1000 miles per gallon."

In response to Bill’s comments, General Motors issued a press release stating:

"If General Motors had developed technology like Microsoft we would all be driving cars with the following characteristics:"

  1. For no reason whatsoever your car would crash twice a day.
Syndicate content