RSS Entries RSS
RSS Subscribe by Email

openSUSE 11.1 Installation and Setup

openSUSE 11.0 was the best Linux distribution I’ve ever used.  I was hoping openSUSE 11.1 would continue the great strides of late, but it’s a bit of a mixed bag.  One of the most frustrating things for me is that support for remote access is falling by the wayside.  VNC used to be better integrated with openSUSE, but they removed integrated support in favor of KDE’s krfb, which is badly broken.  The package management in openSUSE 11.0 and 11.1 is enough to suggest upgrading if you’re using an older version – it is absolutely great, especially for those of us who have been around long enough to see the pains it’s gone through.  If you want to get up and running with openSUSE 11.1 then there are likely a few customizations you’ll want to make.

Upgrade to KDE 4.2

It’d be nice if openSUSE and KDE could sync up their release schedules a bit better.  KDE 4.2 came out a month or so after openSUSE 11.1 and you’ll likely want the upgrade.  I experienced some annoying but not critical bugs with the version that shipped.

  1. YaST > “Software” > “Software Repositories”
  2. Click “Add”
  3. Select “Specify URL”
  4. Enter: http://download.opensuse.org/repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_Factory/
  5. Also add: http://download.opensuse.org/repositories/KDE:/Qt/openSUSE_Factory/
  6. Uncheck “Dependencies” > “Autocheck”
  7. Do a search for QT and another for KDE
  8. Check all the boxes where “Installed (Available)” is blue
  9. Recheck “Dependencies” > “Autocheck” and resolve any dependency problems
  10. Hit “Accept” to install the selected packages

Setup Multimedia

This is a perennial setup step on Linux distributions.  We’ll install the codecs needed to watch DVDs, handle MP3s, etc.

  1. YaST > “Software” > “Software Repositories”
  2. Click “Add”
  3. Select “Community Repositories”
  4. Select “Packman Repository” and “VideoLan Repository”
  5. YaST > “Software” > “Software Management”
  6. Install libffmepg0 and libdvdcss.  Also, if you want to be able to watch ASF streams you should install mplayer-plugin.
  7. Start Kaffeine and tell it to handle mms and rtsp streams when it asks

Install NVIDIA drivers

If you have an NVIDIA card, then you’ll want to install the drivers.

  1. YaST > “Software” > “Software Repositories”
  2. Click “Add”
  3. Select “Community Repositories”
  4. Select “NVIDIA Repository”
  5. YaST > “Software” > “Software Management”
  6. Install “nvidia-gfxGO2-kmp-default”

Install CD Ripper

For some reason, openSUSE 11.1 no longer ships with KAudioCreator installed by default.  My guess would be that it hasn’t been ported to KDE4 yet, but it’s nice to have, so we’ll go ahead and install it anyway.  We’ll also change KAudioCreator’s (stupid) default setting of not looking up CDDB information that hasn’t been cached on the local system.

  1. YaST > “Software” > “Software Repositories”
  2. Click “Add”
  3. Select “Community Repositories”
  4. Select “openSUSE BuildService – KDE:Community”
  5. YaST > “Software” > “Software Management”
  6. Install “kdemultimedia3-CD”
  7. Open kaudiocreator
  8. Select “Settings” > “Configure KAudioCreator …” > “CDDB”
  9. Set lookup to “Cache and remote”

Upgrade WINE

WINE is continuing to evolve and getting closer every day to reaching maturity.  You’ll likely want the latest version instead of the one that was the latest when openSUSE shipped.

  1. YaST > “Software” > “Software Repositories”
  2. Click “Add”
  3. Select “Community Repositories”
  4. Select “openSUSE BuildService – Wine CVS Builds”
  5. YaST > “Software” > “Software Management”
  6. Do a search for wine and click the check mark until version upgrade is selected

Setup a static IP address

Having a static IP address is very nice when you want to remote desktop to your server or access it in some other way without worrying about what the IP address is.  There may also need to be some configuration done on your router for this one.  Or you may prefer to investigate DHCP reservations if your router supports them.

  1. YaST > “Network Devices” > “Network Settings”
  2. Under “Overview”, select your network card and click “Edit”
  3. Enter your static IP (besure to also enter DNS and gateway information)
  4. Hit save

Setup remote desktop through NX

The two main remote desktop softwares for Linux are VLC and NX.  NX is much faster, but unfortunately I’ve had some problems with desktop sharing with 11.1 vs. 11.0.  If you get 11.1 to shadow properly then please let me know.  In addition to installing NX, we’ll also open the corresponding port in the firewall so that we can connect from another machine.

  1. Download the NX Linux packages
  2. Run “rpm -iv nxclient-3.3.0-3.i386.rpm”, “rpm -iv nxnode-3.3.0-3.i386.rpm”, and “rpm -iv nxserver-3.3.0-3.i386.rpm”
  3. Run “/usr/NX/scripts/setup/nxserver –install”
  4. Run “/usr/NX/bin/nxserver –keygen”
  5. In your NX client, open “Configure…” > “General” tab > “Key …”
  6. Copy the contents of “/usr/NX/share/keys/default.id_dsa.key” into the key window and save it
  7. Open “/usr/NX/etc/server.cfg”
  8. Change line 563 from ‘EnableSessionShadowingAuthorization = “1″‘ to ‘EnableSessionShadowingAuthorization = “0″‘ which will enable you to select “Shadow” in the client under the “General” tab’s “Desktop” framebox if you’d like to do desktop sharing
  9. YaST > “Security and Users” > “Firewall” > “Allowed Services”
  10. Allow “Secure Shell Server”

