CruzIT
Monday January 21, 2019 - 15:45:45 PM

Registered Linux User #440901    


 
Login    Register
Login Required



Ubuntu Linux Information

Below, are some tips and tricks for Ubuntu 6.01, 6.10, 7.04, 7.10 , 8.04, 8.10, 9.04, 9.10, 10.04 (and hopefully later) versions.

If you are a “Power User” then you are ready to upgrade to Ubuntu.
If you need a new laptop, workstation or server, consider one of the following who deliver them with Linux or FreeBSD (or no OS) pre-installed:
system76, who build machines with Ubuntu preinstalled and at a good price.
Ubuntu preinstalled - system76.com
PogoLinux, who build Servers, Workstations and Storage with just about anything preinstalled.
Pogo Linux Logo
Penguin Computing, One of the oldest pure Linux manufacturers providing Servers, HPCs and storage solutions.
We use their Relion 2752 server and openfiler open source iSCSI software. for an iSCSI RAID box.
Don't forget to add a 10/100/1000 x2 or x4 intel NIC for more than one server talking to it.
Penguin Computing Logo
[Disclaimer] We do not accept money from advertising.

Version 10.04 LTS has been released. You can get it here.

Highly Recommended Package

As of version 9.04 and above - Ksplice Uptrack provides in place kernel updates. What this means is NO MORE REBOOTS! They provide this package set with support for Ubuntu 9.04 and later. Get Ksplice Uptrack Here and enjoy not having to reboot upon a kernel upgrade!

Howto Change the size, color and background of xterm terminal new

Changing the size of the default terminal (xterm).

Open a terminal and put in:

sudo gedit /usr/share/vte/termcap/xterm

Change the line that says
:co#80:it#8:li#24:
to
:co#140:it#8:li#40:\
OR
Open a terminal and and put in:

sudo sed -i.bak -e 's/:co#80:it#8:li#24:/:co#140:it#8:li#40:/' /usr/share/vte/termcap/xterm

Play with the numbers to get it how you want it.
That's right, you can't do that with notepad...

Changing the color & background of the default terminal (xterm).

On the menu, open "Edit" then "Profile Preferences" then click "colors" and/or "background".
That's right, you can't do that with notepad...either...:)

Howto Repair Gnome-RDP after 8.10 to 9.04 Upgrade

You will need to install sqlite. I actually installed sqlite and sqlite3.

After the upgrade from 8.10 to 9.04, Gnome-RDP cannot read the old format sqlite database. More specifically there is a new field that it is looking for.
Here's the fix to repair your installation and get your old list back. If you just saw the error that looks something like:

Error in query:
SELECT * FROM version WHERE id=
Error:file is encrypted or is not a database

Then this is the fix.
If you only need to repair it, just delete or rename in your home directory the file named .gnome-rdp.db If you had some entries in the old installation, follow this to get them back:
First: Make sure gnome-rdp is closed (Look up in the menu bar)
Second: Make a copy of .gnome-rdp.db
Third: rename your .gnome-rdp.db to .gnome-rdp.old.db
Forth: Open a terminal and do:

sqlite ~/.gnome-rdp.old.db ".dump session" | fgrep INSERT | sqlite3 ~/.gnome-rdp.db

That should do it.

Network Manager / Ethernet DNS broken after upgrade 8.04 to 8.10 & 9.04

The upgrade from 8.04 to 8.10 has a bug with regards to network-manager and DNS resolutions. Network manager may say some thing like “device is unmanaged” and/or DNS doesn't work and you can ping different IP addresses inside and not outside of your LAN. This issue is still present in 9.04. If your machine has a DHCP address, you'll likely not have an issue. The fix is pretty easy although has caused quite a few headaches.
If you haven't upgraded yet and want to, just copy the files:
/etc/resolv.conf
and
/etc/network/interfaces
Replace the written over files after the upgrade. If you use a static IP address, you probably don't want to use network-manager until the bug is fixed.
The bug is reported as devices/interfaces not set to "auto" in /etc/network/interfaces get blacklisted in 0.7 (intrepid) but were managed in 0.6 (hardy and before)
Those who need a static IP address -- this is the work-around I've posted on launchpad. Change your /etc/resolv.conf to something like below (replace the x's with IP addresses of your DNS servers) with the command:

sudo gedit /etc/resolv.conf
#/etc/resolv.conf
search yourdomain
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx

