Latest Ubuntu related questions

Score: 0
Sean Wanderer avatar
Can I install Ubuntu in Android tablet?
cx flag

I was just wondering if I could install Ubuntu 22.10 in my Android tablet? Will it works exactly like it does in my laptop? I have 6gb of ram in the tablet and a decent mid range processor? Will it be good enough to do all the basics task?

Score: 0
vinay avatar
how to allow root log on on console on Ubuntu 22.04
cn flag

I can ssh into my system as my normal user (non-root) and sudo to root, but on on vm-guest-console on vCenter, I'm not able to log in as a root.

What setting is required to allow root log in to console?

Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:        22.04
Codename:       jammy

grep PermitRoot  /etc/ssh/sshd_config
#PermitRootLogin prohibit-password
PermitRootLogin yes
Score: 0
Mazharul Islam Mustak avatar
How to recover data from ubuntu after switching from windows 10?
pg flag

After switching Ubuntu, i surprisingly get to know that my previous files from the whole drive deleted. Now how I can recover my data from the Filesystem partition. I didn't try anything yet.

Score: 0
Nuwanthi Karunarathne avatar
Unable to locate package net-tools
jm flag

I wanted to install dhcp server. When I typed ifconfig it says,command not found but can be installed with sudo apt install net-tools. Then I did so. Results were

Reading package lists... Done
Building dependency tree...Done
Reading state information...Done
E: Unable to locate package net-tools

I updated cache. Then checked the repository in my ubuntu version whether it has or not that particul ...

Score: 0
iamboredfor2months avatar
Ratpoison on ubuntu
jo flag

I installed ubutnu 22.04 on my macbook air 2017, and i wanted to install the ratpoison window manager.

I already installed blackbox, but i wanted to set ratpoison as the default window manager. However, in the login screen, ratpoison dosent show up.

I tried doing sudo vim /var/lib/AccountsService/users/username and change Xsession to ratpoison, but then when i try to login, it says "Failed to sta ...

Score: 0
Failed to initialize NVML: GPU access blocked by the operating system on Ubuntu 22.10 / WSL2
in flag

Premising that I’m using “Microsoft Windows 11 [Version 10.0.22000.1219]”,I have installed Ubuntu 22.04 on top of it and then I’ve upgraded Ubuntu 22.04 to 22.10 and I’ve upgraded the driver for my RTX 2080 ti on the host OS. After this,I have installed CUDA inside the WSL2 / Ubuntu following this mini tutorial :

https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_ ...

Score: 0
Manuel Jordan avatar
How update a package that was installed through the dpkg command?
kz flag

About the dpkg command, for a first installation of a package is executed the following command:

sudo dpkg -i filename-v1.deb

Observe it is version 1. Until here I am ok.

But if is available a new release for the same package.

Question

  • How update the current installed package through the same dpkg command?

What is the specific option? Through the man dpkg I couldn't find an option such as -u or ...

Score: 0
Cameron J avatar
Upgrading to jammy jellyfish removed my wireless drivers and I can't connect to wireless connections
ee flag

I recently upgraded to Jammy Jellyfish (20.04 to 22.04) but upon doing so, my wireless drivers uninstalled themselves and I have tried reinstalling them but that didn't work so I thought it was the kernel but upgrading that didn't help. I can still connect to wifi through an ethernet but I no longer have the option to connect to any wireless network.

Score: 0
Barry Kimelman avatar
Under ubuntu 22.04 why do I see multiple media entries for the same device
sa flag

I recently upgraded to Ubuntu 22.04. So far, I have only noticed one issue. For a USB3 external disk, I see two entries under /media:

[barry] /media/barry 10096 /bin/ls -la /media/barry
total 36
drwxr-x---+ 4 root  root   4096 Nov 18 10:16  .
drwxr-xr-x  3 root  root   4096 Aug  8  2021  ..
drwx------  2 root  root   4096 Nov  1 06:42 'My Passport'
drwxrwxrwx  1 barry barry 24576 Nov 18 10:16 'My Passport ...
Score: 1
Saurabh Sinha avatar
Session logs out automatically in Ubuntu 22.04 while using chrome
nf flag

I'm using Ubuntu 22.04 from last some months. And I'm constantly facing this issue.

Issue :- While working on Chrome Browser for sometimes my browser automatically closes and sometime my current session logs out automatically and then I have to login again in order to use my laptop.

Device Specs:- RAM - 4GB Model - Dell Inspiron 3542

