Latest Ubuntu related questions

Score: 1
threehappypenguins avatar
sudoers.d: Allow user to not need password for sftp only
tr flag

In WinSCP, I want to be able to have sudo access. In WinSCP, Advanced > SFTP > SFTP Server: sudo su -c /usr/lib/openssh/sftp-server

In Ubuntu 22.04.1:

echo "user1 ALL=(ALL) NOPASSWD: ALL" | sudo tee "/etc/sudoers.d/user1-user"

I successfully have sudo access in WinSCP.

But I don't want to permit no password for everything. Just sftp-server. So I changed ALL to /usr/lib/openssh/sftp-server:

Score: 1
j0h avatar
permission will not change on sd card file
au flag
j0h

I have a shell script I want to make executable on an SD card. I have changed the folder permissions to my user/group. no problems there. when I issue the command chmod a+x script.sh then check the permissions with ls -al the permissions are read only. I have tried sudo chmod +x script.sh and a variety of other chmod commands, yet the file remains read only. I tried marking the script executable, and cop ...

Score: 0
Eldho K K avatar
How do i make a Static ip available over a network
tv flag

I'm running ubuntu server 20.04 LTS in raspi 4 model B.

I want to set a static IP in one raspi and run API over that ip and that must me accessible over the the network to which I'm connected to. I have wlan0 and wlan1 in both devices.

For example i want to connect wlan0 (with static ip) of device1 to a router and device2 will also be connected to the same router and I must be able to access the sta ...

Score: 1
ziafe avatar
Cyberghost VPN does not connect
cx flag

I've just installed Ubuntu and trying to connect to my cyberghost VPN. Doesn't seem to work for now. Can somebody tell please tell me if there's a problem with my code ?

ze@ze-HP-EliteBook-850-G6:~/Desktop/a$ sudo cyberghostvpn --streaming 'Netflix FR' --coutry-code FR --connect Prepare OpenVPN connection ... Select server ... paris-s404-i11 Connecting ... OpenVPN process found, terminating all O ...

Score: 0
jk - Reinstate Monica avatar
After upgrade to 22.04 LTS: Cannot open links from evince
sh flag

After the upgrade from Ubuntu 20.04 LTS to 22.04 LTS I observed that I can no longer open weblinks from evince. I get the following error message on the terminal where I called evince:

sh: 1: exec: kfmclient: Permission denied

How to fix this?

P.S. After reading this question and its answers permission denied when Evince tries to use Chrome to open link I looked up /var/log/syslog and found this ...

Score: 0
casperso avatar
Grub / boot partition repair on dual-boot UEFI system
gf flag

In Ubuntu on a 64-bit dual-boot UEFI bios system with Windows 10 and Ubuntu installed, I recently made a mistake when trying to format a USB key in the disks tool.

I accidentally formatted Partition 1 on the hard disk to which Ubuntu is installed. I think that is the boot partition. When I boot to a live USB and view the disks I can still see the other partitions with my Windows and Ubuntu file ...

Score: 1
Akshat avatar
How to organize files in linux?
US flag

I am super new to linux (1 day experience) and i have a root partition along with home partition now i want to know that like in windows we either can by default install application to program files or custom directory so in linux or ubuntu or zorin should i install it in root also the root partition is smaller compared to home.

Score: 0
Script Isn't Working at Reboot
es flag

In this thread Temporarily Disable Touchscreen I asked how could I disable my HP touchscreen. By trial and error, and using the command

xinput --list

I was able to identify which device was the touchscreen and by typing

xinput disable id

being the id the device's actual number, I can disable the touchscreen.

The problem is that I have to do this every time I turn on my pc. Furthermore, depending if I ...

Score: 0
Orion avatar
Does RTC wake alarm work after power loss
ru flag

I will have powerloss for a few hours due to some upgrades. I am wondering if writing a wake-up time to /sys/class/rtc/rtc0/wakealarm, that is after the power loss event will work? To be clear the servers will be shut down before this event.

Score: 1
Sagar Thakur avatar
Built in camera not working in ubuntu 22.10 + Dell 14 N4050
ir flag

when i open cheese or another camera application like guvcview it didn't respond and ask me to force quit it. But my camera light is on.Please solve this...

