r/AskUbuntu • u/dohdur • Dec 30 '22
r/AskUbuntu • u/MEO220 • Apr 04 '23
UBUNTU SESSION DISCONNECTIONS IN USERLAND
Is there any way to make Ubuntu sessions running in Userland on an unrooted Android device remain active? The moment I press the Square overview button at the bottom right of the phone's screen, pushing the app into the background, it then upon return, immediate or otherwise, produces the following error indicating that it's lost the connection to the session:
/data/user/0/tech.ula/files/support/dbclient: Connection to userland@localhost:2022 exited: Remote closed the connection
[Process completed (code 1) - press Enter]
It's an 'ssh' session, and it reports the following warning at the start of each such session, which I have no idea as to why:
/data/user/0/tech.ula/files/support/dbclient: Caution, skipping hostkey check for localhost
This continual disconnecting makes it virtually impossible for me to accomplish anything in it because I always must refer to external apps in order to do any work within the session. So my first priority is to of course get this to stop dropping the sessions whenever I go outside the app even momentarily. Any clues how to fix this issue? My knowledge regarding Ubuntu and particularly Userland is rather limited so far, so any help or pointers where to look would be greatly appreciated.
r/AskUbuntu • u/LeeCig • Mar 18 '22
Any idea what's trigging this "chat" bubble? Asking for a friend.
r/AskUbuntu • u/fuckmeuntilicecream • Oct 19 '21
My sister gave me this computer but cant remember the password. Is there anything I can do?
r/AskUbuntu • u/andthomp85 • Feb 19 '21
Is it pronounced uh-bun-too on oo-boon-too?
I've always said the latter, but I'm watching a video that pronounced the former, which I had never even considered an option.
Just curious
r/AskUbuntu • u/PvtCabooseRTRvB • Jul 21 '20
Ubuntu Bluetooth Not Working (On Macbook Pro)
Hi so I recently installed the most recent version of Ubuntu onto my Macbook Pro. Though there is an issue, for whatever reason the Bluetooth isn't fully turning on. (I should note that my Macbook Pro has internally built-in Bluetooth).
When you toggle the Bluetooth activation button in settings, the bluetooth page still indicates that it is off. The only option is turning Bluetooth Off, even when it's already off. I tried googling around and using different solutions on the internet.
- I looked at 'rfkill list' and saw '0: hci0: Bluetooth' was being 'Soft blocked: yes', so then I used 'rfkill unblock bluetooth' command to change it to 'Soft blocked: no'.
- I tried doing 'sudo service bluetooth start'.
This is what my 'rfkill list; dmesg | egrep -i 'blue|firm' looks like:
ryan@ryan-MacBookPro:~$ rfkill list; dmesg | egrep -i 'blue|firm'
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
[ 0.119119] Spectre V2 : Enabling Restricted Speculation for firmware calls
[ 0.149938] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[ 3.800866] Bluetooth: Core ver 2.22
[ 3.800884] Bluetooth: HCI device and connection manager initialized
[ 3.804175] Bluetooth: HCI socket layer initialized
[ 3.804179] Bluetooth: L2CAP socket layer initialized
[ 3.804184] Bluetooth: SCO socket layer initialized
[ 3.838396] Bluetooth: HCI UART driver ver 2.3
[ 3.838398] Bluetooth: HCI UART protocol H4 registered
[ 3.838399] Bluetooth: HCI UART protocol BCSP registered
[ 3.838414] Bluetooth: HCI UART protocol LL registered
[ 3.838415] Bluetooth: HCI UART protocol ATH3K registered
[ 3.838423] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 3.838461] Bluetooth: HCI UART protocol Intel registered
[ 3.838492] Bluetooth: HCI UART protocol Broadcom registered
[ 3.838496] Bluetooth: HCI UART protocol QCA registered
[ 3.838497] Bluetooth: HCI UART protocol AG6XX registered
[ 3.838501] Bluetooth: HCI UART protocol Marvell registered
[ 3.929750] [drm] Finished loading DMC firmware i915/skl_dmc_ver1_27.bin (v1.27)
[ 3.937141] brcmfmac 0000:02:00.0: Direct firmware load for brcm/brcmfmac4350c2-pcie.Apple Inc.-MacBookPro13,1.txt failed with error -2
[ 3.937158] brcmfmac 0000:02:00.0: Direct firmware load for brcm/brcmfmac4350c2-pcie.txt failed with error -2
[ 4.226972] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4350/5 wl0: Nov 26 2015 03:48:57 version 7.35.180.133 (r602372) FWID 01-c45b39d6
[ 6.199378] Bluetooth: hci0: command 0xfc18 tx timeout
[ 7.003497] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 7.003499] Bluetooth: BNEP filters: protocol multicast
[ 7.003502] Bluetooth: BNEP socket layer initialized
[ 14.391461] Bluetooth: hci0: BCM: failed to write update baudrate (-110)
[ 14.391473] Bluetooth: hci0: Failed to set baudrate
[ 16.407199] Bluetooth: hci0: command 0x0c03 tx timeout
[ 24.631208] Bluetooth: hci0: BCM: Reset failed (-110)I should also note that although my wifi works, my audio isn't working either.
I'm still fairly new to Linux OS and am trying to figure out how to get my Bluetooth working for a project. Any help, guidance, or feedback from the Ubuntu community would be very appreciated.
Thanks!
r/AskUbuntu • u/Doctrina_De_Novo • Aug 22 '23
Need help, I'm using zorin os On my old laptop whose keyboard is malfunctioning so I remove it from the board and using an external keyboard, but I'm unable to turn Wifi on/off through it. Please help me to connect to the wifi
r/AskUbuntu • u/TheColdLemonade • Apr 25 '23
Trying to install Ubuntu on USB, but USB won't show up?
r/AskUbuntu • u/vwibrasivat • Sep 14 '22
Cross-compiling Libssl-dev for ARMV5. How do I make these versions align with each other?
While I am on a x86-64 machine, I need to cross-compile for an embedded GNU linux distro that uses and ARMV5. During compilation I am getting No such file directory on
#include <openssl/opensslconf.h>
So I will need the source for opensll. Clear enough. First of all, there is no apt-get package for Libssl-dev. We are forced to dpkg a deb instead, which is exactly what I try to do next. But then that does not work even when run directly from the downloaded file. It complains the versions do not match. What is the way forward from here?
There is some confusion about whether Ubuntu 18.04 was built on top of Debian sid or Debian buster. This may or may not be related. Your thoughts ?
root@linus-V# dpkg -i libssl1.1_1.1.1n-0+deb10u3_armel.deb
Selecting previously unselected package libssl1.1:armel.
(Reading database ... 169854 files and directories currently installed.)
Preparing to unpack libssl1.1_1.1.1n-0+deb10u3_armel.deb ...
De-configuring libssl1.1:i386 (1.1.1-1ubuntu2.1~18.04.20) ...
De-configuring libssl1.1:amd64 (1.1.1-1ubuntu2.1~18.04.20) ...
Unpacking libssl1.1:armel (1.1.1n-0+deb10u3) ...
dpkg: error processing package libssl1.1:armel (--install):
package libssl1.1:armel 1.1.1n-0+deb10u3 cannot be configured because libssl1.1:amd64 is at a different version (1.1.1-1ubuntu2.1~18.04.20)
dpkg: error processing package libssl1.1:amd64 (--install):
package libssl1.1:amd64 1.1.1-1ubuntu2.1~18.04.20 cannot be configured because libssl1.1:armel is at a different version (1.1.1n-0+deb10u3)
dpkg: error processing package libssl1.1:i386 (--install):
package libssl1.1:i386 1.1.1-1ubuntu2.1~18.04.20 cannot be configured because libssl1.1:armel is at a different version (1.1.1n-0+deb10u3)
Processing triggers for libc-bin (2.27-3ubuntu1.6) ...
Errors were encountered while processing:
libssl1.1:armel
libssl1.1:amd64
libssl1.1:i386
root@linus-V#r/AskUbuntu • u/646E64 • Apr 24 '22
Ubuntu 22.04 Wayland. Firefox using X11.
Hi all, I am now running 22.04 with Wayland session (upgraded from 20.04 w/ X11).
For some reason, firefox is listed as an X11 client (xlsclients). I can't seem to get it running with Wayland.
Has anyone successfully managed to fix this?
r/AskUbuntu • u/maxmust3rmann • Dec 30 '21
How do you backup your 20.04 server ?
I am running some small 20.04 servers in my home lab and in my cloud testing environment and i am asking myself what would be the best way to make a full snapshot based backup. Tried to look on duckduck but didnt find a definitiv answer. I would like to backup to my personal NAS or some cloud storage like dropbox.
PS: can i image a complete 20.04 server while running ?
r/AskUbuntu • u/someaccountforthings • Nov 13 '21
Displays turn on and off repeatedly once locked
Ever since upgrading to Ubunto 20.04 (I think) this issue has come up. I'm using gdm3 if that helps
Here is what it does after Ctrl + L : https://youtu.be/pskcEFtPfsE
r/AskUbuntu • u/[deleted] • Apr 14 '21
All of the sudden my primary monitor shows as Unknown Display, second monitor remains offline
Today I wake up to discover that my main monitor shows as Unknown Display in Settings. Night Light doesn't work even though it's on and scheduled manually from 6 Am to 6 Am.
My second monitor is offline. I connected the second monitor to my graphic card's primary port and the monitor works. I'm guessing it's a driver issue after running commands I found on AskUbuntu:
When I run:
> lspci | grep VGA
> NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)I tried running xrandr and got:
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected primary 1920x1080+0+0 0mm x 0mmThen I tried running nvidia-settings and got:
ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system
(nvidia-settings:46061): GLib-GObject-CRITICAL **: 09:33:12.928: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** Message: 09:33:12.930: PRIME: No offloading required. Abort
** Message: 09:33:12.930: PRIME: is it supported? noWhat I've tried so far
I tried running:
sudo ubuntu-drivers autoinstall..then rebooted and still nothing. Primary monitor is still unknown and secondary is offline. Would anybody know what might be the situation? Kind of bummed out about this since I was enjoying using Ubuntu a lot.
Ubuntu Version: 20.04.2 LTS (made sure it's always updated)
OS Type: 64-Bit
GNOME Version: 3.36.8
Windowing System: X11
r/AskUbuntu • u/Ahaenobarbus • Dec 29 '20
[Guide] How to Get Ubuntu Running on Windows Hyper V with Enhanced Session, Fullscreen and Copy/Paste
I'm writing a guide to install a working Linux VM in Hyper V after finding Fedora either fails to boot or does not have fullscreen support and runs slugglishly because of missing enhanced session which Microsoft haven't developed.
Hyper V is only supposed to offer native OS performance for Arch and Ubuntu variants because other "emulated devices do not provide high performance and cannot leverage the rich virtual machine management infrastructure that the Hyper-V technology offers. In order to make full use of all benefits that Hyper-V provides, it is best to use Hyper-V-specific devices for Linux and FreeBSD."
You can see vm-tools is out of date however we'll use a user update (you can see Arch and Ubunutu only): https://github.com/microsoft/linux-vm-tools
VM
Create VM
Disable secure boot
Add Guest Services under settings
Install OS - Xubuntu or Ubuntu recommended (see notes at bottom)
Boot and when on desktop install updates, restart/return and open terminal.
Kernal change
Replace kernal with Azure: https://askubuntu.com/questions/1216482/enhanced-session-mode-not-working-hyper-v-guest
Optional if you have a previous azure kernal installed:
sudo apt purge -y linux-azure
sudo apt autoremove -y --purge
Begin with:
sudo apt install -y linux-azure
sudo update-initramfs -u
Reboot
Set up XRDP
Source: https://old.reddit.com/r/HyperV/comments/gvfxzq/ubuntu_2004_enhanced_session/ftqrh74/
Add latest XRDP: https://github.com/microsoft/linux-vm-tools/blob/cb07b3eaeb89822ebc6eaddb10f3932bb1879f47/ubuntu/20.04/install.shJust do below:
wget is.gd/uhyper
sudo chmod +x uhyper
sudo ./uhyper
sudo ufw allow 3389
Reboot
sudo nano /etc/xrdp/xrdp.ini
Add somewhere on a new line:
address=0.0.0.0
You probably have these already, otherwise:
port=vsock://-1:3389
use_vsock=false
Save & exit nano
sudo /etc/init.d/xrdp restart
Powershell Windows Side
Set-VM -VMName <vm name here> -EnhancedSessionTransportType HvSocket
Final Step
Now shut down, connect and start, continue (exit the screen resolution window), log out, actually log out, exit VM window and connect again. Now select resolution and you'll land at a blue screen so enter your username and password. Copy/paste for text should be available :)
Notes
Ubuntu - connection procedure specific: connect, start, enter Ubuntu boot, minimise window, view > unselect Enhanced Session, logout, connect and enter user details. Not doing this prevents terminal from opening for some reason, 50hz refresh rate.
Xubuntu, Xfce - works super well, stable, 50hz refresh rate.
Lubuntu, LXDE/LXQT - it just breaks the desktop environment and leaves you with no wallpaper and funky toolbars.
Budgie - XRDP login starts but won't connect. Just broken.
Mate - appears broken and requires shut down first, then starting, logging out, connecting, you'll be told Mate isn't supported on your OS, menu closes after a few seconds, some programs open if you're fast enough to select them.
r/AskUbuntu • u/CaptAubrey1805 • Sep 01 '20
Installing Ubuntu 20.04.1 to an 8GB SD Card on a Toshiba Z930 Ultrabook
Hello all in Ubuntuland! I've hit a small snag and was wondering if someone has solved this issue. I picked up a Toshiba Z930 Ultrabook the other day, fully functional, but missing it's MSATA drive. My thinking was this would make a great grab-n-go spare laptop with Ubuntu on it, and if I could load the OS to an SD card, I wouldn't even need to hunt down an old MSATA drive on Ebay. I boot the laptop off an Ubuntu 20.04.1 flash drive and run the local installer. The installer runs fine, finds and partitions the SD card, and installs Ubuntu. My only problem is that once I reboot, the laptop can't find the OS on the SD card and just runs through all the boot options till it ends with a failed PXE boot. I am assuming this is either because a) I haven't set the BIOS properly to boot from the SD, or b) the SD requires something similar to a (DOS) format /s to make it bootable. I've tried every configuration available in the BIOS with no luck, and can't seem to find any applicable support articles. Any help would be appreciated.
Thanks!
CaptAubrey1805
r/AskUbuntu • u/pastormoser • May 06 '20
Can mount smb with nautilus but not with gio/gvfs-mount
Hi, I'm having an issue trying to mount a smb drive to my ubuntu 18.04 desktop. If I go to Nautilus/Other Locations/Connect to Server I can connect to smb://<servername>/<sharename> with no problems. However, through the terminal if I use the command gio mount smb://<servername>/<sharename>, I get the error "gio: smb://<servername>/<sharename> volume doesn’t implement mount"
Oddly enough, I can access the drive when unmounted by using smbclient. Any help would be greatly appreciated!
r/AskUbuntu • u/[deleted] • Apr 29 '20
Ubuntu 20.04 Nvidia Prime & Screen Tearing
Ubuntu 20.04 Dell Inspiron 7559 4K screen Nvidia GeForce 960m GTX Intel i7 6700k 16GB RAM
With UEFI & secure boot on a fresh install I have to revert from nvidia-driver-440 to nvidia-driver-435 to get nvidia settings to show me more options than just “prime profiles”. Once I get nvidia-driver-440 installed I have to do following to get screen tearing to disappear:
sudo gedit /etc/modprobe.d/nvidia-drm-nomodeset.conf
Add the following line to the conf file:
options nvidia-drm modeset=1
Then update initramfs:
sudo update-initramfs -u
After that I reboot and screen tearing is gone. If I switch my prime profile back to Intel and then back to Nvidia the solution above doesn’t help anymore and I cannot get screen tearing to go away.
r/AskUbuntu • u/[deleted] • Jun 27 '19
While playing around with Ubuntu, I disabled Secure Boot. Now this happened when I boot to Ubuntu and won’t stop. What should I do next?
r/AskUbuntu • u/kutomore • Apr 19 '19
Help, I think I messed up my Nvidia drivers
So, I've started using Ubuntu in the last 6 months for work, one thing that always bugged me is that I could not, for the life of me, make my Nvidia GPU on my notebook play nice with linux, the first time I tried I bricked the whole thing and had to to a fresh install. The second time it made my Ubuntu unuseable, but I was still able to boot by changing into Ubuntu on Wayland, so a couple months went by and now I'm trying to use Synergy, but it does not work well with ubuntu on wayland, the cursor is invisible, due to some googling I found out it works well on regular ubuntu.
So I decided to mess around with Ubuntu again. I figured out that by changing the GPU from Nvidia's to Intel's on the Nvidia X Server Settings I was able to log in into regular ubuntu, but the resolution is extremelly low. If I try to log into it with the Nvidia GPU the computer just stops responding and I have to turn it off and on again.
I figure this is probably an driver issue with the Intel GPU that won't let me increase the resolution. But I cant figure out how to fix it.
Alternativelly I would also like to be able to use my Nvidia GPU on regular ubuntu instead of on Wayland, so I could play some esports games on it.
If there is no way to make the Nvidia GPU work, id like to just turn it off, I figure maybe it'd help with the overheating issues I have on this laptop ever since I transitioned into Ubuntu.
Anyway guys, any help is appreciated.
edit 1: Forgot to mention, I've tried changing the drivers on the "Additional Drivers" thing, it did change them but it does not make any difference in the issue.
edit 2: I tried again to change drivers, I changed to X.Org X server -- Nouveau display driver, It did allow me to log in using the nvidia gpu, but it still won't allow me to use a proper resolution.
edit 3: managed to fix it, I followed the steps in https://askubuntu.com/questions/1113998/ubuntu-18-04-hangs-after-login-page-after-installing-nvidia-drivers but instead of downloading the drivers from nvidia I used the ones in "Additional Drivers"
r/AskUbuntu • u/Zexanima • Dec 16 '18
No audio, fresh install of 18.04 on Alienware 17 R3
In the live environment audio worked fine. After installing, it no longer works. I've pulse audio shows the correct devices and is detecting audio is being played, just no sound. Any help would be much appreciated!
inxi output
Audio: Card Intel Sunrise Point-H HD Audio
driver: snd_hda_intel bus-ID: 00:1f.3 chip-ID: 8086:a170
Sound: Advanced Linux Sound Architecture v: k4.15.0-42-generic
r/AskUbuntu • u/BloodyIron • Jul 29 '18
Where is the best place for me to make feature requests or bug reports for Ubuntu? That will actually get read and implemented.
I've worked with a lot of different FOSS projects, and they typically have a presence on GitHub.
Normally, with such things, I would just go file an "issue" (ticket) and describe the feature I want added, or the bug I'm experiencing, or other such things. And usually, it will get added/fixed, or they'll point out that I'm making a duplicate request, or whatever. Generally it's very well received.
But with Ubuntu, I have no idea where I can do the same thing, and actually be taken seriously.
This is important to me, because I implement Linux, and I bridge the gap between Desktop/Server real-world implementation (including gaming), and developers. Not just for Ubuntu, but a whole lot of other things.
Most recently, I want to help Ubuntu become even better for the gaming experience. Small things like settings for mouse acceleration, and other such things.
So, where is the best place for me to post my feature requests, bug reports, and others? Because I have yet to find it. :(
r/AskUbuntu • u/[deleted] • Feb 03 '18
Importing music. Tried Banshee, Rhythmbox and Amarok
Banshee, Rhythmbox and Amarok all have my music library - stored on an external drive - and all three crash when I try and update the library.
The external drive works just fine on my windows PC, my Mum's Windows laptop, my sister's apple mac and my friend's Ubuntu 14 laptop.
There was a work round the last time this happened that involved turning podcast support off but I've done that and no joy.
Any help appreciated.
r/AskUbuntu • u/rcthrowaway2017 • Jan 23 '18
Virtualbox freezing after kernel update on Ubuntu
So a day or two ago, Ubuntu 16.04 updated its kernel and after rebooting, I would get this error when attempting to start up a VM:
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please install virtualbox-dkms package and load the kernel module by executing
'modprobe vboxdrv'
as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.
After this I installed virtualbox-dkms and ran modprobe vboxdrv, ran apt-get autoremove, and rebooted. After this, the OS just froze when I tried to start a VM- I didn't get the previous message.
I just tried uninstalling/purging Virtualbox and reinstalling, as well as booting from an older kernel, however now I just get the same message as before when I try to start a VM.
How can I fix this to start running VMs again?
Thanks in advance~
r/AskUbuntu • u/iLikeFPens • Aug 27 '23
Laptop doesn't wake up from sleep
Hi,
I'm running Ubuntu 22.04 on a Lenovo Legion 5 (15ACH6). Half the times when I close the lid, the laptop won't wake up upon opening it. I do see the white light on the power button, which indicates the PC is actually awake, but the screen is black.
I have tried a different kernel (Liquorix) as I was out of ideas and it didn't seem to make much of a difference in this regard, so I got rid of it.
Does anyone know a working solution?
Thanks.