Can anyone help me to get rid of this.

Score: 2
Bennito avatar
Ubuntu 22.04 terminal window gets progressively smaller
bb flag

I've noticed that when I have a terminal window open, and then double-click its title bar to maximize it, and then double-click it again to bring it back to its regular state, that the size of the window gets progressively smaller and smaller each time.

I have a "Profile" set up inside of Preferences that's the default 80x24.

Preferences - Terminal Size

You can see here where that's the case when it  ...

Score: 2
Mario avatar
How can I move a Firefox snap user profile back to its original place in the home directory?
cn flag

For a technical reason, I had to switch from Firefox snap back to the traditional Firefox. I used that straightforward guide to accomplish that step.

I then realised that the Firefox snap (installed when I changed to 22.04 a few months ago) moved my original Firefox profile from my home (~/.mozilla) to the snap folder (~/snap/firefox/common/.mozilla). Upon the required removal of the snap package, my  ...

Score: 0
Mahboob Elahi avatar
Windows like partion in Ubntu22.04
um flag

I am new to Linux. Yesterday i have installed ubuntu 22.04 and during the partition I made "/personal" with 300GB space but after installation, it seems this drive is in root and I do not have read/write permission to this derive and I am unable to give permission to use other than root. Is there any way to move this partition to home or give full permission? Basically, i want to have windows dri ...

Score: 0
Владислав Морозов avatar
"Updates and other software" in preseed ubuntu 22.04

Colleagues tell me how to answer the question "Updates and other software" in preseed ubuntu 22.04. My preseed:

 # Partitioning
ubiquity partman-auto/method string crypto
ubiquity partman-crypto/confirm boolean false
ubiquity partman-crypto/passphrase password Ubuntu123
ubiquity partman-crypto/passphrase-again password Ubuntu123
ubiquity partman-crypto/warn_erase boolean true
ubiquity partman-crypt ...
Score: 0
Tooster avatar
How to add *dynamic* context menu entries in .desktop file (entries generated by script on each context menu reveal)
cn flag

Desktop Environment: Gnome 42.5

I want to add a dynamic list of recently opened files to my VScode .desktop icon. I have a little script that can read the list of recently opened files and folders in the VSCode, and prepare a list of paths from that

RECENT=$(sqlite3 ~/.config/Code/User/globalStorage/state.vscdb \
 "SELECT value FROM ItemTable WHERE key = 'history.recentlyOpenedPathsList'")

DIRS_AND ...
Score: 0
Banda avatar
iptables forward connection port-to-port traffic
sm flag

I have my server1 that needs to connect and download files from another external server2:8081, an this server sends me list with urls like "server2:41411/".

Is it possible to make my server1, referring to the link server2:41411, connect and download files from it through port server2:8081?

Score: 1
Tim50001 avatar
Encrypting a partition that shouldn't be accessible on live boot
ai flag

I am not sure what keywords I need in googling, but this article gave me some hope on doing what I want. I'd like to give a run down of my current state, and what my goal state is, and see if this article is what I need to follow to get there. Involving disk formatting and encryption, I don't want to just jump into it blindly and end up losing all my files.

https://computingforgeeks.com/encrypt-ubun ...

Score: 0
Владимир Эмирян avatar
Fsck logs on the screen
gm flag

I just install Ubuntu 22.10 and first that I notice is fsck logs on the screen before splash screen. I don't want watch this. So I found fsck.mode=skip, but I don't want turn off checking, FRAMEBUFFER=y > /etc/initramfs-tools/conf.d/splash, but I don't know how it works, bu it works. Also I found article on Arch Wiki, but it Arch, Ubuntu haven't /etc/mkinitcpio.conf. Is it possible to adapt this art ...

Score: 0
Hellow2 avatar
swap xorg video driver from amdgpu to radeon
sl flag

The latest Kernel update Linux 5.15.0-53-generic introduced a bug, breaking the radeon driver for the AMD Ryzen 3 2200G with Radeon Vega Graphics. It booted to a just black screen. I tried installing AMD's drivers with apt install amdgpu or amdgpu-install. After a lot of troubleshooting it didn't throw an error and installed. On reboot the drivers didn't seem to work properly. Everything looked exactl ...

Score: 0
culp avatar
Pyglossary seemed to install but won't run - error message - what next?
sh flag

I am new to Linux and also to Python. I am trying to run Pyglossary on Python 3.10.6 (preinstalled) on ubuntu 22.04.1.

