Planet Ubuntu
Interested in Open Source NVIDIA Drivers? Sign the Letter.
Mon, 03/03/2008 - 10:35 — Ross PeoplesI personally don't use NVIDIA graphics cards in my machine, but since ATI/AMD have made the promise to create an open source driver for its hardware, it's only fair that NVIDIA do the same. If you would like to petition NVIDIA to open its drivers up to the FOSS community, please sign the letter.
Start a GUI Application as Current User over SSH
Thu, 02/28/2008 - 20:46 — Ross PeoplesWhile working on a project, my girlfriend, who was on the couch surfing the web, asked me for the address of something I found on the web. At the time I thought how helpful it would be to direct her browser right to the page instead of waiting for her to get on instant messaging and explaining how to copy and paste the URL into the browser. I snooped around with Google for a couple minutes and figured it out.
This method can be used for a number of things. The first one that comes to mind is helping a family member find the program they are looking for without bothering with VNC. Another reason could be to notify someone on the computer that you need to reboot it. There are a couple of requirements:
- The remote machine must be running an SSH server and it must be accessible
- You must have a user account on the remote machine with sudo ability
- You must know the username of the person currently logged in to the remote machine
If all those requirements are met, you can continue:
- Log in using SSH to the remote machine
- Enter this command (replacing username with the username of the person currently on the remote computer): sudo su username
- Enter this command (replacing command with the command you want to run): DISPLAY=:0 command
That's it! Now, you will most likely want to follow the command with an ampersand (&). This will return you back to the terminal once you run the command. Otherwise, you will have to wait until the command finishes before you will be able to use the terminal again.
So, to open the remote browser to the site, I would have entered: DISPLAY=:0 firefox "http://www.google.com" &
Very cool!
Ubuntu Brainstorm Such a Success The Servers Can't Even Keep Up
Thu, 02/28/2008 - 17:25 — Ross PeoplesSince the Ubuntu Brainstorm project opened up not two hours ago to Planet Ubuntu, 230 ideas have already been posted. It hit Digg and the servers slowed to a crawl. Now that it's hit Slashdot, it's nearly inaccessible. I have already posted two of my ideas, which I would love to see implemented some day.
For those that don't know what Ubuntu Brainstorm is, it allows users to submit their ideas on how to improve Ubuntu and have other users rate the idea to help developers decide which features are most desired by the community. Awesome idea in itself, if you ask me.
Run VirtualBox VM as a System Service
Wed, 02/20/2008 - 10:37 — Ross PeoplesRecently, I installed Ubuntu on my last Windows server at home. There are a couple Windows-only applications that don't run in Wine, so I needed to virtualize an XP machine for those applications. One of these applications needs to run all the time as a service, and since it would be running on a Ubuntu server, I needed a way to start the VM when the physical machine starts, not when I log in. I installed VMware Server, as it has an option to start a VM on system boot. But there's a catch, the server I installed it on is a headless server, and I want to be able to control the VM from another machine without installing a full-blown VMware Server on the client machine. Then, I saw that VirtualBox has the ability to run an RDP layer on top of the VM.
So, I uninstalled VMware and installed the non-open-source edition of VirtualBox. The only problem is, VirtualBox does not have an option to start a VM on system boot, so I went looking for a way. After reading the documentation, I found that you can start and shutdown VMs from the terminal and it works great. Now, I just needed to have it start on boot. Since I've never written an init script before, this proved to be a little troublesome, but in the end, I got it to work. Of course, I have no idea how good or bad the implementation is, but it works. Initially, I posted a question in the Ubuntu Forums for help and ended up posting my init script. I hope it can help someone, and I also hope that some of you elite init scripters can fix my likely horrible init sciprt
.
Original post: http://ubuntuforums.org/showthread.php?t=701735
DreamWorks Wins the Annie Award for Work With Linux
Tue, 02/12/2008 - 09:16 — Ross PeoplesI have an uncle that works for DreamWorks Animation. They did Shrek, Bee Movie, and Over The Hedge to name a few. They just won the Annie Award for thier use of open source software to produce these movies. The whole story is on Red Hat's site.