Change your /etc/network/interfaces to something like below (replace the x's with your ip addresses and gateways) with the command:

sudo gedit /etc/network/interfaces
#/etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address xxx.xxx.xxx.xxx
netmask 255.255.255.0
gateway xxx.xxx.xxx.xxx

auto eth1
iface eth1 inet static
address xxx.xxx.xxx.xxx
netmask 255.255.255.0
gateway xxx.xxx.xxx.xxx

After that restart networking and your DNS issues should be resolved.

sudo /etc/init.d/networking restart

Make sure you get rid all the extra things in that mysteriously appeared in the upgrade from 8.04 to 8.10 & 9.04 All that being said, it is advised to stay away from network manager until these issues are resolved. If you attempt to change things w/ network manager and do a reboot, the resolv.conf file may be written over to be blank.
Until it's fixed, we'll have to manage the network interfaces the old fashioned way - via the command line & text files.

VMware & Ubuntu

The newest (Long Term Support) version of Ubuntu has been released as 8.04 LTS The only thing on my laptop that did not work out of all the packages that are installed was VMware server console. I tracked down the problem and (it seems) VMware didn't keep up with the planned updates and upgrades to Ubuntu.
The symptom is if you run vmware-server-console from a terminal it fails with a bunch of lines like:

 vmware-server-console
/usr/lib/vmware-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
/usr/lib/vmware-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
/usr/lib/vmware-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)

Here's the fix. Run the following as sudo or root:

sudo cd /usr/lib/vmware-server-console/lib/libgcc_s.so.1
sudo mv libgcc_s.so.1 libgcc_s.so.1.org
sudo cd ../libpng12.so.0
sudo mv libpng12.so.0 libpng12.so.0.org

You should be able to run the server console now.
This issue and fix may also apply to some other VMware products.

 
 

Howto create a “root” file browser

This will create a root file browser in the menu. When completed, go to Applications -> Systems Tools and it will be listed there.
Update for Ubuntu 7.10: The line below that looks like: "nautilus --browser %U" needs to read: "nautilus --browser /"
The %U does not work. On the code below:

Change the %U to / before saving and closing the file.

Update for Ubuntu 8.04: The user switch has been fixed to work again. If you want a file browser with root privileges to open in the logged on users home folder, use the code below. If you want to open a root browser in the root (“/”) directory change: "nautilus --browser %U" to read: "nautilus --browser /"

First: Open a terminal. (Go to “Applications” → “Accessories” menu - top left side of the desktop)
Second: Either copy and paste this code or type this into the terminal. (Hint: To paste the clip board contents into a terminal - ctrl/shift v)

#This creates and edits a new file:

sudo gedit /usr/share/applications/Nautilus-root.desktop

#The application gedit opens. Add this to the new file:

[Desktop Entry]
Name=File Browser (Root)
Comment=Browse the filesystem with the file manager
Exec=gksudo "nautilus --browser %U"
Icon=file-manager
Terminal=false
Type=Application
Categories=Application;System;

#Save and exit

That should do it.
On your desktop menu, select “Applications” then “System Tools”.
There should be a selection for “File Browser (Root)”. When clicked on, you can use the file manager built into Ubuntu called Nautilus as a root (administrative) user.

Get Thunderbird!
Collecting For A Server Upgrade  

Time since last reboot: 27 days, 18 hours, 11 minutes , 48 seconds

“Windows - Just Say No”

@ Active Member Project Honeypot  email addresses

This page was last modified on 09/1/18 @ 10:33:49:pm
This file name: info_ubuntu.php

Questions, Comments, Suggestions or Requests should be sent to:  ronnie@cruzit.com 

There have been  8026  Unique Visitors (IP Addresses) to this site.

Current users online : 21
Maximum users at a time : 50
Last 25 attacks have come from:
188.209.49.164
77.75.79.62
23.228.96.82
108.172.246.109
134.249.54.230
77.75.77.17
46.229.168.149
46.229.168.132
157.55.39.104
40.77.167.6
46.119.115.106
77.75.77.11
157.55.39.52
37.187.95.218
91.210.145.247
77.75.78.162
94.158.245.114
77.75.76.162
34.217.84.79
185.225.17.191
185.220.101.44
103.243.25.104
46.119.121.84
77.75.78.163
46.229.168.138

There are currently 25 unique IP addresses blacklisted.

Public cruzit.com Server Status
server offline limelight  web service
 Aw Crap!, It's Off-Line
server offline limelight  mail service
 Aw Crap!, It's Off-Line
server online www  web service
 Is On-Line
server online mx 08  mail service
 Is On-Line
server online www01  F/O web service
 Is On-Line
server online mx 09  mail service
 Is On-Line
server online tertiary  DNS service
 Is On-Line
server online mx 10  mail service
 Is On-Line

©Copyright 2004-2019 - cruzit.com - Redd Enterprises™, Inc.,  All Rights Reserved.
Ubuntu® is a registered trademark of Canonical Ltd.
Linux® is a registered trademark of Linus Torvalds.
Apache® is a registered trademark of The Apache Software Foundation.
PHP® is a registered trademark of The PHP Group.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
All other product and service names mentioned are the trademarks of their respective companies.

 

pretrial
pretrial
pretrial
pretrial
Let us know what you think! finance@homelandcomputersecurity.com