lsusb
    Bus 002 Device 003: ID 0bda:0138 Realtek Semiconductor Corp. RTS5138 Card Reader Controller
    Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root h ...
Score: 0
Fábio Ribeio avatar
Can't install Ubuntu 18 on my station (Dell precision 3650)
lu flag

So, I have this workstation at work, Dell Precision 3650 with a Nvidia RTXA4000 on it and we usually use these machines to work with some robots here etc.

One of the robots needs to be operated using ROS Melodic (Ubuntu 18) and this is where the problem is happening.

There are 2 SSDs installed on the computer, one with Ubuntu 20, which works perfectly (even though it was hard on the beginning to mak ...

Score: 2
Brunob avatar
Boot fails after upgrading from 20.04 to 22.04 on dmraid device, no partitons
gn flag

After upgrading from Ubuntu 20.04 to Ubuntu 22.04 I go into an initramfs command line, where I see my RAID device but no partitions.

ls -l /dev/mapper/
total 0
crw------- 1 root root  10, 236 Nov 30 09:42 control
brw-rw---- 1 root disk 253,   0 Nov 30 09:40 isw_dbejgbheca_Volume0

Then I run kpartx -a /dev/mapper/isw_dbejgbheca_Volume0 and the partitions appear.

ls -l /dev/mapper/
total 0
crw---- ...
Score: 0
wopner avatar
Ubuntu 20.04 eth Adapter Down Upon Boot, works with Lease Refresh
cx flag

This is a bit of a strange one. Had a power outage, and after everything came back up (no physical damage), this Ubuntu box is starting up with the default/only eth adapter down. Upon a force dhclient lease refresh, it comes back up just fine.

Pertinent output below. Anyone run into this?:

Initial State:

    ifconfig -a
enp4s0: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether ff:ff:ff:ff:ff: ...
Score: 0
PR0X1M4 avatar
Can't View what inside directory but can view file inside of that directory
gs flag

I have directory and file in it

$HOME/tmp/file.txt

I want to make it so that I can't visualize contents inside of tmp but I can visualize contexts inside file.txt So I make this part

cd $HOME
cd tmp
bash: cd: tmp: Permission denied
ls tmp
ls: cannot open directory 'tmp': Permission denied

Now I can't view what's inside of tmp directory (as I wanted)

But I want to access what inside of file.txt, so when ...

Score: 0
bajotupie avatar
Message in boot, what does it mean?
uy flag

So ever since I upgraded from Ubuntu 22.04 to 22.10 on my laptop, I've been getting messages during boot. I didn't pay attention to it, but the laptop started to make a lot of sound and sometimes freeze. I would force shut off with the button and ignore the problem. Just now, after freezing and shutting down, the laptop would not boot. I got the following error

The root filesystem on /dev/nvme0n1p2 r ...

Score: 1
Leonardo Viotti avatar
Google Chrome and Firefox not loading any pages graphics card issue
mk flag

I'm using Ubuntu 22.04.1 LTS and both Google Chrome and Mozilla Firefox stopped working after a sudo apt upgrade. They won't even open the settings page. My internet connect is good and I'm able to connect with other applications.

I seems to be a graphics card issue.

When running Chrome form the command line I get the error message below when using the NVIDIA graphics card:

gpu_memory_buffer_support_x ...
Score: 1
bobak avatar
Can I use an Ubuntu bootable USB on a MacBook Air M1?
ve flag

I seem to be not able to boot my MacBook Air from a bootable USB with Ubuntu installed. I had found earlier that there was no support on M1 for Linux-based OS.

Is it still true or has someone found a sort of solution?

Score: 0
alabamatoy avatar
diagnose kernel log error
br flag

Ubuntu 22, Hard drive is internal SSD with only 2 partitions, one is EFI the other is the main partition. (I dont know what EFI partition is...)

Error is "Nov 30 08:41:03 hreNewLaptopHP kernel: [ 8.728809] EXT4-fs (nvme0n1p2): re-mounted. Opts: errors=remount-ro. Quota mode: none."

I have no idea how to go about fixing this. Happens on startup every time. Machine seems to run normally, although ...

Score: 0
A.G. avatar
Ubuntu App for border adjustment
it flag

In 'Scanner apps' in mobiles there is provision for border adjustment. Using these Apps we can adjust and make a document having an irregular quadrilateral border into a rectangular pdf. So it looks like a pdf taken using a scanner machine. Is there any App in Ubuntu that has this provision? I could find apps that have provisions for adjusting left, right, top and bottom margins. But all these margin ...

Score: 0
user2901351 avatar
ubuntu 22.04 is ignoring/deleting my autostart applications
us flag

Been using ubuntu since version... 16? and never had this issue before. Just started after transitioning from 20 to 22.

PROBLEM:
I add an application to the list of startup applications (then close and re-open the Startup Applications Preferences dialog box to verify that my new entry is still there), reboot, and find that
a) the application has in fact not auto-launched, and

