The suspend button in Lubuntu 22.04 desktop asks for confirmation. I'm going to find that really annoying after a while.
user1759557's questions
My pc is running Lubuntu 20.04.
I am trying to ssh to a raspberry pi 4 running Ubuntu Server 22.04.
I have followed the setup instructions but see the following:
ssh -v [email protected]
OpenSSH_8.2p1 Ubuntu-4ubuntu0.11, OpenSSL 1.1.1f 31 Mar 2020
debug1: Reading configuration data /home/paul/.ssh/config
debug1: /home/paul/.ssh/config line 1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to 192.168.1.121 [192.168.1.121] port 22.
debug1: Connection established.
debug1: identity file /home/paul/.ssh/id_rsa type 0
debug1: identity file /home/paul/.ssh/id_rsa-cert type -1
debug1: identity file /home/paul/.ssh/id_dsa type -1
debug1: identity file /home/paul/.ssh/id_dsa-cert type -1
debug1: identity file /home/paul/.ssh/id_ecdsa type -1
debug1: identity file /home/paul/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/paul/.ssh/id_ecdsa_sk type -1
debug1: identity file /home/paul/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /home/paul/.ssh/id_ed25519 type -1
debug1: identity file /home/paul/.ssh/id_ed25519-cert type -1
debug1: identity file /home/paul/.ssh/id_ed25519_sk type -1
debug1: identity file /home/paul/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /home/paul/.ssh/id_xmss type -1
debug1: identity file /home/paul/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.11
debug1: Remote protocol version 2.0, remote software version OpenSSH_8.9p1 Ubuntu-3ubuntu0.6
debug1: match: OpenSSH_8.9p1 Ubuntu-3ubuntu0.6 pat OpenSSH* compat 0x04000000
debug1: Authenticating to 192.168.1.121:22 as 'paul'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none
debug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:hB5vu/iLN16xccrKvXJVhJcCL09bFePcmv/GwEwNEL0
debug1: Host '192.168.1.121' is known and matches the ECDSA host key.
debug1: Found key in /home/paul/.ssh/known_hosts:9
debug1: resetting send seqnr 3
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: resetting read seqnr 3
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: /home/paul/.ssh/id_rsa RSA SHA256:o4u2FI6udyWLZqKgV2itDrRJaTQYn65ochhOFkPYfd4
debug1: Will attempt key: /home/paul/.ssh/id_dsa
debug1: Will attempt key: /home/paul/.ssh/id_ecdsa
debug1: Will attempt key: /home/paul/.ssh/id_ecdsa_sk
debug1: Will attempt key: /home/paul/.ssh/id_ed25519
debug1: Will attempt key: /home/paul/.ssh/id_ed25519_sk
debug1: Will attempt key: /home/paul/.ssh/id_xmss
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,[email protected],ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],[email protected]>
debug1: kex_input_ext_info: [email protected] (unrecognised)
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /home/paul/.ssh/id_rsa RSA SHA256:o4u2FI6udyWLZqKgV2itDrRJaTQYn65ochhOFkPYfd4
debug1: Authentications that can continue: publickey
debug1: Trying private key: /home/paul/.ssh/id_dsa
debug1: Trying private key: /home/paul/.ssh/id_ecdsa
debug1: Trying private key: /home/paul/.ssh/id_ecdsa_sk
debug1: Trying private key: /home/paul/.ssh/id_ed25519
debug1: Trying private key: /home/paul/.ssh/id_ed25519_sk
debug1: Trying private key: /home/paul/.ssh/id_xmss
debug1: No more authentication methods to try.
[email protected]: Permission denied (publickey).
I added some options to my ~/.ssh/config as recommended by various posts (to no avail). It is:
Host *
HostKeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa
I use this stuff about once every year, when I get a new Pi (each year making extensive notes on what I did), but every year it fails in different ways. Any solutions would be very welcome.
This printer will leave me with PTSD ! I cannot count the number of hours I have spent trying to get it to work.
I did have it working. We moved house, and now have a Plume Mesh network. I kept the same network SSID and passphrase as our old house, and everything connects except the HP printer.
I decided I have to set it up from scratch. On printer menus I did service | restore defaults. Then I connected by USB and ran sudo hp-setup -i
. I can print from USB, but the printer needs to be in another room. At no point in the setup have I been asked for an SSID or passphrase. The printer is not connecting to the network (which is not surprising, given it does not know the name). I have no idea how I can provide the printer with the SSID.
Any help would be greatly appreciated.
I am using Lubuntu 20.04. The printer is HP LaserJet M201dw.
I use Lubuntu 20.04, which boots from an SSD.
Today I allowed the system to do upgrades, and subsequently got an error message saying that update-initramfs failed. I googled the error message and found this link which suggested the problem could be resolved by freeing some space on /boot and reinstalling a package. I think I made a mistake trying to do both fixes in one procedure.
I did:
sudo apt remove initramfs-tools
sudo apt-get auto-remove
sudo apt-get clean
sudo apt install initramfs-tools
sudo apt-get update
Everything appeared to be fixed until I rebooted the machine. The machine could not reboot automatically, but I entered the boot menu and picked an older kernel. That worked. Inspecting the broken and working boot commands, I believe that I am no longer booting off the SSD (I could also be wrong).
The broken boot option (which used to work) is:
menuentry 'Ubuntu, with Linux 5.4.0-86-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-86-generic-advanced-f81f27eb-c1f2-467c-a62b-fdd60b4f0592' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 504e9392-5142-456a-852d-7838c4a522bc
else
search --no-floppy --fs-uuid --set=root 504e9392-5142-456a-852d-7838c4a522bc
fi
echo 'Loading Linux 5.4.0-86-generic ...'
linux /vmlinuz-5.4.0-86-generic root=/dev/nvme0n1p3 ro quiet splash $vt_handoff
}
... and the working option is:
menuentry 'Ubuntu, with Linux 5.4.0-84-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-84-generic-advanced-f81f27eb-c1f2-467c-a62b-fdd60b4f0592' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 504e9392-5142-456a-852d-7838c4a522bc
else
search --no-floppy --fs-uuid --set=root 504e9392-5142-456a-852d-7838c4a522bc
fi
echo 'Loading Linux 5.4.0-84-generic ...'
linux /vmlinuz-5.4.0-84-generic root=UUID=f81f27eb-c1f2-467c-a62b-fdd60b4f0592 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /initrd.img-5.4.0-84-generic
}
Is there any way I can repair the damage and get Lubuntu back to booting from the SSD ? I now think that the autoremove operation may have destroyed some vital information on the SSD.
The broken boot option produces this output before crashing:
If I use the working boot option, I now get the following response from df (/boot appears to be on the SSD, so looks like my idea that this option was booting via the hard drive is probably wrong).
df -h
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 2.1M 3.2G 1% /run
/dev/nvme0n1p3 468G 121G 324G 28% /
tmpfs 16G 92M 16G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
tmpfs 16G 11M 16G 1% /tmp
/dev/loop1 128K 128K 0 100% /snap/bare/5
/dev/loop3 62M 62M 0 100% /snap/core20/1081
/dev/loop2 56M 56M 0 100% /snap/core18/2128
/dev/loop4 165M 165M 0 100% /snap/gnome-3-28-1804/161
/dev/loop5 243M 243M 0 100% /snap/gnome-3-38-2004/76
/dev/loop0 56M 56M 0 100% /snap/core18/2074
/dev/loop6 66M 66M 0 100% /snap/gtk-common-themes/1515
/dev/loop7 66M 66M 0 100% /snap/gtk-common-themes/1519
/dev/loop8 699M 699M 0 100% /snap/libreoffice/227
/dev/nvme0n1p2 510M 318M 155M 68% /boot
/dev/nvme0n1p1 532M 5.3M 527M 1% /boot/efi
/dev/loop9 163M 163M 0 100% /snap/gnome-3-28-1804/145
/dev/loop10 33M 33M 0 100% /snap/snapd/13170
/dev/loop11 33M 33M 0 100% /snap/snapd/12883
/dev/loop12 701M 701M 0 100% /snap/libreoffice/229
/dev/loop13 242M 242M 0 100% /snap/gnome-3-38-2004/70
tmpfs 3.2G 8.0K 3.2G 1% /run/user/1000
/dev/sdb1 1.9T 1008G 856G 55% /media/paul/Seagate Backup Plus Drive
My complete grub.cfg is:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${initrdfail}" = 2 ]; then
set initrdfail=
elif [ "${initrdfail}" = 1 ]; then
set next_entry="${prev_entry}"
set prev_entry=
save_env prev_entry
if [ "${next_entry}" ]; then
set initrdfail=2
fi
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function initrdfail {
if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
if [ -z "${initrdfail}" ]; then
set initrdfail=1
if [ -n "${boot_once}" ]; then
set prev_entry="${default}"
save_env prev_entry
fi
fi
save_env initrdfail
fi; fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root f81f27eb-c1f2-467c-a62b-fdd60b4f0592
else
search --no-floppy --fs-uuid --set=root f81f27eb-c1f2-467c-a62b-fdd60b4f0592
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_GB
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=hidden
set timeout=0
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible 0 ; then
set timeout=0
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-f81f27eb-c1f2-467c-a62b-fdd60b4f0592' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 504e9392-5142-456a-852d-7838c4a522bc
else
search --no-floppy --fs-uuid --set=root 504e9392-5142-456a-852d-7838c4a522bc
fi
linux /vmlinuz-5.4.0-86-generic root=/dev/nvme0n1p3 ro quiet splash $vt_handoff
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-f81f27eb-c1f2-467c-a62b-fdd60b4f0592' {
menuentry 'Ubuntu, with Linux 5.4.0-86-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-86-generic-advanced-f81f27eb-c1f2-467c-a62b-fdd60b4f0592' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 504e9392-5142-456a-852d-7838c4a522bc
else
search --no-floppy --fs-uuid --set=root 504e9392-5142-456a-852d-7838c4a522bc
fi
echo 'Loading Linux 5.4.0-86-generic ...'
linux /vmlinuz-5.4.0-86-generic root=/dev/nvme0n1p3 ro quiet splash $vt_handoff
}
menuentry 'Ubuntu, with Linux 5.4.0-86-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-86-generic-recovery-f81f27eb-c1f2-467c-a62b-fdd60b4f0592' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 504e9392-5142-456a-852d-7838c4a522bc
else
search --no-floppy --fs-uuid --set=root 504e9392-5142-456a-852d-7838c4a522bc
fi
echo 'Loading Linux 5.4.0-86-generic ...'
linux /vmlinuz-5.4.0-86-generic root=/dev/nvme0n1p3 ro recovery nomodeset dis_ucode_ldr
}
menuentry 'Ubuntu, with Linux 5.4.0-84-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-84-generic-advanced-f81f27eb-c1f2-467c-a62b-fdd60b4f0592' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 504e9392-5142-456a-852d-7838c4a522bc
else
search --no-floppy --fs-uuid --set=root 504e9392-5142-456a-852d-7838c4a522bc
fi
echo 'Loading Linux 5.4.0-84-generic ...'
linux /vmlinuz-5.4.0-84-generic root=UUID=f81f27eb-c1f2-467c-a62b-fdd60b4f0592 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /initrd.img-5.4.0-84-generic
}
menuentry 'Ubuntu, with Linux 5.4.0-84-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-84-generic-recovery-f81f27eb-c1f2-467c-a62b-fdd60b4f0592' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 504e9392-5142-456a-852d-7838c4a522bc
else
search --no-floppy --fs-uuid --set=root 504e9392-5142-456a-852d-7838c4a522bc
fi
echo 'Loading Linux 5.4.0-84-generic ...'
linux /vmlinuz-5.4.0-84-generic root=UUID=f81f27eb-c1f2-467c-a62b-fdd60b4f0592 ro recovery nomodeset dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /initrd.img-5.4.0-84-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/10_linux_zfs ###
### END /etc/grub.d/10_linux_zfs ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
I am using Lubuntu 20.04 on a Raspberry Pi 3B.
I am trying to use gtts-cli (text to speech program) to generate audio directly by:
gtts-cli "Almost no modern computer function works properly" | mpg321 -
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
Version 0.3.2-1 (2012/03/25). Written and copyrights by Joe Drew,
now maintained by Nanakos Chrysostomos and others.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
tcgetattr(): Inappropriate ioctl for device
Playing MPEG stream from - ...
MPEG 2.0 layer III, 32 kbit/s, 24000 Hz mono
[0:03] Decoding of - finished.
Segmentation fault
Sometimes it works, and sometimes it doesn't. When it does not work, I hear either a click, a grating sound, or a grating sound followed by the last part of the audio. It makes me think that sometimes mpg321 misses the first part of the audio, or corrupt it in some way. Even when it reproduces all the audio correctly, there is a SEGMENTATION FAULT.
I did some investigation. Firstly, to eliminate gtts-cli as the source of the problem, I recorded mp3 output from it and sent that to mpg321. e.g
gtts-cli "It is enough to drive you mad!" -o test.mp3
cat test.mp3 | mpg321 -
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
Version 0.3.2-1 (2012/03/25). Written and copyrights by Joe Drew,
now maintained by Nanakos Chrysostomos and others.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
tcgetattr(): Inappropriate ioctl for device
Playing MPEG stream from - ...
MPEG 2.0 layer III, 32 kbit/s, 24000 Hz mono
[0:03] Decoding of - finished.
Segmentation fault
I get the same effect. Sometimes it works and sometimes it misses all, or the start of the audio. There is also always a segmentation fault.
I checked if the problem is due to feeding input to mpg321 from stdin, by using the file directly:
mpg321 test.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
Version 0.3.2-1 (2012/03/25). Written and copyrights by Joe Drew,
now maintained by Nanakos Chrysostomos and others.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Playing MPEG stream from test.mp3 ...
MPEG 2.0 layer III, 32 kbit/s, 24000 Hz mono
That still misses some audio at the start, but does NOT give a segmentation fault.
My audio goes to Respeaker USB output. To eliminate the possibility of the problem being in the driver or audio production downstream of mpg321, I tried:
aplay temp.wav
That plays perfectly and consistently every time.
I then installed and tried mpg123 (instead of mpg321). The results were similar, but I think slightly worse than mpg321.
I tried re-installing mpg321 - no change.
What is wrong, and more importantly how can I fix it?
Why does the 'Import Key File' button in Lubuntu 20.04 Software Sources | Authentication dialog not do anything?
I downloaded a key file for Geogebra's repository. I believe that when I click Preferences | Software Sources | Authentication | Add Key File, I should get a file dialog which lets me choose the key file. However nothing happens when I press the button.
I have never used this functionality before, so maybe I am doing something wrong. The manual glosses over the issue, which makes me very suspicious though.
I am using Lubuntu 20.04.
I love the simplicity of Lubuntu, but I decided I wanted a more powerful file manager.
I installed Dolphin and, although I was happy with lxterminal, I had to install konsole in order to get the advantages of terminal integration in dolphin (I tried for a while to get dolphin to use lxterminal, but that wasn't happening for me !).
Now I would like to get Lubuntu to use konsole everywhere, instead of pcmanfm, so I can get rid of it.
I used Preferences | Default applications for LXSession to change Launching Applications | File Manager to dolphin, and rebooted. That caused me to lose my desktop wallpaper and icons. It does not cause my toolbar icon to launch dolphin. Gratefully my desktop came back when I restored pcmanfm.
I discovered that simply changing the command line in pcmanfm.desktop allows the lubuntu menu and toolbar to use dolphin, however the keyboard shortcut ctrl-alt-d still starts pcmanfm.
So, is there a way to replace pcmanfm more thoroughly (and not lose the desktop), or to get dolphin to use pcmanfm ?
My Lubuntu system has recently started complaining that it cannot update software and is offering a Partial Upgrade - which I understand is bad news.
I suspect it is related to my Tensorflow installation (most of my problems are, and I fear changing it in any way !).
nvcc --version
reports release 10.1, V10.1.243
nvidia-smi
reports Driver Version: 440.64.00 CUDA Version: 10.2
cuDNN is version 7.6
Tensorflow is version 1.14.0
It appears that the update wants to remove the cuda and nvidia driver packages (I have appended the output from dist-upgrade). Please can someone explain what the root of the problem is here, and what I can do to move on (hopefully without totally destroying my working tensorflow installation).
sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
cuda-command-line-tools-10-1 cuda-compiler-10-1 cuda-cufft-10-1 cuda-cufft-dev-10-1
cuda-cuobjdump-10-1 cuda-cupti-10-1 cuda-curand-10-1 cuda-curand-dev-10-1
cuda-cusolver-10-1 cuda-cusolver-dev-10-1 cuda-cusparse-10-1 cuda-cusparse-dev-10-1
cuda-documentation-10-1 cuda-gdb-10-1 cuda-gpu-library-advisor-10-1
cuda-libraries-10-1 cuda-libraries-dev-10-1 cuda-memcheck-10-1 cuda-misc-headers-10-1
cuda-npp-10-1 cuda-npp-dev-10-1 cuda-nsight-10-1 cuda-nsight-compute-10-1
cuda-nsight-systems-10-1 cuda-nvcc-10-1 cuda-nvdisasm-10-1 cuda-nvgraph-10-1
cuda-nvgraph-dev-10-1 cuda-nvjpeg-10-1 cuda-nvjpeg-dev-10-1 cuda-nvml-dev-10-1
cuda-nvprof-10-1 cuda-nvprune-10-1 cuda-nvrtc-10-1 cuda-nvrtc-dev-10-1 cuda-nvtx-10-1
cuda-nvvp-10-1 cuda-samples-10-1 cuda-sanitizer-api-10-1 cuda-toolkit-10-1
cuda-tools-10-1 cuda-visual-tools-10-1 libnvidia-cfg1-440 libnvidia-common-440
libnvidia-fbc1-440 libxnvctrl0 linux-headers-4.15.0-96 linux-headers-4.15.0-96-generic
linux-image-4.15.0-96-generic linux-modules-4.15.0-96-generic
linux-modules-extra-4.15.0-96-generic nsight-compute-2019.5.0 nsight-systems-2019.5.2
nvidia-compute-utils-440 nvidia-kernel-source-440 nvidia-modprobe nvidia-prime
nvidia-settings python-apt python-bs4 python-html5lib python-lxml python-webencodings
screen-resolution-extra xserver-xorg-video-nvidia-440
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED
cuda-10-1 cuda-demo-suite-10-1 cuda-drivers cuda-runtime-10-1 libnvidia-decode-440
libnvidia-encode-440 libnvidia-gl-440 libnvidia-ifr1-440 nvidia-dkms-440
nvidia-driver-440 nvidia-kernel-common-440 nvidia-utils-440
The following NEW packages will be installed
linux-headers-4.15.0-106 linux-headers-4.15.0-106-generic
linux-image-4.15.0-106-generic linux-modules-4.15.0-106-generic
linux-modules-extra-4.15.0-106-generic
The following packages will be upgraded:
aptdaemon aptdaemon-data ca-certificates chromium-codecs-ffmpeg-extra firefox
firefox-locale-en flashplugin-installer google-chrome-stable intel-microcode
libjpeg-turbo8 libjpeg-turbo8-dev libjson-c-dev libjson-c3 libnautilus-extension1a
libnetplan0 libnss-systemd libpam-systemd libpulse-mainloop-glib0 libpulse0
libpulsedsp libsqlite3-0 libsqlite3-dev libssl-dev libssl-doc libssl1.1 libsystemd0
libudev1 libxnvctrl0 linux-generic linux-headers-generic linux-image-generic
linux-libc-dev linux-signed-generic netplan.io nodejs nplan nvidia-modprobe
nvidia-settings openssl pulseaudio pulseaudio-module-bluetooth pulseaudio-utils
python-apt python-apt-common python-rosdistro python-rosdistro-modules python3-apport
python3-apt python3-aptdaemon python3-aptdaemon.gtk3widgets python3-problem-report
python3-software-properties ros-melodic-actionlib ros-melodic-actionlib-msgs
ros-melodic-actionlib-tutorials ros-melodic-angles ros-melodic-bond
ros-melodic-bond-core ros-melodic-bondcpp ros-melodic-bondpy
ros-melodic-camera-calibration ros-melodic-camera-calibration-parsers
ros-melodic-camera-info-manager ros-melodic-catkin ros-melodic-class-loader
ros-melodic-cmake-modules ros-melodic-common-msgs ros-melodic-common-tutorials
ros-melodic-compressed-depth-image-transport ros-melodic-compressed-image-transport
ros-melodic-control-msgs ros-melodic-control-toolbox ros-melodic-controller-interface
ros-melodic-controller-manager ros-melodic-controller-manager-msgs
ros-melodic-cpp-common ros-melodic-cv-bridge ros-melodic-depth-image-proc
ros-melodic-desktop ros-melodic-desktop-full ros-melodic-diagnostic-aggregator
ros-melodic-diagnostic-analysis ros-melodic-diagnostic-common-diagnostics
ros-melodic-diagnostic-msgs ros-melodic-diagnostic-updater ros-melodic-diagnostics
ros-melodic-diff-drive-controller ros-melodic-dynamic-reconfigure
ros-melodic-eigen-conversions ros-melodic-executive-smach ros-melodic-filters
ros-melodic-forward-command-controller ros-melodic-gazebo-dev ros-melodic-gazebo-msgs
ros-melodic-gazebo-plugins ros-melodic-gazebo-ros ros-melodic-gazebo-ros-control
ros-melodic-gazebo-ros-pkgs ros-melodic-gencpp ros-melodic-geneus ros-melodic-genlisp
ros-melodic-genmsg ros-melodic-gennodejs ros-melodic-genpy ros-melodic-geometry
ros-melodic-geometry-msgs ros-melodic-geometry-tutorials ros-melodic-gl-dependency
ros-melodic-hardware-interface ros-melodic-image-common ros-melodic-image-geometry
ros-melodic-image-pipeline ros-melodic-image-proc ros-melodic-image-publisher
ros-melodic-image-rotate ros-melodic-image-transport
ros-melodic-image-transport-plugins ros-melodic-image-view
ros-melodic-interactive-marker-tutorials ros-melodic-interactive-markers
ros-melodic-joint-limits-interface ros-melodic-joint-state-controller
ros-melodic-joint-state-publisher ros-melodic-kdl-conversions ros-melodic-kdl-parser
ros-melodic-kdl-parser-py ros-melodic-laser-assembler ros-melodic-laser-filters
ros-melodic-laser-geometry ros-melodic-laser-pipeline ros-melodic-librviz-tutorial
ros-melodic-libuvc ros-melodic-libuvc-camera ros-melodic-map-msgs
ros-melodic-media-export ros-melodic-message-filters ros-melodic-message-generation
ros-melodic-message-runtime ros-melodic-mk ros-melodic-nav-msgs ros-melodic-nodelet
ros-melodic-nodelet-core ros-melodic-nodelet-topic-tools
ros-melodic-nodelet-tutorial-math ros-melodic-orocos-kdl ros-melodic-pcl-conversions
ros-melodic-pcl-msgs ros-melodic-pcl-ros ros-melodic-perception
ros-melodic-perception-pcl ros-melodic-pluginlib ros-melodic-pluginlib-tutorials
ros-melodic-polled-camera ros-melodic-position-controllers
ros-melodic-python-orocos-kdl ros-melodic-python-qt-binding ros-melodic-qt-dotgraph
ros-melodic-qt-gui ros-melodic-qt-gui-cpp ros-melodic-qt-gui-py-common
ros-melodic-qwt-dependency ros-melodic-realtime-tools ros-melodic-resource-retriever
ros-melodic-robot ros-melodic-robot-state-publisher ros-melodic-ros
ros-melodic-ros-base ros-melodic-ros-comm ros-melodic-ros-core
ros-melodic-ros-environment ros-melodic-ros-tutorials ros-melodic-rosbag
ros-melodic-rosbag-migration-rule ros-melodic-rosbag-storage ros-melodic-rosbash
ros-melodic-rosboost-cfg ros-melodic-rosbuild ros-melodic-rosclean
ros-melodic-rosconsole ros-melodic-rosconsole-bridge ros-melodic-roscpp
ros-melodic-roscpp-core ros-melodic-roscpp-serialization ros-melodic-roscpp-traits
ros-melodic-roscpp-tutorials ros-melodic-roscreate ros-melodic-rosgraph
ros-melodic-rosgraph-msgs ros-melodic-roslang ros-melodic-roslaunch ros-melodic-roslib
ros-melodic-roslint ros-melodic-roslisp ros-melodic-roslz4 ros-melodic-rosmake
ros-melodic-rosmaster ros-melodic-rosmsg ros-melodic-rosnode ros-melodic-rosout
ros-melodic-rospack ros-melodic-rosparam ros-melodic-rospy ros-melodic-rospy-tutorials
ros-melodic-rosservice ros-melodic-rostest ros-melodic-rostime ros-melodic-rostopic
ros-melodic-rosunit ros-melodic-roswtf ros-melodic-rqt-action ros-melodic-rqt-bag
ros-melodic-rqt-bag-plugins ros-melodic-rqt-common-plugins ros-melodic-rqt-console
ros-melodic-rqt-dep ros-melodic-rqt-graph ros-melodic-rqt-gui ros-melodic-rqt-gui-cpp
ros-melodic-rqt-gui-py ros-melodic-rqt-image-view ros-melodic-rqt-launch
ros-melodic-rqt-logger-level ros-melodic-rqt-moveit ros-melodic-rqt-msg
ros-melodic-rqt-nav-view ros-melodic-rqt-plot ros-melodic-rqt-pose-view
ros-melodic-rqt-publisher ros-melodic-rqt-py-common ros-melodic-rqt-py-console
ros-melodic-rqt-reconfigure ros-melodic-rqt-robot-dashboard
ros-melodic-rqt-robot-monitor ros-melodic-rqt-robot-plugins
ros-melodic-rqt-robot-steering ros-melodic-rqt-runtime-monitor ros-melodic-rqt-rviz
ros-melodic-rqt-service-caller ros-melodic-rqt-shell ros-melodic-rqt-srv
ros-melodic-rqt-tf-tree ros-melodic-rqt-top ros-melodic-rqt-topic ros-melodic-rqt-web
ros-melodic-rviz ros-melodic-rviz-plugin-tutorials ros-melodic-rviz-python-tutorial
ros-melodic-self-test ros-melodic-sensor-msgs ros-melodic-shape-msgs
ros-melodic-simulators ros-melodic-smach ros-melodic-smach-msgs ros-melodic-smach-ros
ros-melodic-smclib ros-melodic-stage ros-melodic-stage-ros ros-melodic-std-msgs
ros-melodic-std-srvs ros-melodic-stereo-image-proc ros-melodic-stereo-msgs
ros-melodic-tf ros-melodic-tf-conversions ros-melodic-tf2 ros-melodic-tf2-eigen
ros-melodic-tf2-geometry-msgs ros-melodic-tf2-kdl ros-melodic-tf2-msgs
ros-melodic-tf2-py ros-melodic-tf2-ros ros-melodic-theora-image-transport
ros-melodic-topic-tools ros-melodic-trajectory-msgs ros-melodic-transmission-interface
ros-melodic-turtle-actionlib ros-melodic-turtle-tf ros-melodic-turtle-tf2
ros-melodic-turtlesim ros-melodic-urdf ros-melodic-urdf-parser-plugin
ros-melodic-urdf-sim-tutorial ros-melodic-urdf-tutorial ros-melodic-urdfdom-py
ros-melodic-usb-cam ros-melodic-vision-opencv
ros-melodic-visualization-marker-tutorials ros-melodic-visualization-msgs
ros-melodic-visualization-tutorials ros-melodic-viz ros-melodic-webkit-dependency
ros-melodic-xacro ros-melodic-xmlrpcpp software-properties-common
software-properties-gtk steam-launcher systemd systemd-coredump systemd-sysv
teamviewer udev xserver-common xserver-xorg-core
302 to upgrade, 5 to newly install, 12 to remove and 0 not to upgrade.
Most people are looking for natural sounding TTS. I am looking for something that has personality for an animatronic creature. It could be robotic or gruff or babyish, but it should be amusing.
I am using Lubuntu 18.04.
Network connections shows 2 wired connections, and both have been used within the last 15 minutes, even though I am connected to Wifi. Please can you explain why, and if this is normal.
I am asking this question in the broader context of trying to find out why my Wifi keeps dropping randomly. There are several unresolved bug reports describing this behaviour, but nobody has solved the problem. Could these wired connections have anything to do with the wifi drops ?
I thought this would be trivial, but after two hours of googling and experimenting still nothing works.
I want to use the ROS+Kinetic-lxde o/s sd image for the Raspberry Pi. As far as I can tell this is Lubuntu. Unfortunately the keyboard layout in the image does not match my keyboard, so I need to change it.
So far I have tried localectl from the command line. That does not do anything. I tried localectl list-keymaps and that says it can't find any console keymaps.
I added the 'Keyboard Layout Handler' applet to the task bar and set the keyboard through that. My changes were lost when I rebooted.
I tried sudo dpkg-reconfigure keyboard-configuration. That let me set up the keyboard, but again the changes were lost after a reboot.
I tried editing the file /etc/default/keyboard, but that already had the correct settings and they are doing no good.
So, how can I permanently set the keyboard type ? It seems crazy that it can't be done easily.
I have (had) Lubuntu 16.04 installed on an SSD. I tried Lubuntu 18.04 from a pendrive, and then decided to install it alongside 16.04, on an internal HDD, to allow further testing.
I selected 'other' as installation type.
I created a new partition table for /dev/sda (the HDD) as follows:
- swap 40gb
- / ext4 30 gb
- /home ext4 rest of HDD (~3.5 tb)
I asked for efi on sda (the HDD), believing this would ensure the OS installed on sda. I was a bit worried about this because there is also efi on the SSD and I was not sure if I should use that instead.
The system warned that it would nuke drives, but it only listed partitions on sda. The system now boots directly into 18.04 on the HDD. My old filesystem on the SSD is still there - I can see the drive in the 'places' view of PCManFM and the files and directories are still intact. I also see an option to boot into 16.04 on the boot menu, and this starts to boot something, but it remains in a loop printing 'Lubuntu wait dots'.
Is there any way I can restore booting into the SSD ?
Edits requested by Tudor
I tried ESC whilst booting '16.04 (on /dev/mapper/lubuntu--vg-root)', offered by Grub menu. At first this did not work, but I later discovered pressing ESC earlier put the machine in 'emergency mode'. After a while it produced some output:
device [8086:6f07] error status/mask=00000080/00002000
Bad DLLP
PCIe Bus Error: severity=corrected, type=Data Link Layer, id=0013(Receiver ID)
This was repeated.
I looked at the code behind the options on the GRUB menu. It is pretty lengthy, but I got the impression that they are all trying to boot something off sda.
I went into the BIOS to see what is offered. I was surprised to see that all the boot options are actually on the SSD:
- ubuntu (Samsung SSD 960 Pro)
- ubuntu (Samsung SSD 960 Pro)
- UEFI OS (Samsung SSD 960 Pro)
I booted 18.04 and used the disks tool to see which partitions exist:
- 512 Gb disk Samsung SSD 960 Pro 512GB
- 4.0 TB Hard Disk Toshiba HDWE140
- 477 GB Block Device /dev/lubuntu-vg/root
- 34 GB Block Device /dev/lubuntu-vg/swap_1
I looked at the partitions on the SSD and HDD in more detail:
SSD
Filesystem Partition 1 537 MB FAT /dev/nvme0n1p1 Partition Type: EFI System mounted: /boot/efi Filesystem Partition 2 512 MB Ext2 /dev/nvme0n1p2 Partition Type: Linux Filesystem not mounted Partition 3 511 GB LVM2 PV /dev/nvme0n1p3
Toshiba HDWE140
Swap Partition 1 40 GB Filesystem Partition2 30 GB Ext 4 Partition Type: Linux Filesystem mounted: Filesystem Root Filesystem Partition3 3.9 TB Ext4 Partition Type: Linux Filesystem mounted: /home
So it seems like the efi partition, that I requested on sda was never made or is not being used. The efi on the SSD is being used, but it seems to have forgotten how to boot the OS on the SSD, although this seems to be otherwise intact.
I forgot to mention before that when I installed 18.04, from the USB installer, it said no OS was detected on the system. This was worrying and I think is probably the cause of the whole problem - the installer never detected 16.04 on the SSD.
I bought a Maozua 5mp USB microscope off Amazon (after checking in the reviews that it worked on Linux). Sadly when I connected it on Lubuntu 16.04 it does not work in guvcview or cheese.
I did some investigation. I show the relevant parts below:
ls /dev | grep video
video0
video1
The microscope is on video1 and a logitech webcam on video0. The webcam works when the microscope is not connected, but guvcview and cheese cannot retrieve video from it when the microscope is connected:
lsusb
Bus 003 Device 009: ID 0c45:6366 Microdia
more detailed info:
lsusb -v
Bus 003 Device 008: ID 0c45:6366 Microdia
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 ?
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x0c45 Microdia
idProduct 0x6366
bcdDevice 1.00
iManufacturer 2
iProduct 1
iSerial 3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 662
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 14 Video
bFunctionSubClass 3 Video Interface Collection
bFunctionProtocol 0
iFunction 5
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 1 Video Control
bInterfaceProtocol 0
iInterface 5
VideoControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdUVC 1.00
wTotalLength 108
dwClockFrequency 15.000000MHz
bInCollection 1
baInterfaceNr( 0) 1
VideoControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 5
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 4
iTerminal 0
VideoControl Interface Descriptor:
bLength 28
bDescriptorType 36
bDescriptorSubtype 6 (EXTENSION_UNIT)
bUnitID 3
guidExtensionCode {7033f028-1163-2e4a-ba2c-6890eb334016}
bNumControl 24
bNrPins 1
baSourceID( 0) 2
bControlSize 3
bmControls( 0) 0xff
bmControls( 1) 0xff
bmControls( 2) 0xff
iExtension 0
VideoControl Interface Descriptor:
bLength 29
bDescriptorType 36
bDescriptorSubtype 6 (EXTENSION_UNIT)
bUnitID 4
guidExtensionCode {b42153bd-35d6-45ca-b203-4e0149b301bc}
bNumControl 32
bNrPins 1
baSourceID( 0) 3
bControlSize 4
bmControls( 0) 0x03
bmControls( 1) 0x80
bmControls( 2) 0x3f
bmControls( 3) 0x9f
iExtension 0
VideoControl Interface Descriptor:
bLength 18
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType 0x0201 Camera Sensor
bAssocTerminal 0
iTerminal 0
wObjectiveFocalLengthMin 0
wObjectiveFocalLengthMax 0
wOcularFocalLength 0
bControlSize 3
bmControls 0x0000000e
Auto-Exposure Mode
Auto-Exposure Priority
Exposure Time (Absolute)
VideoControl Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 5 (PROCESSING_UNIT)
Warning: Descriptor too short
bUnitID 2
bSourceID 1
wMaxMultiplier 0
bControlSize 2
bmControls 0x0000177f
Brightness
Contrast
Hue
Saturation
Sharpness
Gamma
White Balance Temperature
Backlight Compensation
Gain
Power Line Frequency
White Balance Temperature, Auto
iProcessing 0
bmVideoStandards 0x 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 6
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
VideoStreaming Interface Descriptor:
bLength 15
bDescriptorType 36
bDescriptorSubtype 1 (INPUT_HEADER)
bNumFormats 2
wTotalLength 411
bEndPointAddress 129
bmInfo 0
bTerminalLink 5
bStillCaptureMethod 2
bTriggerSupport 1
bTriggerUsage 1
bControlSize 1
bmaControls( 0) 11
bmaControls( 1) 11
VideoStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 6 (FORMAT_MJPEG)
bFormatIndex 1
bNumFrameDescriptors 5
bFlags 0
Fixed-size samples: No
bDefaultFrameIndex 1
bAspectRatioX 0
bAspectRatioY 0
bmInterlaceFlags 0x00
Interlaced stream or variable: No
Fields per frame: 1 fields
Field 1 first: No
Field pattern: Field 1 only
bCopyProtect 0
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 1
bmCapabilities 0x00
Still image unsupported
wWidth 2592
wHeight 1944
dwMinBitRate 1209323520
dwMaxBitRate 1209323520
dwMaxVideoFrameBufferSize 10078285
dwDefaultFrameInterval 666666
bFrameIntervalType 1
dwFrameInterval( 0) 666666
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 2
bmCapabilities 0x00
Still image unsupported
wWidth 2320
wHeight 1744
dwMinBitRate 971059200
dwMaxBitRate 971059200
dwMaxVideoFrameBufferSize 8092749
dwDefaultFrameInterval 666666
bFrameIntervalType 1
dwFrameInterval( 0) 666666
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 3
bmCapabilities 0x00
Still image unsupported
wWidth 2048
wHeight 1536
dwMinBitRate 754974720
dwMaxBitRate 754974720
dwMaxVideoFrameBufferSize 6292045
dwDefaultFrameInterval 666666
bFrameIntervalType 1
dwFrameInterval( 0) 666666
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 4
bmCapabilities 0x00
Still image unsupported
wWidth 1920
wHeight 1080
dwMinBitRate 497664000
dwMaxBitRate 497664000
dwMaxVideoFrameBufferSize 4147789
dwDefaultFrameInterval 666666
bFrameIntervalType 1
dwFrameInterval( 0) 666666
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 5
bmCapabilities 0x00
Still image unsupported
wWidth 1280
wHeight 1024
dwMinBitRate 314572800
dwMaxBitRate 314572800
dwMaxVideoFrameBufferSize 2622029
dwDefaultFrameInterval 666666
bFrameIntervalType 1
dwFrameInterval( 0) 666666
VideoStreaming Interface Descriptor:
bLength 26
bDescriptorType 36
bDescriptorSubtype 3 (STILL_IMAGE_FRAME)
bEndpointAddress 0
bNumImageSizePatterns 5
wWidth( 0) 2592
wHeight( 0) 1944
wWidth( 1) 2320
wHeight( 1) 1744
wWidth( 2) 2048
wHeight( 2) 1536
wWidth( 3) 1920
wHeight( 3) 1080
wWidth( 4) 1280
wHeight( 4) 1024
bNumCompressionPatterns 5
VideoStreaming Interface Descriptor:
bLength 27
bDescriptorType 36
bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED)
bFormatIndex 2
bNumFrameDescriptors 5
guidFormat {59555932-0000-1000-8000-00aa00389b71}
bBitsPerPixel 16
bDefaultFrameIndex 1
bAspectRatioX 0
bAspectRatioY 0
bmInterlaceFlags 0x00
Interlaced stream or variable: No
Fields per frame: 2 fields
Field 1 first: No
Field pattern: Field 1 only
bCopyProtect 0
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 1
bmCapabilities 0x00
Still image unsupported
wWidth 2592
wHeight 1944
dwMinBitRate 161243136
dwMaxBitRate 161243136
dwMaxVideoFrameBufferSize 10077696
dwDefaultFrameInterval 5000000
bFrameIntervalType 1
dwFrameInterval( 0) 5000000
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 2
bmCapabilities 0x00
Still image unsupported
wWidth 2320
wHeight 1774
dwMinBitRate 131701760
dwMaxBitRate 131701760
dwMaxVideoFrameBufferSize 8231360
dwDefaultFrameInterval 5000000
bFrameIntervalType 1
dwFrameInterval( 0) 5000000
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 3
bmCapabilities 0x00
Still image unsupported
wWidth 2048
wHeight 1536
dwMinBitRate 150994944
dwMaxBitRate 150994944
dwMaxVideoFrameBufferSize 6291456
dwDefaultFrameInterval 3333333
bFrameIntervalType 1
dwFrameInterval( 0) 3333333
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 4
bmCapabilities 0x00
Still image unsupported
wWidth 1920
wHeight 1080
dwMinBitRate 99532800
dwMaxBitRate 99532800
dwMaxVideoFrameBufferSize 4147200
dwDefaultFrameInterval 3333333
bFrameIntervalType 1
dwFrameInterval( 0) 3333333
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 5
bmCapabilities 0x00
Still image unsupported
wWidth 1280
wHeight 1024
dwMinBitRate 104857600
dwMaxBitRate 104857600
dwMaxVideoFrameBufferSize 2621440
dwDefaultFrameInterval 2000000
bFrameIntervalType 1
dwFrameInterval( 0) 2000000
VideoStreaming Interface Descriptor:
bLength 26
bDescriptorType 36
bDescriptorSubtype 3 (STILL_IMAGE_FRAME)
bEndpointAddress 0
bNumImageSizePatterns 5
wWidth( 0) 2592
wHeight( 0) 1944
wWidth( 1) 2320
wHeight( 1) 1744
wWidth( 2) 2048
wHeight( 2) 1536
wWidth( 3) 1920
wHeight( 3) 1080
wWidth( 4) 1280
wHeight( 4) 1024
bNumCompressionPatterns 5
VideoStreaming Interface Descriptor:
bLength 6
bDescriptorType 36
bDescriptorSubtype 13 (COLORFORMAT)
bColorPrimaries 1 (BT.709,sRGB)
bTransferCharacteristics 1 (BT.709)
bMatrixCoefficients 4 (SMPTE 170M (BT.601))
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0080 1x 128 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 2
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0100 1x 256 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 3
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0320 1x 800 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 4
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0b20 2x 800 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 5
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x1320 3x 800 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 6
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x1400 3x 1024 bytes
bInterval 1
I looked at the output of dmesg and found the following ominous lines:
[ 2364.670728] usb 3-2: new high-speed USB device number 8 using xhci_hcd
[ 2364.829594] usb 3-2: New USB device found, idVendor=0c45, idProduct=6366
[ 2364.829598] usb 3-2: New USB device strings: Mfr=2, Product=1, SerialNumber=3
[ 2364.829601] usb 3-2: Product: Digital microscope
[ 2364.829604] usb 3-2: Manufacturer: Sonix Technology Co., Ltd.
[ 2364.829606] usb 3-2: SerialNumber: SN0001
[ 2364.831835] uvcvideo: Found UVC 1.00 device Digital microscope (0c45:6366)
[ 2364.839225] uvcvideo 3-2:1.0: Entity type for entity Extension 4 was not initialized!
[ 2364.839229] uvcvideo 3-2:1.0: Entity type for entity Extension 3 was not initialized!
[ 2364.839232] uvcvideo 3-2:1.0: Entity type for entity Processing 2 was not initialized!
[ 2364.839235] uvcvideo 3-2:1.0: Entity type for entity Camera 1 was not initialized!
[ 2364.839369] input: Digital microscope: Digital mic as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/input/input20
[ 2637.035796] usb 3-2: USB disconnect, device number 8
[ 2646.208190] usb 3-2: new high-speed USB device number 9 using xhci_hcd
[ 2646.367005] usb 3-2: New USB device found, idVendor=0c45, idProduct=6366
[ 2646.367009] usb 3-2: New USB device strings: Mfr=2, Product=1, SerialNumber=3
[ 2646.367012] usb 3-2: Product: Digital microscope
[ 2646.367015] usb 3-2: Manufacturer: Sonix Technology Co., Ltd.
[ 2646.367017] usb 3-2: SerialNumber: SN0001
[ 2646.369205] uvcvideo: Found UVC 1.00 device Digital microscope (0c45:6366)
[ 2646.376527] uvcvideo 3-2:1.0: Entity type for entity Extension 4 was not initialized!
[ 2646.376531] uvcvideo 3-2:1.0: Entity type for entity Extension 3 was not initialized!
[ 2646.376534] uvcvideo 3-2:1.0: Entity type for entity Processing 2 was not initialized!
[ 2646.376536] uvcvideo 3-2:1.0: Entity type for entity Camera 1 was not initialized!
[ 2646.376672] input: Digital microscope: Digital mic as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/input/input21
I disconnected the Logitech webcam, to avoid interactions, and ran cheese from the console (using sudo to avoid permission problems). I saw the following output:
paul@clio:~$ sudo cheese
[sudo] password for paul:
(cheese:3520): IBUS-WARNING **: The owner of /home/paul/.config/ibus/bus is not root!
libv4l2: error turning on stream: Protocol error
(cheese:3520): cheese-WARNING **: Could not read from resource.: gstv4l2bufferpool.c(1054): gst_v4l2_buffer_pool_poll (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin18/GstV4l2Src:v4l2src1:
poll error 1: Protocol error (71)
I googled 'microdia' and '0c45:6366' and found a lot of people have struggled with this microscope. Some believe they got it working, but the solutions are spread across long threads stream-of-consciouness-wise and I have not pieced together anything that works. I noted that most of the threads are dated 2008-2009. It makes me wonder whether a working driver became available after that period - but I can't find it !
Any help will be much appreciated.
The following command gives an error message:
gst-launch-1.0 -m pulsesrc ! audioconvert ! audiorate ! audioresample ! deepspeech silence-threshold=0.3 silence-length=20 ! fakesink
WARNING: erroneous pipeline: no element "pulsesrc"
I have installed gstreamer1.0-pulseaudio, pulseaudio, gstreamer1.0-plugins-good. The documentation I found says pulsesrc is in gst-plugins-good, but there is no such package in the xenial repository.
One moment my system was fine. I tried to use Skype and could not get microphone to work. I tried starting pulseaudio volume control. It would not start. After reboots and a lot of messing about I removed and reinstalled pulseaudio. Then when I rebooted there was no desktop. A right click gave me options including terminal and web-browser (I think this is openbox). I tried 'startlxde' from terminal and was told it was not installed. I did:
sudo apt-get install --reinstall lxdm lubuntu-desktop
now if I type startlxde in a terminal I get a desktop, albeit completely unlike my old one. However it does not start automatically. How can I fix this ?
Also the microphone now works fine, but there is no output sound. Should I just salvage any personal work and start to install everything from scratch ?
I am using Lubuntu 16.04. I have analogue speakers that take their power from a USB socket. I'd like them to turn off when I power down the pc and suspend it. I thought that would be pretty easy, but I have spent a lot of time googling and still do not have a solution.
My best bet seems to be uhubctl as this appears to run on my hardware (the author warns that not all hubcontrollers support the functionality). I believe this because I have successfully turned off the USB keyboard.
So now I need to know what to specify to turn off power on the USB socket for the speakers. This is bound to take some guesswork since they are not real USB devices and will not show in lsusb. Looking at the back panel and the motherboard manual, I see that the group of four sockets where the speakers are plugged in are described as USB 2.0 ports 7-10. My mouse and webcam are plugged into the same group of sockets.
Running uhubctl with no arguments gives:
Current status for hub 2-1 [8087:8002, USB 2.00, 8 ports]
Port 1: 0100 power
Port 2: 0100 power
Port 3: 0100 power
Port 4: 0100 power
Port 5: 0100 power
Port 6: 0100 power
Port 7: 0100 power
Port 8: 0100 power
Current status for hub 1-1 [8087:800a, USB 2.00, 6 ports]
Port 1: 0100 power
Port 2: 0100 power
Port 3: 0100 power
Port 4: 0100 power
Port 5: 0100 power
Port 6: 0100 power
Current status for hub 4-5 [174c:3074 ASUS TEK. ASM107x, USB 3.00, 4 ports]
Port 1: 02a0 power 5gbps Rx.Detect
Port 2: 02a0 power 5gbps Rx.Detect
Port 3: 02a0 power 5gbps Rx.Detect
Port 4: 02a0 power 5gbps Rx.Detect
Current status for hub 3-9 [174c:2074 ASUS TEK. ASM107x, USB 2.10, 4 ports]
Port 1: 0100 power
Port 2: 0303 power lowspeed enable connect [047d:2043 NOVATEK Kensington U+P Keyboard]
Port 3: 0100 power
Port 4: 0100 power
That is not too helpful. My keyboard shows up, but all my other USB devices - mouse, Seagate HDD, webcam - are not mentioned.
I tried various commands:
uhubctl -a off -p 2 -l 3-9 #Turns off keyboard as expected
uhubctl -a off -p 2 -l 4-5 #ALSO turns off keyboard. Why ?
uhubctl -a off -p 12345678 -l 2-1 #Does not turn anything off
uhubctl -a off -p 123456 -l 1-1 #Does not turn anything off
uhubctl -a off -p 134 -l 4-5 #Does not turn anything off.
So I can turn off the keyboard. No other USB device is listed (although they are there) and they cannot be turned off.
I have no idea what the hub names represent i.e. 2-1, 1-1, 4-5, 3-9. Nor does there appear to be any way to infer the hub names from lsusb.
lsusb gives:
Bus 002 Device 002: ID 8087:8002 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:800a Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 003: ID 174c:3074 ASMedia Technology Inc. ASM1074 SuperSpeed hub
Bus 004 Device 002: ID 0bc2:ab24 Seagate RSS LLC
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 007: ID 047d:2043 Kensington
Bus 003 Device 003: ID 174c:2074 ASMedia Technology Inc. ASM1074 High-Speed hub
Bus 003 Device 002: ID 0f62:1001 Acrox Technologies Co., Ltd Targus Mini Trackball Optical Mouse
Bus 003 Device 006: ID 046d:0994 Logitech, Inc. QuickCam Orbit/Sphere AF
Bus 003 Device 004: ID 0b05:180a ASUSTek Computer, Inc.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lsusb -t gives:
/: Bus 08.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
/: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
|__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M
|__ Port 5: Dev 3, If 0, Class=Hub, Driver=hub/4p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/15p, 480M
|__ Port 5: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 9: Dev 3, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 2: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 2: Dev 7, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 10: Dev 4, If 1, Class=Vendor Specific Class, Driver=btusb, 12M
|__ Port 10: Dev 4, If 2, Class=Vendor Specific Class, Driver=btusb, 12M
|__ Port 10: Dev 4, If 0, Class=Vendor Specific Class, Driver=btusb, 12M
|__ Port 10: Dev 4, If 3, Class=Application Specific Interface, Driver=, 12M
|__ Port 14: Dev 6, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 14: Dev 6, If 1, Class=Video, Driver=uvcvideo, 480M
|__ Port 14: Dev 6, If 2, Class=Audio, Driver=snd-usb-audio, 480M
|__ Port 14: Dev 6, If 3, Class=Audio, Driver=snd-usb-audio, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
I can see there is some relationship between the hub names and the bus/port numbers but I can't come up with a rule.
I noticed from lsusb that the USB 2.0 devices seem to use an Intel controller whereas the USB 3.0 and 2.1 devices seem to use an ASUS controller. I wondered whether the Intel chips might not support power control so I tried the speakers in the USB 2.1 socket which I can turn off when it is attached to the keyboard. No luck.
Does anybody have any idea why uhubctrl behaves as it does ?
Maybe uhubctl is a red herring and is not going to work. I know there are other ways to switch power in Ubuntu but they seem to depend on being able to determine the directory which represents the usb socket. This I have no idea how to do.
I installed simon (speech recognition tool) from Synaptic. I am using Lubuntu Xenial. I have wasted a night trying to get it to work and still have no clue what it wants me to do.
The first time I started simon it tried to lead me through the configuration. I have never been able to get back to that. Now when I start it, I am thrown straight in to its main dialog.
I discovered I have to install libqt4-sql-sqlite. Did that.
I try setting up from the main dialog: settings | configure simon... | speech model. I would like to set a speech model. I click open model | download and get a bunch of desktop themes displayed. I type EN/VF in the search bar. I see something that looks like a voice model [EN/VF/JHTK] Voxforge and click install, close. I still don't get any options apart from 'Do not use a voice model'. As far as I can tell no voice model is loaded.
I managed to download a scenario [EN/H4W] Window Management that appears to do something (it appears in the list !).
Activating simon shows it is hearing me, but no recognition reported and no useful activity of any nature.
Is there any 'Hello world' type setup for this. I cannot find any clear explanation of what needs to be done. As always I can find A LOT of information that appears to be for other versions that look nothing like what I see (I tried 'help' but that just says it can't find the KDE help centre - obviously on Lunbuntu).
I am sure people have put a lot of work into this project, but it is wasted if it is completely impossible to use.
After I upgraded from Lubuntu 14.04 to 16.04 I have had problems using my hotmail account. It has worked sometimes, but now it is almost impossible to connect. The browser reports 'server not found'.
I googled extensively and found a whole load of issues relating to Firefox - resolved by clearing cookies, changing dns and ipv6 config etc, etc...
After diabling DNS prefetch and ipv6 in Firefox configuration, hotmail started working immediately. Hooray ! Only to pack in again after a few days.
I gave up on Firefox and installed Chrome. No change ! I tried another machine with Lubuntu 16.04 - exactly the same, I cannot open hotmail.
Conclusion: This is nothing to do with the browser. It is Lubuntu 16.04 that is giving the problem.
Finally I found an article that suggested adding 8.8.8.8 as an additional DNS server in preferences | network connections | wifi | ipv4 Settings. That fixed the problem !
What did I do and why did I need to do it ?
Why did hotmail work sporadically at the beginning, and again after the change in Firefox settings ?
Print-Screen button does nothing. I bound the keys to scrot as suggested by Vasa. That did not do anything, but scrot does work from the command prompt. So then I tried replacing lxsession-default as suggested by Joern. That did not do anything. I see at the end of the bug report they say the bug is fixed in 14.04. It is not for me ! Does anyone have any idea why this does not work ? As far as I can see the key needs to invoke a command in the appropriate environment. I can't see why this has been giving problems for so many years.
I have done a lot of Googling and I can't make sense of all the information.
I want to remotely operate a Lubuntu 14.04 machine from another of the same type. The remote machine has no monitor attached. I have Teamviewer10 on both machines.
The problem is that with no monitor attached, the remote desktop has only 1024x768 resolution. xrandr shows LVDS1 to be connected, although it isn't, and it only allows 1024x768 resolution.
The solution appears to entail using xrandr to test resolution, and then inserting the xrandr commands somewhere to execute the commands on startup/login, and make the change permanent. It is also possible that I need to create /etc/X11/xorg.conf and set up a dummy monitor. I really do not understand the steps entailed in that, and many Googlees say it does not work anyway. Some say I need a hardware dongle (I really cannot believe that you need hardware to do something like this - it must be a common requirement to use a machine without a monitor).
I would be very grateful if somebody could tell me if I am on the right track and make these ideas more concrete. I do not really want to hear about solutions using other remote viewing software (vnc etc). I may try these ideas in the future when I have time, but right now I want to make it work using Teamviewer (because thus far I have found it to be less laggy than other software when some of the screen contains video).
Many thanks.