I installed it using pip (pip install --upgrade pyglossary). There was a warning that it had defaulted to a user installation and that /home/linux/.local/bin wasn't on the path. I added it to the path.

When I try to run it I get the following error message:

[CRITICAL] Traceback (most r ...
Score: 0
user135 avatar
lsblk --fs to get information about usb stick
gt flag

I am using Ubuntu 20.04. I want to get some informations about my USB stick

When I type lsblk --fs I get informations about my USB stick. I can see the partitions labels, fstype.

But I can't see the available disk space (fsavail) of not used partitions also not the mountpoint.

How can I get those informations even when they are not in use?

Score: 0
shekhar avatar
Symmetric private key generation using ESAPI API TPM
mx flag

I was going through the ESAPI APIs , I have hosted the TPM simulator on my Ubuntu 22.04 desktop and trying to generate the symmetric private key from one C program and another C program using the same key for encryption and decryption simple plain text.

So far I went through this example <https://github.com/tpm2-software/tpm2-tss/blob/master/test/integration/esys-rsa-encrypt-decrypt.int.c>

And ...

Score: 0
Stevenest avatar
Ubuntu Partition Not Showing in Installer
lb flag

Ubuntu installer doesn't show partitions when installing. Did Everything Possible From Bios. And I Created a Partition.

Score: 0
Samuel Enibe avatar
SCILAB graphics on Ubuntu 22.04 LTS
sj flag

SCILAB 6.1.1 works on Ubuntu 22.04 LTS, but does not produce graphics. Earlier versions such as 5.5.2 also does not produce complete graphics. I have tried plot, plot2d, and bar. Each just produces a graphic window and hangs up.

Everything worked fine on Ubuntu 20.04 LTS on the same laptop. Earlier versions of SCILAB also worked fine on the same laptop.

Please suggest solution.

Score: 0
sancho.s ReinstateMonicaCellio avatar
How to run spyder from Debian package
pl flag

I have installed spyder via apt under Ubuntu 22.04LTS:

$ dpkg -l | grep spyder
ii  python3-pyls-spyder                           0.4.0-2                                 all          Spyder plugin for the Python Language Server
ii  python3-spyder                                4.2.1+dfsg1-3                           all          Public modules for spyder (Python 3)
ii  python3-spyder-kernels                ...
Score: 0
Avijit Paul avatar
Error message during start on Ubuntu 20.04
US flag

I have installed Ubuntu 20.04 as a frsh installation in my Lenovo IdeaPad 320-14lkb. The operating system installed and running basic tasks well. But during start up every time there are several following error messages.

[ 0.354302] platform MSFT0101:00 failed to claim resource 1: [ mem 0xfed40000-0xfed40fff] [ 0.354316] acpi MSFT0101:00: platform device creation failed: -16 [ 0.437177]  ...

Score: 0
RAA avatar
WiFi adaptor not found while the Ethernet cable is connected
so flag
RAA

I am running Ubuntu 18.04 on my laptop and I want to have access to the internet through Wifi while my Ethernet port is wired (connected) to another machine (here is an embedded board). The Wifi works fine until I connect the ethernet cable which disables the WiFi and after that if I try to turn on the WiFi again, I get "No WiFi adaptor found"

Many Thanks,

Score: 1
Alexander avatar
Mount samba shared directory as user home folder on the guest virtual machine
uy flag

I want to run several Ubuntu 20.04 virtual machines based on libvirt that share the same home folder for the user. On the host I created the following samba shared folder:

lsblk
sdd                          8:48   0   1.9T  0 disk  
└─luks-46538...
                        253:2    0   1.9T  0 crypt 
└─data-ubuntu--gpu--home 253:10   0  1000G  0 lvm   /mnt/shared_home

on the host I created t ...

Score: 0
Ali Moghadasi avatar
Redirecting vpn traffic
lu flag

I run vpn on a server.but i want to redirect the traffic coming to the server through another server.how can i do this? I tried port forwarding but don't know how it works.

Score: 0
Maryam avatar
Add Linux kernel 4.10.0-28-generic in ubuntu 22.04
by flag

I am very new to Ubuntu and in learning phase. I was a windows user before and switched to Ubuntu for my work. Currently, I have Ubuntu 22.04.1 LTS with Linux 5.15.0-52-generic. I want to add another Linux kernel alongside the stated one. It is Linux 4.10.0-28-generic. I want to have both of these kernels in Ubuntu and at the system reboot, I shall select the desired one. Please help me how to do this. ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.