Ubuntu blogs

VNC as a system service.

x11vnc root 0.  I just wana login/out from my gdm over vnc. I want to play on my computer while getting paid hourly at work. I found all the other walkthrews, tutorials, howtos to be annoying and not to the point.

  1. First, disable Desktop Sharing under System -> Preferences -> Remote Desktop.
  2. sudo apt-get install x11vnc
  3. sudo x11vnc -storepasswd yourpasswordhere /etc/x11vnc.pass
  4. sudo nano /etc/X11/gdm/Init/Default
  5. add this line to the bottom above exit  /usr/bin/x11vnc -rfbauth /etc/x11vnc.pass -o /tmp/x11vnc.log -forever -bg -rfbport 5900
  6. sudo gedit /etc/X11/gdm/gdm.conf then search for search for #KillInitClients=true Uncomment KillInitClients and change true to false so you don’t get your session killed after you log in. 

Edit fstab to mount partition at startup

This example mounts the first partition of the first disk so it is available whenever you start your computer. Edgy does this by default but technique is useful for Dapper or Breezy or other distros.

  • First create a mount point for the drive sudo mkdir /media/hda1 note that you can mount the device anywhere and call it whatever you want. It may be a good idea to stick with the conventional locations of either /mnt/ or /media/. The hda1 part means hard drive "a" partition "1"
  • Open a terminal and back up the existing fstab file sudo cp /etc/fstab /etc/fstab.bak
  • Edit the fstab sudo kate /etc/fstab
  • next, add this line to the fstab file assuming your hda1 filesystem is ntfs: /dev/hda1 /media/hda1 ntfs defaults 0 0
  • In the terminal again, enter sudo mount -a to refresh the fstab.
  • Enter cd /media/hda1 then dir to test

Remotely Manage Machines Using VNC

