Tag: Ubuntu 8.04
Install Second Life on Ubuntu Hardy Heron
by Craig Mayhew on May.11, 2009, under Guides/Fixes, Linux/Ubuntu
If you want to get the STABLE RELEASE of the ubuntu second life viewer, eg the same as the lindens official release then add the following lines to your /etc/apt/sources.list (you will need to do this as root e.g. sudo vim /etc/apt/sources.list):
# Second Life (Open Metaverse viewer) deb http://ppa.launchpad.net/openmetaverse/ubuntu hardy main deb-src http://ppa.launchpad.net/openmetaverse/ubuntu hardy main
Note: If you are not running hardy heron but instead are running a later version of ubuntu then you can change the “hardy” bit to e.g. “intrepid” or “jaunty” and it should work just fine.
Update lists:
sudo apt-get update
Install Second Life:
sudo apt-get install omvviewer
You should then find in the Applications menu, under games is the “Open Metaverse viewer” aka second life!
Ubuntu 8.04: $HOME/.dmrc File is Being Ignored
by Craig Mayhew on Nov.11, 2008, under Guides/Fixes, Linux/Ubuntu
After installing the latest version of wine via command line and rebooted ubuntu, I was greeted by this message after typing my user/pass and logging in.
“User’s $HOME/.dmrc file is being ignored. This prevents the default sessin and language from being saved. File should be owned by user and have 644 permissions. User’s $HOME directory must be owned by user and not writable by other users.”
I could login in OK, but something was clearly wrong and needed fixing. Change my name to your user name. Here’s how to fix it:
sudo chmod 644 /home/craig/.dmrc sudo chown craig /home/craig/.dmrc sudo chmod -R 700 /home/craig sudo chown -R craig /home/craig
(If you get permission errors when trying this then drop out of the GUI and into recovery mode. This can be done by pressing Esc on the grub screen and selecting the latest recovery version)
I’m not sure precisely why this error message started appearing, but it had something to do with the way I installed the latest wine. I did via command line and not by the package manager.
VPN Client in Ubuntu 8.04
by Craig Mayhew on Nov.04, 2008, under Guides/Fixes, Linux/Ubuntu
Here’s an excellent guide to getting VPN connections working in gutsy and hardy.
http://tipotheday.com/2007/11/28/connect-to-windows-vpn-server-pptp-with-ubuntu-gutsy/
Unfortunately when using the network-manager-pptp package there is a bug with one of the network packages that prevents anyone with a static IP from succesfully connecting to a VPN server. When you left click your network icon you should see one of your network connections as selected. If they are all greyed out then you will suffer from this VPN issue. Unfortunately at the time of writing there is no fix other than to set your network connection from a static IP to roaming mode. Some people have suggested that Interpid Ibex will have a fix for this problem.
The bug tracker for this can be found at https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/116274
Does anyone know a better work-around for this?
Installing the GeForce GTX 260 on Ubuntu 8.04 64Bit
by Craig Mayhew on Oct.25, 2008, under Guides/Fixes, Linux/Ubuntu
Installing the drivers for the GeForce GTX 260 on Ubuntu 8.04 64 Bit is not exactly intuitive. The drivers aren’t found under “System > Administration > Hardware Drivers”. The drivers instead need to be downloaded directly from the nvidia site. The furthest I managed to get before finding this guide was getting the drivers to work fine until the computer was restarted, at which point it reverted back to “safe graphics mode”. However a person going by the alias of “starcannon” has been kind enough to post this guide on the Ubuntu forum. The original version is available at http://ubuntuforums.org/showpost.php?p=5086971.
Print out this guide, you will be in pure CLI for part of the install. 1) Download the driver for your Nvidia Card from http://www.nvidia.com/Download/index.aspx?lang=en-us 1.a) Make sure its in your home directory, this will make it so we don't have to change directories later when were in terminal. 2) Open a terminal: Applications--> Accessories--> Terminal 3) sudo apt-get install build-essential 4) gksudo gedit /etc/modules 4.a) Add "nvidia" without quotes to the list. 4.b) Save and Exit 5) gksudo gedit /etc/default/linux-restricted-modules-common 5.a) Add "nv" without quotes to the restricted list. It should look exactly like this: DISABLED_MODULES="nv" 5.b) Save and Exit 6) sudo cp /etc/X11/xorg.conf ./xorg.conf.backup 7) sudo rm /etc/X11/xorg.conf 7.a) Were just deleting your old xorg.conf file, we backed it up in step 6 just in case we ever need it back again. 7.b) Getting rid of old drivers, use one or more of the sections that apply to you: ------------------------------------------------------------------------------------------------------ If you used Envy to attempt a previous nvidia install please run this command now before you go on: sudo envy --uninstall-all sudo dpkg -P envy ------------------------------------------------------------------------------------------------------ If you have some old Ubuntu repository/restricted driver manager attempts installed please run this command before you go on: sudo apt-get remove --purge nvidia* sudo rm /lib/restricted-modules/.nvidia* ------------------------------------------------------------------------------------------------------ If you have a failed NVIDIA*.run (drivers from the nvidia.com site) run this command before you go on: sudo nvidia-installer --uninstall ------------------------------------------------------------------------------------------------------ ######################################## ##................................................................................## ## Alright Now Assuming That You are starting with a clean slate lets move forward## ##................................................................................## ######################################## 8) CTRL-ALT-F1 8.a) Okay were in Command Line only now, we have a little left to do in here. 8.b)login: 8.c)Password: 9) sudo /etc/init.d/gdm stop 9.a) This step shuts down the x-server and gnome desktop manager 10) sudo chmod a+x ./NVIDIA*.run 10.a) We made the nvidia installer executable. 11) sudo ./NVIDIA*.run 11.a) Answer to the affirmative for all questions. 11.b) Be sure to specifically say you DO WANT it to write a new xorg.conf 11.c) If you somehow answered incorrectly on the last question in the installer then: c.I) sudo nvidia-xconfig #this will write a new or attempt repair of an xorg.conf file for you. 12) sudo /etc/init.d/gdm start 12.a) You should see an Nvidia Logo, and then be put at your login screen, you should also be able to enable desktop effects. Optional But recommended: 13) To get the driver to update itself when a new kernel is installed from the update manager be sure to follow the guide in this link: http://ubuntuforums.org/showpost.php?p=5227704&postcount=1 Here's a click link for the guide mention in step 13 http://ubuntuforums.org/showpost.php...04&postcount=1 I will continue to update this guide as I find new things, but I am not really following this thread any longer as the OP seems to have moved on. If I refer you to this guide from another thread, then please continue posting in the thread we met on. GL and hope this guide helps you. ~Starcannon
Installing Ubuntu 8.04 64Bit on an Asus P5Q Premium Motherboard with SATA drive
by Craig Mayhew on Oct.25, 2008, under Guides/Fixes, Linux/Ubuntu
Thought I’d share some quick fixes to get Ubuntu 8.04 working on an Asus P5Q Premium motherboard. These will probably also help with similar problems in Ubuntu 7.04 and Ubuntu 7.10 when using SATA drives.
The problems I had were centred around using a 64GB OCZ Solid State SATA drive. The installer would hang most of the time and when it did finally make it to the disk partitioning stage it couldn’t see the hard disk.
Enter into the motherboard BIOS and change the following options:
- Under Main / Storage Configuration change “Configure SATA as …” to AHCI. This will fix linux not being able to see the SATA drive.
Hope that saves you some time and trouble!
Synergy Client Startup on Ubuntu 8.04
by Craig Mayhew on Aug.15, 2008, under Guides/Fixes
To automatically start synergy at the login screen:
Run “sudo vim /etc/gdm/Init/Default” in the command window. This will run the vim text editor to edit the startup script of gdm.
Add the following chunk of text at the beginning of the file. Replace CLIENTNAME AND SERVERIP with your relevant synergy client name and synergy server ip. This loads synergy when kdm is loaded.
# ADDED FOR SYNERGY
/usr/bin/killall synergyc
sleep 1
/usr/bin/synergyc –daemon –name CLIENTNAME SERVERIP
# END SYNERGY
To get synergy to start once you have logged in:
In the menu simply goto System Menu->Preferences->Sessions, click the Startup Programs tab, click “Add” then just enter the Startup Command:
synergyc –daemon –name CLIENTNAME SERVERIP