Thursday, January 5, 2012

Getting Citrix Receiver to work

using the latest version of the  citrix receiver.  http://www.citrix.com/lang/English/lp/lp_2309126.asp?ntref=DLpromo1

download the .deb client.   Let it install using defaults (it will ask for root).

For firefox run: sudo cp /usr/share/ca-certificates/mozilla/*.* /opt/Citrix/ICAClient/keystore/cacerts/

now to try  chromium

Monday, January 2, 2012

Moving from 10.10 to 11.10 was a major step backwards in terms of my dual head setup.  Today I am going to try to rectify this problem.

First to identify my hardware and driver level.

lspci | grep VGA

01:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce 9500 GT] (rev a1)

and now the driver level. 


I am going to use this site to help me through the issue http://us.download.nvidia.com/XFree86/Linux-x86/285.05.09/README/index.html

checking minimum software requirements

nallison@grote-ubuntu:~$ cat /proc/version
Linux version 3.0.0-12-generic (buildd@crested) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) ) #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011


nallison@grote-ubuntu:~$ Xorg -version


X.Org X Server 1.10.4
Release Date: 2011-08-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-29-server x86_64 Ubuntu
Current Operating System: Linux grote-ubuntu 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic root=UUID=9482953d-cd0f-45d7-9aea-0b5c217a4898 ro
Build Date: 19 October 2011  05:21:26AM
xorg-server 2:1.10.4-1ubuntu4.2 (For technical support please see http://www.ubuntu.com/support) 
Current version of pixman: 0.22.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.


Downloaded the latest nVidia driver for my card ~/Downloads/NVIDIA-Linux-x86_64-290.10.run

As a note here, to get into text mode on Oneric 11.10, I needed to get to the grub boot menu and append "text" to the end of the boot line.   No way to get to init 3 from the current version.  It seems to be a known bug.  

once I downloaded the latest driver for linux 64bit from the nvidia site (www.nvidia.com).  I was able to install from text mode by running


NVIDIA-Linux-x86_64-290.10.run

and running nvidia-settings









Sunday, January 1, 2012

how to quickly tell what version of ubuntu

Here is a quick command to find out what version of Ubuntu you are running:

cat /etc/issue

Install and configure openssh-server

First install and configure the openssh server ... run the following commands

sudo apt-get install openssh-server
sudo cp /etc/ssh/sshd_config ~

Edit the ssh configuration file to disallow root logins.

sudo gedit /etc/ssh/sshd_config
PermitRootLogin no

The next thing I like to setup is to setup logins without having to type in the password from other computers on the network.

generate an RSA key for the client computer (in this case my laptop)

ssh-keygen -t rsa









make a directory on the server you are trying to connect to:

ssh nallison@grote-ubuntu mkdir -p .ssh

put the key on the server you are trying to connect to:

cat .ssh/id_rsa.pub | ssh nallison@grote-ubuntu 'cat >> .ssh/authorized_keys'

updated to the nvidia drivers


updated the drivers to use my nvidia geforce 9500 -- by the way I have had lots of problems with the latest distros ... (FED 16) as well and my geforce 9500 trying to do dual monitors. I am using the twinview configuration for my X desktop, but I am not pleased with it. I will devote a thorough post to this later on ...

this is my current driver setting ...

and my current /etc/X11/xorg.conf

...

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 280.13 (buildd@yellow) Fri Aug 5 12:31:28 UTC 2011


Section "ServerLayout"

# Removed Option "Xinerama" "0"
# Removed Option "Xinerama" "1"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"

# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Envision G2016wa2"
HorizSync 31.0 - 81.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

Section "Monitor"

# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor1"
VendorName "Unknown"
ModelName "Samsung SyncMaster"
HorizSync 30.0 - 61.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 9500 GT"
EndSection

Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 9500 GT"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Screen"

# Removed Option "TwinView" "0"
# Removed Option "metamodes" "CRT-0: nvidia-auto-select +0+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "CRT-0: nvidia-auto-select +0+0, CRT-1: nvidia-auto-select +1680+282"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "CRT-1: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

install restricted extras

Install ‘Ubuntu Restricted Extras’ – codecs/plugins

You need to install the audio mp3 (MPEG Layer 3) decoders as it’s required for playing your mp3 songs), similarly you need to install Adobe flash player on Ubuntu 11.10 for playing flash content such as YouTube Videos (although they are trying to replace the flash dependencies with HTML 5). You can install all these proprietary plugins/codecs by installing the package called ‘ubuntu restricted extras’. Open a terminal and execute the command -

sudo apt-get install ubuntu-restricted-extras

Restricted library/packages for playing encrypted DVD’s

Although you’ve installed ‘ubuntu-restricted-extra’, you still won’t be able to play any proprietary DVD (which is usually encrypted with CSS(Content Scramble System) ). Therefore You also need to install libdvdcss2, a free software library for unscrambling/accessing those DVDs. Open terminal and execute the following commands (You may need to reboot) -

sudo apt-get install libdvdread4 sudo /usr/share/doc/libdvdread4/install-css.sh

Updating to the latest versions of installed software

Next thing to do .... update ubuntu

sudo apt-get update
sudo apt-get upgrade

# alternatively ... start update manager

http://blog.sudobits.com/2011/09/08/10-things-to-do-after-installing-ubuntu-11-10/