Search

atkdinosaurus

Month

January 2017

My samba configuration

Disable offloading for the network interface eth1:

# /sbin/ethtool -K eth1 tso off
# /sbin/ethtool -K eth1 gso off

Continue reading “My samba configuration”

Advertisements

Change Adblock Plus key binding (ctrl+shift+v) in Firefox

Open about:config and edit extensions.adblockplus.sidebar_key

Can not use mate desktop with x2go on Ubuntu 16.04

Add the following to $HOME/.profile:

export GSETTINGS_SCHEMA_DIR=/usr/share/mate:/usr/local/share:/usr/share
export XDG_DATA_DIRS=/usr/share/mate:/usr/local/share:/usr/share

Can not use x2go single application mode on Ubuntu 16.04

# systemctl stop x2goserver

Add 'X2GO_NXAGENT_DEFAULT_OPTIONS=" -extension BIG-REQUESTS"' to /etc/x2go/x2goagent.options

# systemctl start x2goserver

Edit:

The error message for this problem was a bit vague:

Error: Failure reading from the peer proxy.
Error: Connection with remote peer broken.
Error: Please check the state of your network and retry.

Linux devices and drivers

How to list the devices and kernel modules your system uses:

$ lspci -vnnk | grep -e ]: -e driver

Problem with vlc and Intel integrated GPU

If you experience a problem with vlc so that the video is always on top of any other program, this xorg config snippet will help.

Add the following to /usr/share/X11/xorg.conf.d/20-intel.conf:

Section "Extensions"
    Option "XVideo" "Disable"
EndSection

How to list DNS servers that network-manager uses? (Ubuntu 14.04/16.04)

On Ubuntu 14.04:

$ nmcli dev list | grep -i dns

On Ubuntu 16.04, first list all the connections:

$ nmcli con show
NAME                UUID                                  TYPE             DEVICE  
docker0             19d065fc-b97f-4421-b839-127d95c07c51  bridge           docker0 

Then list the settings of one connection:

$ nmcli con show docker0 | grep -i dns

Blog at WordPress.com.

Up ↑