Praveen’s Journal

November 15, 2006

xorg-x11-xauth needed for SSH X forwarding to work

Filed under: GNU/Linux, Networking, Tips and Tricks — Praveen Kumar @ 4:35 pm

I have a server that is running Fedora Core 3. I was trying to setup SSH X forwarding to work on this server. The server had only a minimal set of required packages installed. I have added the line X11Forwarding yes to the file /etc/ssh/sshd_config and restarted the daemon. But even after that the DISPLAY variable was not setup in the ssh session when I invoked ssh with -X option. Because of this I was not able to get X forwarded through ssh. I was breaking my head to find out what was wrong. Finally I found out that the package xorg-x11-xauth was needed for SSH X forwarding to work properly. It was a tricky fact to observe on the first hand as there is no direct connection between these two packages. Thanks to Gentoo wiki for giving the clue.

November 14, 2006

Java now on GPL wheels

Filed under: Free Software, Open Source Software — Praveen Kumar @ 9:11 pm

Sun Microsystems yesterday (officially) announced about making Java platform free. Now Java is available under GNU GPLv2. This is one of the most revolutionary move made by Sun. Initially Sun was about to use CDDL for licensing the open source Java platform. But the choice of GPL is a great win for the FSF community and Sun as well. Sun’s Chief Open Source Officer Simon Phipps on answering the million dollar question, “Why GPL?” said

“The question was, ‘how do we grow the Java market when eight out of 10 cell phones are Java-based?’ GPL is the perfect choice.”

That is awesome!

Read more about this topic on Red Herring.

There are also rumors floating that Sun is about reconsider the licensing model of OpenSolaris as well to use GNU GPLv2.

Special disclaimer:
I am not talking for my employer, Sun Microsystems.

November 9, 2006

Telemarketer Repellant

Filed under: Humor — Praveen Kumar @ 11:35 am

I came across this one at Comedy Central today.

If they say they’re John Doe from XYZ Company, ask them to spell their name. Then ask them to spell the company name. Then ask them where it is located, how long it has been in business, how many people work there, how they got into this line of work, if they are married, how many kids they have, etc. Continue asking them personal questions or questions about their company for as long as necessary. Say “no” over and over. Be sure to vary the sound of each one, and keep a rhythmic tempo, even as they are trying to speak. This is most fun if you can do it until they hang up. If MCI calls trying to get you to sign up for the Family and Friends Plan, reply, in as sinister a voice as you can, “I don’t have any friends, would you be my friend?” If they start out with, “How are you today?” say, “I’m so glad you asked, because no one these days seems to care, and I have all these problems. My arthritis is acting up, my eyelashes are sore, my dog has the gout…” If the company cleans rugs, respond: “Can you get out blood? Can you get out goat blood? How about human blood?” Tell the telemarketer you are busy at the moment and ask him/her if he/she will give you his/her home phone number so you can call him/her back. When the telemarketer explains that telemarketers cannot give out their home numbers say, “I guess you don’t want anyone bothering you at home, right?” The telemarketer will agree and you say, “Me either!” Hang up. Ask them to repeat everything they say several times. Insist that the caller is really your buddy Leon, playing a joke. “Come on, Leon, cut it out! Seriously, Leon, how’s your momma?” Tell them you are hard of hearing and that they need to speak up . . . louder . . . louder . . . When the salesperson asks, “Is this the homeowner?” say, “Is this the salesperson?” And when they say, “Yes,” hang up.

Powered by WordPress