When accessing Ubuntu 24.04 using RDP (via xrdp
), it lacks window elements like the minimize/hide button:
Is there a way to have this element available in a RDP session as well?
When opening a terminal window on Ubuntu 24.04, I get this message:
bash: hash: hashing disabled
Its caused by this line:
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
It loads nvm
(https://github.com/nvm-sh/nvm).
Can I enable hashing?
Why may it be disabled?
When upgrading the kernel without linux-modules-extra-xx-generic
, my computer is losing network access after activating the kernel.
As I have WiFi access only (which is lost after the kernel upgrade), how can I install the package together with the kernel upgrade or upfront?
I'm using "Mainline Kernels" to install a new kernel.
You can see the current kernel from the screenshot.
Downloaded the Dropbox .deb
on a fresh Xubuntu 22.04 install and tried
sudo dpkg -i dropbox_2022.12.05_amd64.deb
This is the result:
(Reading database ... 193177 files and directories currently installed.)
Preparing to unpack dropbox_2022.12.05_amd64.deb ...
Unpacking dropbox (2022.12.05) over (2022.12.05) ...
dpkg: dependency problems prevent configuration of dropbox:
dropbox depends on libgtk-4-1 (>= 4.8.0); however:
Version of libgtk-4-1:amd64 on system is 4.6.6+ds-0ubuntu1.
dropbox depends on gir1.2-gtk-4.0 (>= 4.8.0); however:
Package gir1.2-gtk-4.0:amd64 is not configured yet.
dpkg: error processing package dropbox (--install):
dependency problems - leaving unconfigured
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for man-db (2.10.2-1) ...
Errors were encountered while processing:
dropbox
Version >=4.8.0
of libgtk-4-1
only seems to be available for Xubuntu 22.10.
I have a MPOW USB Headset which works (both speakers and microphone) when starting Terminal and entering:
pulseaudio -k
pulseaudio
However, when I start pulseaudio
like this it doesn't work:
systemctl --user start pulseaudio.socket
systemctl --user start pulseaudio.service
When running just pulseaudio
however I have to keep the Terminal window open. As soon as I stop pulseaudio
, sound is gone again (which makes sense).
How can I run pulseaudio
in the background and still have sound and microphone working?
When I ssh
into an EC2 instance running Ubuntu 18.04, I get this error:
manpath: can't set the locale; make sure $LC_* and $LANG are correct
I tried this but this didn't fix it:
sudo locale-gen "en_US.UTF-8"
sudo dpkg-reconfigure locales
Generating locales (this might take a while)...
en_US.UTF-8... done
Generation complete.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TERMINAL_VERSION = "3.3.7",
LC_CTYPE = "UTF-8",
LC_TERMINAL = "iTerm2",
LANG = "C.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("C.UTF-8").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
Generating locales (this might take a while)...
en_US.UTF-8... done
Generation complete.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LC_TERMINAL_VERSION = "3.3.7",
LC_TERMINAL = "iTerm2",
LANG = "C"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LC_TERMINAL_VERSION = "3.3.7",
LC_TERMINAL = "iTerm2",
LANG = "C"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
I'm doing this in a .sh
script which I'm calling like this sudo ./script.sh
:
user=${SUDO_USER} # ="alex"
sudo -su ${user} node
Result:
/bin/bash: node: command not found
Same goes for other commands like yarn
or nvm
also all are installed and working when being logged in as alex
What am I doing wrong?
which node
run as alex
returns this:
/home/alex/.nvm/versions/node/v10.15.1/bin/node
node
for alex
is installed using nvm
which adds this to the end of /home/alex/.zshrc
(alex
is using zsh
)
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
Is it possible to get syntax highlighting for .gitignore
files when using cat
?
Tried sudo apt-get install python-pygments
as suggested by @rovo but when using comments in the .gitignore
it stops working.
Sample .gitignore
(does not work):
# JetBrains IDEs
.idea
Sample .gitignore
(works):
.idea
I don't find an option to mirror my Displays on Ubuntu 18.04:
I am running Ubuntu on a Dell M3800 with hybrid graphics.
What might cause this?
Result of sudo lshw -c display
*-display
description: 3D controller
product: GK107GLM [Quadro K1100M]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:02:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nouveau latency=0
resources: irq:32 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:f7000000-f707ffff
*-display
description: VGA compatible controller
product: 4th Gen Core Processor Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 06
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:34 memory:f7400000-f77fffff memory:d0000000-dfffffff ioport:f000(size=64) memory:c0000-dffff
When booting from Live USB the options also is not avaiable.
Switching to the NVIDIA Driver 340.107
from nvidia-340
didn't fix it.
*-display
description: 3D controller
product: GK107GLM [Quadro K1100M]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:02:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:38 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:f7000000-f707ffff
*-display
description: VGA compatible controller
product: 4th Gen Core Processor Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 06
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:33 memory:f7400000-f77fffff memory:d0000000-dfffffff ioport:f000(size=64) memory:c0000-dffff
Update
The output of xrandr --query
:
Screen 0: minimum 8 x 8, current 5760 x 1200, maximum 16384 x 16384
eDP-1-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
1920x1080 60.05*+ 60.01 59.97 59.96 59.93
1680x1050 59.95 59.88
1600x1024 60.17
1400x1050 59.98
1600x900 59.99 59.94 59.95 59.82
1280x1024 60.02
1440x900 59.89
1400x900 59.96 59.88
1280x960 60.00
1440x810 60.00 59.97
1368x768 59.88 59.85
1360x768 59.80 59.96
1280x800 59.99 59.97 59.81 59.91
1152x864 60.00
1280x720 60.00 59.99 59.86 59.74
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99 59.63 59.82
800x600 60.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
800x512 60.17
700x525 59.98
800x450 59.95 59.82
640x512 60.02
720x450 59.89
700x450 59.96 59.88
640x480 60.00 59.94
720x405 59.51 58.99
684x384 59.88 59.85
680x384 59.80 59.96
640x400 59.88 59.98
576x432 60.06
640x360 59.86 59.83 59.84 59.32
512x384 60.00
512x288 60.00 59.92
480x270 59.63 59.82
400x300 60.32 56.34
432x243 59.92 59.57
320x240 60.05
360x202 59.51 59.13
320x180 59.84 59.32
HDMI-1-1 connected 1920x1200+1920+0 (normal left inverted right x axis y axis) 518mm x 324mm
1920x1200 59.95*+
1920x1080 60.00
1600x1200 60.00
1680x1050 59.88
1280x1024 60.02
1280x960 60.00
1024x768 60.00
800x600 60.32
640x480 59.94
720x400 70.08
DP-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-2 connected 1920x1200+3840+0 (normal left inverted right x axis y axis) 518mm x 324mm
1920x1200 59.95*+
1920x1080 60.00
1600x1200 60.00
1680x1050 59.88
1280x1024 60.02
1280x960 60.00
1024x768 60.00
800x600 60.32
640x480 59.94
720x400 70.08
How can I find out on which partition my home
dir is?
Today I was facing the issue that videos (YouTube and other sites) in Chrome and Firefox won't start playing (I can jump around single frames inside the videos by clicking in the timeline) while it was working fine until earlier today.
I'm running Ubuntu 18.04 on a DELL M3800 (Nvidia GPU).
I tried uninstalling nvidia-340
and now I'm no longer able to login to "Ubuntu" but only "Ubuntu on Wayland" at login screen.
Re-installing nvidia-340
or installing nvidia-390
didn't fix it.
When choosing "Ubuntu" the screen turns black for a second and then returns back to the login screen me being logged out again.
Update: I tried to set nomodeset
in GRUB but this didn't fix it.
Update 2: sudo ubuntu-drivers autoinstall
didn't fix it neither.
Update 3: uncommenting #WaylandEnable=false
and re-commenting it in /etc/gdm3/custom.conf
seems to have fixed the login loop. But now I'm now longer able start terminal. Mouse turns into a spinner for a few seconds but terminal is not starting.
Update 4: dbus-launch gnome-terminal
launches terminal after I ran sudo chown username.username -R .dbus
Update 5: This answer fixed my broken terminal (and by reading the answer I noticed Nautilus was broken as well).
Update 6: Fix from Update 5 is not permanent.
Update 7: switching back to bash
from zsh
fixed the terminal/nautilus issues permanently. But I'm still not able to play videos and I'm not able to install any of the Nvidia drivers.
Update 8: Update 7 was not permanent.
As of today I'm facing this behavior in Ubuntu 16.04 Nautilus:
I create a new file/folder by right clicking in Nautilus "New Folder". When I focus the folder name to edit it, the focus gets lost and I can't edit the name.
Nautilus looks like this while typing the name of the folder:
In addition, when I try to hit Del
while trying to edit the name, the file/folder gets deleted. If I hit Backspace
, Nautilus navigates back to the parent folder.
I validated no key is stuck and rebooted Ubuntu. Nothing did fix it.
Update: When switching Nautilus to grid view, everything works fine.
Update 2:
I also tried
sudo apt-get update
sudo apt-get install --reinstall ubuntu-desktop
sudo apt-get install unity
Update 3: I disabled Auto-Raise using ccsm:
I also disabled Raise-Windows keyboard and mouse bindings:
Update 4:
Output of dpkg -l nautilus*
:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-======================================================================================-================================================-================================================-=================================================================================================================================================================================
ii nautilus 1:3.18.4.is.3.14.3-0ubuntu5 amd64 file manager and graphical shell for GNOME
ii nautilus-data 1:3.18.4.is.3.14.3-0ubuntu5 all data files for nautilus
un nautilus-dropbox <none> <none> (no description available)
un nautilus-open-terminal <none> <none> (no description available)
ii nautilus-sendto 3.8.2-1ubuntu1 amd64 integrates Evolution and Pidgin into the Nautilus file manager
un nautilus-sendto-empathy <none> <none> (no description available)
ii nautilus-share 0.7.3-2ubuntu1 amd64 Nautilus extension to share folder using Samba
Ubuntu 16.04 shows a long list of unmanaged as shown in the screenshot below.
How can I rid of them?
Update
This is the output of sudo lshw -C network
:
*-network
description: Wireless interface
product: Wireless 7260
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:06:00.0
logical name: eth0
version: 6b
serial: e8:2a:ea:04:76:85
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=4.4.0-62-generic firmware=17.352738.0 ip=192.168.178.43 latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn
resources: irq:35 memory:f7900000-f7901fff
*-network:0
description: Ethernet interface
physical id: 2
logical name: veth3147af4
serial: fe:0f:54:7f:0a:41
size: 10Gbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full link=yes multicast=yes port=twisted pair speed=10Gbit/s
*-network:1
description: Ethernet interface
physical id: 3
logical name: veth7f1acf5
serial: 12:a0:1c:94:d0:1f
size: 10Gbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full link=yes multicast=yes port=twisted pair speed=10Gbit/s
*-network:2
description: Ethernet interface
physical id: 4
logical name: veth14f5a2f
serial: 62:54:a1:28:c3:0d
size: 10Gbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full link=yes multicast=yes port=twisted pair speed=10Gbit/s
*-network:3
description: Ethernet interface
physical id: 5
logical name: veth0b7948b
serial: 56:34:6e:7b:ed:df
size: 10Gbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full link=yes multicast=yes port=twisted pair speed=10Gbit/s
*-network:4
description: Ethernet interface
physical id: 6
logical name: veth8ab848b
serial: e6:f1:0f:49:92:de
size: 10Gbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full link=yes multicast=yes port=twisted pair speed=10Gbit/s
*-network:5
description: Ethernet interface
physical id: 7
logical name: veth45b1603
serial: da:93:8b:14:47:0e
size: 10Gbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full link=yes multicast=yes port=twisted pair speed=10Gbit/s
*-network:6
description: Ethernet interface
physical id: 8
logical name: veth400bd55
serial: 12:b3:35:eb:b8:a5
size: 10Gbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full link=yes multicast=yes port=twisted pair speed=10Gbit/s
*-network:7
description: Ethernet interface
physical id: 9
logical name: veth87dc315
serial: d6:48:82:7e:02:87
size: 10Gbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full link=yes multicast=yes port=twisted pair speed=10Gbit/s
*-network:8
description: Ethernet interface
physical id: a
logical name: veth5d4e2cd
serial: 4e:e7:b0:be:f3:53
size: 10Gbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full link=yes multicast=yes port=twisted pair speed=10Gbit/s
*-network:9
description: Ethernet interface
physical id: b
logical name: vethb5f8dd4
serial: c6:79:55:03:4c:b0
size: 10Gbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full link=yes multicast=yes port=twisted pair speed=10Gbit/s
*-network:10
description: Ethernet interface
physical id: c
logical name: veth1d21db9
serial: 5e:9a:7d:e5:57:60
size: 10Gbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full link=yes multicast=yes port=twisted pair speed=10Gbit/s
*-network:11
description: Ethernet interface
physical id: d
logical name: vethee3c0c6
serial: d6:4b:2b:a1:24:e6
size: 10Gbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full link=yes multicast=yes port=twisted pair speed=10Gbit/s
*-network:12
description: Ethernet interface
physical id: e
logical name: vethb0b8717
serial: 9a:f6:b7:cc:65:78
size: 10Gbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full link=yes multicast=yes port=twisted pair speed=10Gbit/s
*-network:13
description: Ethernet interface
physical id: f
logical name: veth2d5cbbd
serial: 56:c8:04:43:30:69
size: 10Gbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full link=yes multicast=yes port=twisted pair speed=10Gbit/s
*-network:14
description: Ethernet interface
physical id: 10
logical name: veth96328b8
serial: 9a:42:88:49:7b:36
size: 10Gbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full link=yes multicast=yes port=twisted pair speed=10Gbit/s
*-network:15
description: Ethernet interface
physical id: 11
logical name: vethda512eb
serial: 9a:e9:21:4a:9d:a0
size: 10Gbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full link=yes multicast=yes port=twisted pair speed=10Gbit/s
*-network:16
description: Ethernet interface
physical id: 12
logical name: vethf0686f8
serial: 76:e1:93:37:1f:ae
size: 10Gbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full link=yes multicast=yes port=twisted pair speed=10Gbit/s
*-network:17
description: Ethernet interface
physical id: 13
logical name: veth9837ad5
serial: b6:4d:87:47:00:55
size: 10Gbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full link=yes multicast=yes port=twisted pair speed=10Gbit/s
*-network:18
description: Ethernet interface
physical id: 14
logical name: veth01e210a
serial: f2:23:a4:9c:68:91
size: 10Gbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full link=yes multicast=yes port=twisted pair speed=10Gbit/s
This is the output of ifconfig
:
br-7514c45e53d2 Link encap:Ethernet HWaddr 02:42:9e:d4:53:00
inet addr:172.23.0.1 Bcast:0.0.0.0 Mask:255.255.0.0
inet6 addr: fe80::42:9eff:fed4:5300/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:94 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:892 (892.0 B) TX bytes:12001 (12.0 KB)
br-86e6dcc5495c Link encap:Ethernet HWaddr 02:42:f7:ea:bf:79
inet addr:172.20.0.1 Bcast:0.0.0.0 Mask:255.255.0.0
inet6 addr: fe80::42:f7ff:feea:bf79/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2456 errors:0 dropped:0 overruns:0 frame:0
TX packets:1900 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:222797 (222.7 KB) TX bytes:3452963 (3.4 MB)
br-942e7ec9c8d7 Link encap:Ethernet HWaddr 02:42:58:77:01:5c
inet addr:172.19.0.1 Bcast:0.0.0.0 Mask:255.255.0.0
inet6 addr: fe80::42:58ff:fe77:15c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:200 errors:0 dropped:0 overruns:0 frame:0
TX packets:374 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:64296 (64.2 KB) TX bytes:67571 (67.5 KB)
br-a3c7cefb1b1b Link encap:Ethernet HWaddr 02:42:59:c1:b7:6b
inet addr:172.22.0.1 Bcast:0.0.0.0 Mask:255.255.0.0
inet6 addr: fe80::42:59ff:fec1:b76b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1197 errors:0 dropped:0 overruns:0 frame:0
TX packets:1737 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3359344 (3.3 MB) TX bytes:180069 (180.0 KB)
br-bd0d56e8c790 Link encap:Ethernet HWaddr 02:42:b3:94:f9:c4
inet addr:172.25.0.1 Bcast:0.0.0.0 Mask:255.255.0.0
inet6 addr: fe80::42:b3ff:fe94:f9c4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:536 (536.0 B) TX bytes:11330 (11.3 KB)
br-dbeb727f6ae7 Link encap:Ethernet HWaddr 02:42:48:78:59:b3
inet addr:172.21.0.1 Bcast:0.0.0.0 Mask:255.255.0.0
inet6 addr: fe80::42:48ff:fe78:59b3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:385 errors:0 dropped:0 overruns:0 frame:0
TX packets:509 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:35970 (35.9 KB) TX bytes:60587 (60.5 KB)
br-dd77aafc6718 Link encap:Ethernet HWaddr 02:42:d5:53:62:75
inet addr:172.18.0.1 Bcast:0.0.0.0 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
docker0 Link encap:Ethernet HWaddr 02:42:81:bb:f3:46
inet addr:172.17.0.1 Bcast:0.0.0.0 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth0 Link encap:Ethernet HWaddr e8:2a:ea:04:76:85
inet addr:192.168.178.43 Bcast:192.168.178.255 Mask:255.255.255.0
inet6 addr: fe80::1eef:7218:86af:ad70/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11180 errors:0 dropped:0 overruns:0 frame:0
TX packets:5517 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8247871 (8.2 MB) TX bytes:1493173 (1.4 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1270 errors:0 dropped:0 overruns:0 frame:0
TX packets:1270 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:187832 (187.8 KB) TX bytes:187832 (187.8 KB)
veth01e210a Link encap:Ethernet HWaddr f2:23:a4:9c:68:91
inet6 addr: fe80::f023:a4ff:fe9c:6891/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5976 errors:0 dropped:0 overruns:0 frame:0
TX packets:5469 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:529485 (529.4 KB) TX bytes:1090877 (1.0 MB)
veth0b7948b Link encap:Ethernet HWaddr 56:34:6e:7b:ed:df
inet6 addr: fe80::5434:6eff:fe7b:eddf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:172 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:648 (648.0 B) TX bytes:17137 (17.1 KB)
veth14f5a2f Link encap:Ethernet HWaddr 62:54:a1:28:c3:0d
inet6 addr: fe80::6054:a1ff:fe28:c30d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5232 errors:0 dropped:0 overruns:0 frame:0
TX packets:6152 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1051453 (1.0 MB) TX bytes:517621 (517.6 KB)
veth1d21db9 Link encap:Ethernet HWaddr 5e:9a:7d:e5:57:60
inet6 addr: fe80::5c9a:7dff:fee5:5760/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:59 errors:0 dropped:0 overruns:0 frame:0
TX packets:279 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6631 (6.6 KB) TX bytes:28882 (28.8 KB)
veth2d5cbbd Link encap:Ethernet HWaddr 56:c8:04:43:30:69
inet6 addr: fe80::54c8:4ff:fe43:3069/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:199 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1881 (1.8 KB) TX bytes:19736 (19.7 KB)
veth3147af4 Link encap:Ethernet HWaddr fe:0f:54:7f:0a:41
inet6 addr: fe80::fc0f:54ff:fe7f:a41/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:121 errors:0 dropped:0 overruns:0 frame:0
TX packets:289 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11403 (11.4 KB) TX bytes:33069 (33.0 KB)
veth400bd55 Link encap:Ethernet HWaddr 12:b3:35:eb:b8:a5
inet6 addr: fe80::10b3:35ff:feeb:b8a5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:132 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:648 (648.0 B) TX bytes:16292 (16.2 KB)
veth45b1603 Link encap:Ethernet HWaddr da:93:8b:14:47:0e
inet6 addr: fe80::d893:8bff:fe14:470e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:255 errors:0 dropped:0 overruns:0 frame:0
TX packets:415 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:28183 (28.1 KB) TX bytes:139598 (139.5 KB)
veth5d4e2cd Link encap:Ethernet HWaddr 4e:e7:b0:be:f3:53
inet6 addr: fe80::4ce7:b0ff:febe:f353/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1197 errors:0 dropped:0 overruns:0 frame:0
TX packets:1781 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3376102 (3.3 MB) TX bytes:185031 (185.0 KB)
veth7f1acf5 Link encap:Ethernet HWaddr 12:a0:1c:94:d0:1f
inet6 addr: fe80::10a0:1cff:fe94:d01f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:345 errors:0 dropped:0 overruns:0 frame:0
TX packets:443 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:34387 (34.3 KB) TX bytes:71193 (71.1 KB)
veth87dc315 Link encap:Ethernet HWaddr d6:48:82:7e:02:87
inet6 addr: fe80::d448:82ff:fe7e:287/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:532 errors:0 dropped:0 overruns:0 frame:0
TX packets:609 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:58327 (58.3 KB) TX bytes:128890 (128.8 KB)
veth8ab848b Link encap:Ethernet HWaddr e6:f1:0f:49:92:de
inet6 addr: fe80::e4f1:fff:fe49:92de/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:139 errors:0 dropped:0 overruns:0 frame:0
TX packets:283 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15824 (15.8 KB) TX bytes:58181 (58.1 KB)
veth96328b8 Link encap:Ethernet HWaddr 9a:42:88:49:7b:36
inet6 addr: fe80::9842:88ff:fe49:7b36/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:138 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1088 (1.0 KB) TX bytes:16963 (16.9 KB)
veth9837ad5 Link encap:Ethernet HWaddr b6:4d:87:47:00:55
inet6 addr: fe80::b44d:87ff:fe47:55/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:118 errors:0 dropped:0 overruns:0 frame:0
TX packets:268 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10537 (10.5 KB) TX bytes:30432 (30.4 KB)
vethb0b8717 Link encap:Ethernet HWaddr 9a:f6:b7:cc:65:78
inet6 addr: fe80::98f6:b7ff:fecc:6578/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:476 errors:0 dropped:0 overruns:0 frame:0
TX packets:574 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:51285 (51.2 KB) TX bytes:2986349 (2.9 MB)
vethb5f8dd4 Link encap:Ethernet HWaddr c6:79:55:03:4c:b0
inet6 addr: fe80::c479:55ff:fe03:4cb0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:128 errors:0 dropped:0 overruns:0 frame:0
TX packets:314 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12090 (12.0 KB) TX bytes:34371 (34.3 KB)
vethda512eb Link encap:Ethernet HWaddr 9a:e9:21:4a:9d:a0
inet6 addr: fe80::98e9:21ff:fe4a:9da0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:247 errors:0 dropped:0 overruns:0 frame:0
TX packets:337 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:25337 (25.3 KB) TX bytes:132134 (132.1 KB)
vethee3c0c6 Link encap:Ethernet HWaddr d6:4b:2b:a1:24:e6
inet6 addr: fe80::d44b:2bff:fea1:24e6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:203 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:648 (648.0 B) TX bytes:20091 (20.0 KB)
vethf0686f8 Link encap:Ethernet HWaddr 76:e1:93:37:1f:ae
inet6 addr: fe80::74e1:93ff:fe37:1fae/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:385 errors:0 dropped:0 overruns:0 frame:0
TX packets:553 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:41360 (41.3 KB) TX bytes:65549 (65.5 KB)
I just noticed that this list gets populated after starting multiple Docker containers, so it looks like this list is a result of the Docker networking stack.
Firefox 50 on Ubuntu Mate via xrdp renders wrong colors due to this bug.
When I try to uninstall Firefox 50 and install 49 as described in this answer usin sudo apt-get purge firefox
, I get this output:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
firefox* ubuntu-mate-desktop*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 113 MB disk space will be freed.
Do you want to continue? [Y/n]
Does this meaning that continuing with the command, it will uninistall my Mate desktop as well?
Can I avoid that?
How can I export my Ubuntu 16.04 Gnome terminal profile?
The folder ~/.gconf
is empty.
I've set up a Ubuntu Server 14.04 instance including Mate Desktop in AWS EC2. It has a 30GB system volume and a 80GB volume which is available at /mnt
.
After calling sudo chown <awsuser> /mnt
I can create files and folders on the 80GB volume.
After rebooting the VM I have to re-run sudo chown <awsuser> /mnt
otherwise I get a permission denied error.
How can I make sudo chown <awsuser> /mnt
permanent?
Update:
Output of mount | grep /mnt
:
/dev/xvdb on /mnt type ext3 (rw)
Output of ls -ld /mnt
drwxr-xr-x 3 root root 4.0K Nov 23 2015 /mnt
I ran apt-get dist-upgrade
as follows:
Calculating upgrade... Done
The following NEW packages will be installed:
linux-headers-3.19.0-51 linux-headers-3.19.0-51-generic
linux-image-3.19.0-51-generic linux-image-extra-3.19.0-51-generic
The following packages will be upgraded:
linux-generic-lts-vivid linux-headers-generic-lts-vivid
linux-image-generic-lts-vivid
3 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 65.1 MB of archives.
After this operation, 288 MB of additional disk space will be used.
Setting up linux-image-generic-lts-vivid (3.19.0.51.36) ...
Setting up linux-headers-3.19.0-51 (3.19.0-51.57~14.04.1) ...
Setting up linux-headers-3.19.0-51-generic (3.19.0-51.57~14.04.1) ...
Setting up linux-headers-generic-lts-vivid (3.19.0.51.36) ...
Setting up linux-generic-lts-vivid (3.19.0.51.36) ...
After this, Ubuntu 14.04.4 x64 LTS doesn't boot correctly and hangs on this screen:
This happens on all VMs I'm trying. I can reproduce it by creating / reverting snapshots.
Update:
This is the content of /var/log/boot.log
after booting with the previous kernel via advanced boot options in GRUB:
* Stopping Read required files in advance [ OK ]
* Starting Mount filesystems on boot [ OK ]
* Starting Populate /dev filesystem [ OK ]
* Starting Populate and link to /run filesystem [ OK ]
* Stopping Populate /dev filesystem [ OK ]
* Stopping Populate and link to /run filesystem [ OK ]
* Stopping Track if upstart is running in a container [ OK ]
* Starting Initialize or finalize resolvconf [ OK ]
* Starting Signal sysvinit that the rootfs is mounted [ OK ]
* Starting mount available cgroup filesystems [ OK ]
* Starting set console keymap [ OK ]
* Starting Signal sysvinit that virtual filesystems are mounted [ OK ]
* Starting Signal sysvinit that virtual filesystems are mounted [ OK ]
* Starting Bridge udev events into upstart [ OK ]
* Starting Signal sysvinit that remote filesystems are mounted [ OK ]
* Stopping set console keymap [ OK ]
* Starting Clean /tmp directory [ OK ]
* Stopping Clean /tmp directory [ OK ]
* Starting Signal sysvinit that local filesystems are mounted [ OK ]
* Starting device node and kernel event manager [ OK ]
* Starting D-Bus system message bus [ OK ]
* Starting flush early job output to logs [ OK ]
* Stopping Mount filesystems on boot [ OK ]
* Stopping flush early job output to logs [ OK ]
* Starting load modules from /etc/modules [ OK ]
* Starting cold plug devices [ OK ]
* Starting log initial device creation [ OK ]
* Starting SystemD login management service [ OK ]
* Stopping load modules from /etc/modules [ OK ]
* Starting system logging daemon [ OK ]
* Starting mDNS/DNS-SD daemon [ OK ]
* Starting bluetooth daemon [ OK ]
* Starting Reload cups, upon starting avahi-daemon to make sure remote q[ OK ]are populated
* Stopping Reload cups, upon starting avahi-daemon to make sure remote q[ OK ]are populated
* Starting Bridge file events into upstart [ OK ]
* Starting Uncomplicated firewall [ OK ]
* Starting configure network device security [ OK ]
* Starting configure network device [ OK ]
* Starting configure network device security [ OK ]
* Starting Mount network filesystems [ OK ]
* Starting Failsafe Boot Delay [ OK ]
* Stopping Failsafe Boot Delay [ OK ]
* Stopping Mount network filesystems [ OK ]
* Starting System V initialisation compatibility [ OK ]
* Starting modem connection manager [ OK ]
* Starting configure network device security [ OK ]
* Starting configure network device [ OK ]
* Starting userspace bootsplash [ OK ]
* Starting network connection manager [ OK ]
* Stopping userspace bootsplash [ OK ]
* Starting Send an event to indicate plymouth is up [ OK ]
* Stopping Send an event to indicate plymouth is up [ OK ]
* Starting Bridge socket events into upstart [ OK ]
Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
* Starting AppArmor profiles [ OK ]
* Setting up X socket directories... [ OK ]
* Stopping System V initialisation compatibility [ OK ]
* speech-dispatcher disabled; edit /etc/default/speech-dispatcher
* Starting System V runlevel compatibility [ OK ]
* Starting Restore Sound Card State [ OK ]
* Starting regular background program processing daemon [ OK ]
* Starting anac(h)ronistic cron [ OK ]
* Starting save kernel messages [ OK ]
* Starting configure network device security [ OK ]
* Starting CPU interrupts balancing daemon [ OK ]
* Starting Restore Sound Card State [fail]
* Starting crash report submission daemon [ OK ]
* Stopping save kernel messages [ OK ]
* Stopping anac(h)ronistic cron [ OK ]
* Stopping Restore Sound Card State [ OK ]
* Starting automatic crash report generation [ OK ]
* Starting cups-browsed - Bonjour remote printer browsing daemon [ OK ]
* Starting configure virtual network devices [ OK ]
Starting VirtualBox kernel modules * Stopping cold plug devices [ OK ]
* Stopping log initial device creation [ OK ]
* Starting save udev log and update rules [ OK ]
* Stopping save udev log and update rules [ OK ]
...done.
After a fresh install of Ubuntu 15.10, when using scp
or git clone
, I get the following warning (the command itself doesn't fail): key_load_public: invalid format
How can I get rid of this warning?
Update:
This is the output of scp -vvv
:
OpenSSH_6.9p1 Ubuntu-2, OpenSSL 1.0.2d 9 Jul 2015
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to ... [...] port 22.
debug1: Connection established.
key_load_public: invalid format
debug1: identity file /home/alexzeitler/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/alexzeitler/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/alexzeitler/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/alexzeitler/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/alexzeitler/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/alexzeitler/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/alexzeitler/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/alexzeitler/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.9p1 Ubuntu-2