b) when I re-open th ...

Score: 0
Linux Kid Inside avatar
How to stop auto-save of a screenshot?
om flag

I'm running Ubuntu 22.04 LTS Desktop on my PC, how can I stop the auto-save of a screenshot?

Score: 5
You tube avatar
Ubuntu 22.04.1 LTS freezes few times per hour and very unstable
mq flag

Title shows the problem.Brand-new install. I selected minimal install because I don't need libre office. I only installed gpart, testdisk, edge beta, htop and discord. Fresh install nothing installed and even on install disc it still crashes or freezes. Anything that requires a login makes the session crash like discord and the online accounts in settings. The OS also has some weird render issues. Somet ...

Score: 1
ctoman avatar
run built in commands in ABL language
at flag

For some reason in Ubuntu I cannot run built in commands in my code.

This same code works fine in other OS s.

input thru value("cd " + t-dir + " ; ls -1 last-*~"").

I get the /bin/bash: error, for some reason the code cannot find the "cd" command.

Probably my code. I'm just putting out there while on work on the ABL code.

Thanks in advance!

Score: 0
anshkun avatar
Manual Page open take lot of time
me flag

I run man command to check manual page of netlink API

man 3 rtnetlink

It took long time in opening manual pages , Same observation for other manual pages

Score: 0
Teynz avatar
Add non Uefi Compability to Ubuntu
gf flag

I have a usb stick with a full install of ubuntu 22.04 LTS. Unbuntu is running perfectly fine as long as I boot the Usb stick via my own machiene or a Virtual Box VM.

The Usb Stick has the purpose to be used in my school for my working there. Due to the bad configuration of the systems, working there is close to impossible.

I suspect that I can't boot the Usb at school Because they have uefi disable ...

Score: 0
Pradip Parmar avatar
My wifi adapter is not show and working
il flag

*-network:0 DISABLED description: Wireless interface physical id: 2 bus info: usb@3:7 logical name: wlx1cbfce2ea4db serial: 1c:bf:ce:2e:a4:db capabilities: ethernet physical wireless configuration: broadcast=yes driver=r8188eu driverversion=5.15.0-46-generic multicast=yes wireless=unassociated enter image description here

Score: 0
rrr171 avatar
Ubuntu crashes with search bar if I want to searching any things?
gr flag

I can not search files on Ubuntu 22.04 LTS .. Nautilus always crashes

enter image description here

When Running Nautilus from the terminal it gave me this error:

Nautilus-Share-Message: 15:54:00.564: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. 
Error No such file or directory Please ask your system administrator to enable  ...
Score: 0
John Willemsen avatar
Show the content of child folder(s) in the parent folder
mm flag

I have a parent folder. This parent folder contains no files; only child folders. All of those child folders only contain files; no further child folders.

I'm looking for a way to show the contents (files) of all the child folders in the parent folder.

For my purpose, I just need to see all the files from all the child folders; it is of no consequence if the child folders themselves remain visible i ...

Score: 3
reducing activity avatar
How can I list files in category - with streaming, so command starts showing something quickly also if folder has millions of files
cn flag

I have folder that apparently has millions of files inside it.

As result, dir command is running for minutes already without displaying anything.

I checked dir --help and tried to search for solution.

How can I list files in category - with streaming, so command starts showing something quickly also if folder has millions of files?

I have no idea what is in the affected folder.

Score: 1
Владислав Морозов avatar
How to disable execution of arguments to a command sudo

How to disable execution of arguments to a command sudo. My sudoers.d/test, dont' work. I need to disable the argument -i.

test ALL = (ALL:ALL) ALL, !/usr/bin/sudo [!-]*

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.