Backtrack:  
 
showing posts tagged with 'ubuntu'
 
by lunarg on August 22nd 2017, at 15:09

Older, obsolete releases of Ubuntu are no longer available on localized mirrors. Instead, you must use the old-releases repositories. This is done by replacing the repository entries in /etc/apt/sources.list:

  • country.archive.ubuntu.com → old-releases.ubuntu.com
  • security.ubuntu.comold-releases.ubuntu.com

For example:

us.archive.ubuntu.com/ubuntu/dists/natty/main/source/Sources

would become

old-releases.ubuntu.com/ubuntu/dists/natty/main/source/Sources

by lunarg on August 18th 2017, at 14:27
There's an issue with the Shorewall package in Debian 9 Stretch, causing Shorewall not to automatically start even when the required configuration files are in-place and/or modified. As stated here, the problem also exists on Ubuntu with some versions of the package (see article).

The problem lies with the package not enabling the startup script in systemd during installation. The solution is to manually enable this by running the following command (as sudo):

systemctl enable shorewall.service

This will enable Shorewall to automatically start during a reboot. Note that you will still have to set the correct parameters in /etc/default/shorewall (and possibly /etc/shorewall/shorewall.conf t  ...
by lunarg on September 19th 2016, at 11:59
If you get a keyserver time out when trying to download a public key from a public GPG server, you may need to check your firewall settings. When receiving a public key, gpg connects to TCP port 11371, which not commonly opened up when you are behind a strict firewall. Luckily, most key servers also listen on port 80, allowing to get the public keys through that port.

When attempting to download a key and you are not able to connect to the default port, you will get something like:

gpg --keyserver keyserver.ubuntu.com --recv-keys 94558F59gpg: requesting key 94558F59 from hkp server keyserver.ubuntu.comgpg: keyserver timed outgpg: keyserver receive failed: keyserver error

To force gpg to d  ...
by lunarg on August 12th 2015, at 12:00

To disable automatic suspend, but leave manual suspend working in Ubuntu 14.04, create the text file:

/etc/polkit-1/localauthority/50-local.d/com.ubuntu.disable-suspend.pkla

with contents:

[Disable suspend (upower)]
Identity=unix-user:*
Action=org.freedesktop.upower.suspend
ResultActive=no
ResultInactive=no
ResultAny=no

[Disable suspend (logind)]
Identity=unix-user:*
Action=org.freedesktop.login1.suspend
ResultActive=yes
ResultInactive=no
ResultAny=yes

[Disable suspend when others are logged in (logind)]
Identity=unix-user:*
Action=org.freedesktop.login1.suspend-multiple-sessions
ResultActive=yes
ResultInactive=no
ResultAny=yes
by lunarg on June 12th 2015, at 15:55

You can efficiently change the console fonts, character sets and keymaps through the following command:

sudo dpkg-reconfigure console-setup

The configuration is stored in the file /etc/default/console-setup, and can be edited by hand as well.

The changes are effective for all virtual consoles after reboot. To apply the change for the current console, run:

setupcon

To prevent changing the console font completely (i.e. native system/BIOS font will be used), set the font to "do not change".
The equivalent in the config file is:

FONTFACE=""
FONTSIZE=""
by lunarg on June 9th 2015, at 16:18

Nice article about things you can do after a fresh install of Ubuntu on your computer:

http://www.tecmint.com/things-to-do-after-installing-ubuntu-15-04-desktop/

Very useful if you don't have a whole lot of experience with linux in general, and Ubuntu in particular.

by lunarg on March 28th 2007, at 11:10

If VMware Server Console doesn't work on your Ubuntu 6.10 Edgy install, here's what to do.

If after installing, the console does not launch, but instead takes up 100% CPU until the end of days (or until you kill it), try starting the console with this command:

LD_PRELOAD=/usr/lib/libdbus-1.so.3:$LD_PRELOAD vmware-server-console

This fixes some yet to be resolved issue around shared libs.

 
showing posts tagged with 'ubuntu'