Latest Updates: Fedora RSS

  • VirtualBox 3.0 in Fedora 11 

    magnusium 3:33 pm on July 8, 2009 Permalink | Reply
    Tags: Fedora, , VirtualBox

    How to get VirtualBox 3.0 installed with USB support on Fedora 11.

    We need to install a little something to get the module to actually build before we install Virtualbox.

    As root:

    # yum install dkms kernel-devel make automake autoconf gcc

    Then install VirtualBox:

    32bit:

    # rpm -Uhv http://download.virtualbox.org/virtualbox/3.0.0/VirtualBox-3.0.0_49315_fedora11-1.i586.rpm

    64bit

    # rpm -Uhv http://download.virtualbox.org/virtualbox/3.0.0/VirtualBox-3.0.0_49315_fedora11-1.x86_64.rpm

    Right, now for the usb part. Got to find out the Group ID for vboxusers now. Go to Administration -> Users and Groups.

    Remember the Group ID of vboxusers

    Remember the Group ID of vboxusers

    Select the vboxusers group and press properties, add yourself to this group.

    Add yourself to this group

    Add yourself to this group

    Now we just have to add this little line to /etc/fstab

    none /sys/bus/usb/drivers usbfs devgid=501,devmode=664 0 0

    note that 501 was the Group ID for vboxusers, which you are a member of, this grants you usb inside VirtualBox.

    Now, reboot and try out your virtual boxes!

    Thanks to readysleep for the fstab info!

     
    • Shaun 3:43 am on August 9, 2009 Permalink

      You’re a Genius, found this when I was about to give up!
      Thankyou so much, even works with my iPhone!
      Shaun

  • Fullscreen flash in firefox 3.5 

    magnusium 7:04 pm on July 6, 2009 Permalink | Reply
    Tags: , Fedora, , , ,

    Firefox 3.5 crashes when trying to view a flash video in fullscreen.
    Not to worry, for there is a workaround.

    in /usr/lib/firefox-3.5.1pre/firefox.sh

    EDIT: the path on Fedora 11 is: /usr/lib/firefox-3.5/run-mozilla.sh
    you add export LD_PRELOAD=/usr/lib/libGL.so.1 at the beginning of the file, but underneath #!/bin/sh

    So it looks like this:

    #!/bin/sh
    #fix the goddamn flash bug.
    export LD_PRELOAD=/usr/lib/libGL.so.1

    # Firefox launcher containing a Profile migration helper for
    # temporary profiles used during alpha and beta phases.

    Save, and try out some flash video in fullscreen.

    This should work for Archlinux, Fedora and Ubuntu. The path to firefox.sh might vary though.

    Workaround taken from https://bugs.launchpad.net/firefox/+bug/333127/comments/13

     
  • Amarok 2.1 and Fedora 11 KDE 

    magnusium 9:25 am on June 17, 2009 Permalink | Reply
    Tags: , Fedora, ,

    Howto get Amarok 2.1 to see your “iTunes” share, or mt-daapd in this case, also known as firefly.

    Obviously we begin by installing Amarok ;-) .

    I installed a bunch of stuff trying to get this to work, most of it avahi-related, but the thing that got it working was nss-mdns.

    Install a bunch of stuff:

    `yum install avahi-qt4 avahi-dnsconfd avahi-compat-libdns_sd kdnssd-avahi avahi nss-mdns libopendaap`

    EDIT: you only need nss-mdns, double checked.

    Don’t forget to open the port in the firewall.

    open port 5353

    open port 5353

    Fire up Amarok and listen away! Takes a while before you see your share, but it will show up.

     
  • Fedora 11 

    magnusium 7:56 pm on June 16, 2009 Permalink | Reply
    Tags: , Fedora, , ,

    This is a short howto get the Nvidia drivers and multimedia stuff installed on your new Fedora 11.
    I assume you have a newly installed system before following this. The first thing you want to do before you run

    `yum update`

    is to install yum-presto:

    `yum install yum-presto`,

    and save some time and bandwidth. Next up is to install dkms and the devel package for your running kernel,type in

    `uname -r`

    in your terminal, and if there is no PAE in there install kernel-devel:

    `yum install kernel-devel`

    Otherwise install kernel-PAE-devel:

    `yum install kernel-PAE-devel`

    Then run  yum update, and when that’s done, reboot.

    Nvidia drivers, for this we need to enable the RPMfusion repositories:

    `rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm`.

    Then install the driver, I use the akmod-nvidia package which builds the required module on reboot:

    `yum install akmod-nvidia xorg-x11-drv-nvidia-libs.i586 xorg-x11-drv-nvidia-libs.x86_64`,

    then reboot.

    When you get back you can go to http://www.adobe.com and download the yum flash-plugin for fedora, or click here and install:

    `http://get.adobe.com/flashplayer/thankyou/?installer=Flash_Player_10_for_Linux_(YUM)`

    The multimedia stuff is next:

    `yum install flash-plugin  gstreamer-ffmpeg gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly xine-lib-extras-freeworld gecko-mediaplayer`

    That’s that, you should now be able to enjoy all of the webs offerings!

    Credit where credit is due: Leigh on fedoraforums for an excellent Nvidia howto: http://forums.fedoraforum.org/showthread.php?t=204752

     
  • Fedora 10 Multimedia 

    magnusium 7:10 pm on November 30, 2008 Permalink | Reply
    Tags: Fedora, ,

    This post is to help set up multimedia on your freshly installed Fedora 10. What we want to do is get all of the webs multimedia to play on our system and install the necessary drivers for our graphics card. I have an old Nvidia 6200 card here, so I’ll use that one as an example.

    First we need to enable the repository for RPMFusion.org as it contains everything we need.

    Paste this in the terminal:

    su -c 'rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
    http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'
    
    That command installs the RPMFusion repository for you.
    Now the codecs we need:
    
    yum install gstreamer-ffmpeg gstreamer-plugins-good
    gstreamer-plugins-bad gstreamer-plugins-ugly
    gecko-mediaplayer mozilla-vlc xine-plugin xine-lib-extras
    xine-lib-extras-freeworld libquicktime x264 xvidcore
    
    Adobe's Flash Plugin:
    su -c 'rpm -Uvh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm'
    yum install flash-plugin
    
    Nvidia driver:
    yum install kmod-nvidia
    (not necessary as the 6200 is supported outofthebox™ it seems)
    
    All done!
    
    
     
    • Chris Pilkington 9:50 am on December 6, 2008 Permalink

      Definitely check that you have hardware acceleration for your video card. I had to do the last step with Fedora 10 and an 8600, glxgears was ~150 prior to yum install kmod-nvidia and ~5000 afterwards.

    • magnusium 9:54 am on December 6, 2008 Permalink

      glxinfo | grep direct shows it is enabled, but I don’t doubt that you get better performance using kmod-nvida.

  • Fedora 10 Autologin 

    magnusium 10:07 pm on October 27, 2008 Permalink | Reply
    Tags: autologin, Fedora,

    Took a small detour to Fedora land, I found no option how to enable autologin in gnome, so here’s how to do it.
    Please remember to back up your files first! :

    cp /etc/gdm/gdm.schemas /etc/gdm/gdm.schemas.backup
    nano /etc/gdm/gdm.schemas

    and locate

    `<schema>
    <key>daemon/AutomaticLoginEnable</key>
    <signature>b</signature>
    <default>false</default>  Change this to true.
    </schema>`

    And finally edit this:

    `<schema>
    <key>daemon/AutomaticLogin</key>
    <signature>s</signature>
    <default></default>  Put the username here.
    </schema>`

    If you have look a bit further down, you’ll find options how to enable timed login too, if you use that instead you must leave auto login disabled.

    Thanks to this post on linuxquestions that led me to the answer.

    Update: edited post with better example.

    Update 2!

    Thanks to JGV in the comments below for pointing this out!

    The even simpler solution:

    `* edit /etc/gdm/custom.conf
    * add section [daemon] to this file
    * inside this section, add lines:
    AutomaticLoginEnable=true
    AutomaticLogin=username`

     
    • Mariusz 2:46 pm on December 16, 2008 Permalink

      Hi Magnus. thanks for this post. this is working great. I’ve made a Danish translation of this post at my guides blog. I’ve credited you for it and made a trackback. I hope that’s okay with you.
      http://guide.xodeus.dk/2008/12/16/automatisk-login-til-fedora-10/

    • magnusium 4:02 pm on December 16, 2008 Permalink

      Yes it’s okay. Interesting blog you have there! :)

    • Jacob Lunde 3:20 am on January 25, 2009 Permalink

      Thank you so much, I haven’t tried on 10 yet as I know it wasn’t working in 9 (when I looked for it) I am glad they are allowing it now, I just wish they would add it to some kinda admin option now.

    • HT 6:41 am on February 3, 2009 Permalink

      what if KDM is used as DISPLAYMANAGER but GDM as desktop
      e.g.
      DESKTOP=”KDE”
      DISPLAYMANAGER=”KDE”

    • JGV 10:57 am on February 13, 2009 Permalink

      I think this is simpler:

      * edit /etc/gdm/custom.conf
      * add section [daemon] to this file
      * inside this section, add lines:
      AutomaticLoginEnable=true
      AutomaticLogin=

    • JGV 10:58 am on February 13, 2009 Permalink

      I think this is simpler:

      * edit /etc/gdm/custom.conf
      * add section [daemon] to this file
      * inside this section, add lines:
      AutomaticLoginEnable=true
      AutomaticLogin=username

    • zichzach 5:03 pm on February 26, 2009 Permalink

      Thanks I was looking for this to automate the login of my mythtv front end.

    • aruhadi 2:44 am on June 17, 2009 Permalink

      hello, nice posting.

      thanks a lot, this is helpfully.

c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
esc
cancel