Setup Network File Share using Samba

Samba allows you to share files on your computer with others on the network.

  1. YaST > “Software” > “Software Management”
  2. Install “samba” if it is not already installed
  3. YaST > “Network Services” > “Samba Server”
  4. Tell it to unblock the firewall
  5. Change sharing settings as you’d like and hit “Finish”
  6. Add a user to Samba by running “smbpasswd -a username” where username is the user you’d like to create.
  7. Connect from your Windows machine by right clicking “My Computer” and browsing your network.  If you have trouble connecting you might also try opening a “Run…” dialog off the start menu and typing in your IP address with two leading slashes “\\192.168.10.x”
Share and Enjoy:
  • Add to favorites
  • HackerNews
  • DZone
  • Reddit
  • del.icio.us
  • StumbleUpon
  • Slashdot
  • Digg
  • Google Bookmarks
  • Facebook

Tags: ,

10 Comments »

  1. spark said,

    March 6, 2009 at 11:02 am

    dude, your instructions for setting up FreeNX are wrong.

    # Run “/usr/NX/scripts/setup/nxserver –install”
    # Run “/usr/NX/bin/nxserver –keygen”

    should be:

    nxsetup –install

    also, -keygen is not a valid script.

    but, nxsetup –install –setup-nomachine-key is valid

  2. Ben said,

    March 6, 2009 at 2:19 pm

    My instructions for NX are for NX. Not for FreeNX.

  3. Danilo said,

    March 22, 2009 at 10:14 pm

    Thanks,
    I am a newbie in Open Suse 11.1, but your instructions did work very good in my computer,
    good job buddy

    Dan

  4. Ben said,

    March 22, 2009 at 10:30 pm

    Hi Dan,
    If you clarify, I’m more than happy to update if there’s a section that is wrong or not clear enough.

    -Ben

  5. ls said,

    April 1, 2009 at 9:46 pm

    Hi i fallow the way that u mention creating the NXserver.. but it’s not working….
    linux-7gl0:/usr/NX/scripts/setup # ./nxserver –install
    NX> 704 ERROR: Unknown action ‘–install’.

    Usage: nxserver ACTION

    Actions:

    –install {SYSTEM} Run the NX server install procedure for the
    specified system or distribuition

    –update {SYSTEM} Run the NX server update procedure for the
    specified system or distribution

    –uninstall Run the NX server uninstall procedure for the
    specified system or distribution

    –pre-uninstall Disable access to new NX sessions, terminate
    sessions and reset the session DBs.

    –keygen Generate a new pair of SSH keys. After run-
    ning this procedure, the NX clients will use
    the key: /usr/NX/share/keys/default.id_dsa.key
    to connect to this NX server.

    –help Show this message

    The specified SYSTEM must be one of the following operating systems,
    or none. In the latter case the NX setup will try to autodetect the
    system or will choose the layout that better resembles one of the
    known systems.

    redhat RedHat 7.3, 8.0, 9.0, AS, ES, etc.
    suse SuSE 7.3, 8.x, 9.x, etc.
    mandrake Mandrake 9.2 10.x, etc.
    debian Debian Woody 3.0, Unstable, Ubuntu, etc.
    solaris Sun Solaris 8.0, 9.0, 10.0, etc.
    fedora Fedora Core 1, 2, 3, 4, 5, etc.

  6. Ben said,

    April 2, 2009 at 1:27 am

    Well the error message for your version of NX says it expects:
    ./nxserver –install suse

  7. Chet said,

    June 4, 2009 at 10:22 am

    Thanks for the instructions on NX. I am a newbie and I was pulling my hair out trying to get VNC working. I followed your instructions and NX jumped to life immediately. :-)

  8. mike w said,

    July 1, 2009 at 1:08 pm

    I just got a desktop and installed Suse 11.1. Your tips are really helpful!

    I am trying to figure out if NX will be useful to remotely connect to this
    suse desktop from my Macbook Pro on OSX 10.5.7.

    I use “Microsoft Remote Desktop Connection Client for Mac” version 2.0 to connect to a windows desktop,
    but I don’t know of a similar product to connect to a suse desktop (e.g. Suse Remote Desktop Connection Client for Mac).

    I’ll keep hunting, but if you have heard of the client software I need for my Mac, please let me know.
    –Mike

  9. Ben said,

    July 1, 2009 at 1:13 pm

    Mike,
    You want to setup NX server on your Suse desktop and then connect from your Mac with the NX client.
    You can download NX client for Mac OSX here:
    http://www.nomachine.com/download.php

  10. Bisto said,

    August 14, 2009 at 8:58 am

    Thanks a lot for the Media info. You are hereby bookmarked. :0)

RSS feed for comments on this post · TrackBack URL

Leave a Comment