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.
- YaST > “Software” > “Software Repositories”
- Click “Add”
- Select “Specify URL”
- Enter: http://download.opensuse.org/repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_Factory/
- Also add: http://download.opensuse.org/repositories/KDE:/Qt/openSUSE_Factory/
- Uncheck “Dependencies” > “Autocheck”
- Do a search for QT and another for KDE
- Check all the boxes where “Installed (Available)” is blue
- Recheck “Dependencies” > “Autocheck” and resolve any dependency problems
- 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.
- YaST > “Software” > “Software Repositories”
- Click “Add”
- Select “Community Repositories”
- Select “Packman Repository” and “VideoLan Repository”
- YaST > “Software” > “Software Management”
- Install libffmepg0 and libdvdcss. Also, if you want to be able to watch ASF streams you should install mplayer-plugin.
- 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.
- YaST > “Software” > “Software Repositories”
- Click “Add”
- Select “Community Repositories”
- Select “NVIDIA Repository”
- YaST > “Software” > “Software Management”
- 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.
- YaST > “Software” > “Software Repositories”
- Click “Add”
- Select “Community Repositories”
- Select “openSUSE BuildService – KDE:Community”
- YaST > “Software” > “Software Management”
- Install “kdemultimedia3-CD”
- Open kaudiocreator
- Select “Settings” > “Configure KAudioCreator …” > “CDDB”
- 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.
- YaST > “Software” > “Software Repositories”
- Click “Add”
- Select “Community Repositories”
- Select “openSUSE BuildService – Wine CVS Builds”
- YaST > “Software” > “Software Management”
- 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.
- YaST > “Network Devices” > “Network Settings”
- Under “Overview”, select your network card and click “Edit”
- Enter your static IP (besure to also enter DNS and gateway information)
- 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.
- Download the NX Linux packages
- 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”
- Run “/usr/NX/scripts/setup/nxserver –install”
- Run “/usr/NX/bin/nxserver –keygen”
- In your NX client, open “Configure…” > “General” tab > “Key …”
- Copy the contents of “/usr/NX/share/keys/default.id_dsa.key” into the key window and save it
- Open “/usr/NX/etc/server.cfg”
- 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
- YaST > “Security and Users” > “Firewall” > “Allowed Services”
- Allow “Secure Shell Server”
Setup Network File Share using Samba
Samba allows you to share files on your computer with others on the network.
- YaST > “Software” > “Software Management”
- Install “samba” if it is not already installed
- YaST > “Network Services” > “Samba Server”
- Tell it to unblock the firewall
- Change sharing settings as you’d like and hit “Finish”
- Add a user to Samba by running “smbpasswd -a username” where username is the user you’d like to create.
- 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”
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
My instructions for NX are for NX. Not for FreeNX.
Thanks,
I am a newbie in Open Suse 11.1, but your instructions did work very good in my computer,
good job buddy
Dan
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
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.
Well the error message for your version of NX says it expects:
./nxserver –install suse
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. 🙂
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
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
Thanks a lot for the Media info. You are hereby bookmarked. :0)