VNC stands for Virtual Network Computing. It is, in essence, a remote display system which allows you to view a computing `desktop’ environment not only on the machine where it is running, but from anywhere on the Internet and from a wide variety of machine architectures.http://www.debianadmin.com/remotely-manage-machines-using-vnc.html

Flash Player Version 9 Beta

Installed FlashPlayer 9 beta today and it works okay but you probably want to retain existing flash player 7. (backup instructions below)

  • First, I downloaded the beta from http://labs.adobe.com/downloads/flashplayer9.html to my desktop.
  • Click on the downloaded file and extract to desktop
  • next, I used the find files gui to locate my existing libflashplayer.so location. It should be in a "plugins" folder.
  • next I backed up my existing file sudo cp /usr/local/firefox32/plugins/libflashplayer.so /usr/local/firefox32/plugins/libflashplayer.so.bak
  • then I copied the new file from desktop to plugins folder sudo cp /home/user/Desktop/flash-player-plugin-9.0.21.55/libflashplayer.so /usr/local/firefox32/plugins/libflashplayer.so(note you must insert your user name where I put user in italics.)
  • Finally, I tested the player by navigating to http://www.adobe.com/products/flash/about/ and my browser crashed. Don't worry, I simply restarted, navigated to the test page again and it worked fine. No more "You must have flash player 9 installed to view this content" messages. WooHoo!

need help setting up my wireless radio on my laptop

    I am trying to set up my wireless radio on my Toshiba Satellite laptop,  it has an Intel Pro/wireless 3945ABG hardware.  Iam lost,  I downloaded the driver from the intel web site and have been unable to install it properly , I would like to use the wireless feature but will need some help to install it, has anyone been successful at performing this task?John

mIRC on ubuntu

So I was board and was wondering if mIRC would work on Ubuntu threw wine. Now don't give me that xchat is better blah blah blah, because I agree fully. I installed wine via automatix2 (check out there site on how). I just ran threw the install got it on. Whent to mirc.com firefox said open with wine. Sure why not? The installer launched I didn't feel lucky so  I didn't install anything but the base program files package. It ran it worked, I got on an fserv, I started a few sends from some bots. Yeah I didnt feel as 'ub3r nix d00d0rz' but it was fun. Just felt like sharing :)-ech0.

Hi

I just joined Ubuntux. I'm an Ubuntu User and Ubuntu fan. I'm using Ubuntu for the past 2 years. I was using Fedora before. I just wanted to say Hi to all Ubuntux members. I have my personal blog at http://www.arun-prabha.com/wdpress/ which I update regularly. Visit my blog and post your comments whenever you can.

Introduce Myself

Hello everyone, Just wanted to post my first blog and introduce myself to everyone here. My name is Eric and I'm from Newport News, Virginia USA. I finally got the cuts to move into the Linux world and join the great helpful community. A quick background of myself is I have been touching on a keyboard since I have been 7 years old which was a old Epson computer, LOL Also I was a great Windows Fan in my begining days and thought Windows was the greatest operating system ever. Until I started to grow up and do more on a computer I came realize that Windows was not. So I've seen in first hand Linux at work and one day I decided to put in Red Hat Linux with no idea what it was or anything. All I knew was I could download it for free and it was Operating System. Well I did'nt enjoy it not because Linux Stink to me, Just because I was not ready. So I continue to use Windows and then I got very frustrated and then I decided to start look else where for a Operating System that I could enjoy using and not have to worry about all these crazy things that Windows gave me from Virus to BLUE SCREEN OF DEATH!!!  So I finally made a move to Apple OS and now I really enjoyed this operating system very stable and great and all I could say is I learned alot from this Operating System. So now I meet a couple of people in the forums and they told me about Ubuntu Linux, now being my past experience with Linux which was years ago. So I looked into it and finally had them send me some discs but my for Mac Mini. Now not to long ago about 4 days now, I have been running Ubuntu Linux and so far I'm loving it! Great to use the community is great and I'm really enjoying myself with this Operating System. It is amazing how big Linux has grown and how everyone and the communities out there have been into Ubuntu Linux and are enjoying it as well.

Hello World.

I have been using Ubuntu for a few months now. Its pretty good I must say, as a former Slackware fan the transition was pretty easy for me. I have my machine all setup, my web server all setup, and my fileserver all setup. That pretty much leaves me with no real problems to solve or ideas to post. When I move into my new place next month I’m going to redo everything. Setup a Ubuntu based machine to handle all my downloads and file sharing.  I'm also into the idea of a Ubuntu based storage cluster, but that might not pan out.  I'll post something useful sometime. -ech0.

Screensavers

Ron down at the computer repair shop showed me this trick on his Red Hat system to run screensavers as a desktop background. Works on Ubuntu also.

  • From the settings program open "desktop/behavior" check the field to "allow programs in desktop window".
  • Open terminal and navigate to cd /usr/lib/xscreensaver
  • Enter dir and select a filename.
  • Insert filename into this code ./filename -root &
  • The ampersand at the end sends the command to the background and gives you a pid number. Type kill replacewithpid# to stop the process.
  • Depending on the capabilty of your system, you may be able to run multiple screensavers at the same time.
  • entering ./filename --help will give you more options for individual screensavers.

Webcollage is an xscreensaver that grabs images from the web and uses them to form a collage in the root window.

  • Assuming you are still in the /usr/lib/xscreensaver directory enter ./webcollage -root -dictionary /usr/share/dict/american-english to run.

Install .rpm Files in Debian and Ubuntu

Some time you might find some applications are having only .rpm files but you want a .deb package for your debian,Ubuntu and other debian derived ditributions.If you can’t find .deb debian package in any of the debian,ubuntu repositories or elsewhere, you can use the alien package converter  to install the .rpm file.http://www.debianadmin.com/install-rpm-files-in-debian-and-ubuntu.html

Running Internet Explorer in Debian and ubuntu Linux

No clicks needed. No boring setup processes. No Wine complications. Just one easy script and you’ll get three IE versions to test your Sites. And it’s free and open source.This may be very helpful for software developers and web developers to test their applications.http://www.debianadmin.com/running-internet-explorer-debian-and-ubuntu-linux.html

Partition Easily using Gparted Live

Well, well, well, it's been about 45 days since I last booted in to my XP partition so I decided to shrink it and make space for new partitions in order to install the latest Edgy knot.

  1. Downloaded Gparted Live 0.3.1-1 Burned as ISO using K3B.
  2. Booted into XP and verified that I had all my music, videos, and documents backed up to the fat32 partition. Deleted all copies on ntfs partition. Opened add remove programs and uninstalled all the Windows versions of programs that I also have on Ubuntu and all programs that I rarely used. Retained all programs that I might use if I ever boot into XP again. Opened and ran disk cleanup wizard. Ran disk defragmenter about five times.
  3. Rebooted with Gparted Live disk. Wow! Amazing program. Only 85MB on the disk and loads linux to ram in less than two minutes! Resized ntfs from 97GB to 40GB.
  4. Decided to use some of that 50GB of free space to try Edgy Eft Knot3. Downloaded, burned as ISO (K3B again), and rebooted. Booted live Edgy disk, clicked the install icon, and ran into a little problem. My disk already had four primary partitions and the newly freed space was not in the extended partition. Was unable to proceed using installation partitioner.
  5. Rebooted with Gparted Live disk. First, I moved my second primary partition (/home) as far left as I could enlarging it by about 10GB as I did. This placed the free space next to my extended partition. Second, I enlarged the extended partition to encompass the free space.

Kubuntu 6.06 LTS Installation Walkthrough with Screenshots

Kubuntu is a user friendly operating system based on KDE, the K Desktop Environment. With a predictable 6 month release cycle and part of the Ubuntu project, Kubuntu is the GNU/Linux distribution for everyone.http://www.debianadmin.com/kubuntu-606-lts-installation-with-screenshots.html

Combine .rar files using unrar

Download all parts rar to desired folder.
(cd /download/folder/)
(unrar e part01.rar)
of course, you must enter the correct filename.
You will only need to unrar the part01.rar.
Unrar will extract and combine all parts and write completed file to your /download/folder/.
If there are broken parts, unrar will not save the combined file.
In that case add the -kb switch.
(unrar e -kb part01.rar)
I clean up the folder using
(rm *.rar)