Latest Ubuntu related questions

Score: 0
Simple Fellow avatar
Firewall: enable access on selected ports on external IP but allow any port on local IP Ubuntu 20.04 LTS
in flag

How do I allow all traffic that occurs on VLAN / internal ports without any blocking but on external IP I allow selected ports. so I want the machines on VLAN to communicate freely but I want restricted access from public IPs

assume for instance (fictional IPs)

Machine A

  • 192.168.0.10 is local IP/ VLAN
  • 234.45.23.44 is public IP

Machine B

  • 192.168.0.11 is local IP/ VLAN
  • 234.45.23.43 is public IP
 ...
Score: 5
Ivan Angelov avatar
apt-get update fails due to NO_PUBKEY 6AF7F09730B3F0A4
in flag

I am using WSL (windows-for-linux) with installed Ubuntu 20.04.3 LTS. When I run sudo apt-get update I get following error:

Err:7 https://apt.kitware.com/ubuntu bionic InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6AF7F09730B3F0A4
Fetched 11.0 kB in 1s (7552 B/s)

I tried the tips posted in: The following signatures couldn't be verified because ...

Score: 0
SamR232 avatar
Can't access Desktop via Ubuntu
us flag

I am brand new to using the command line so bare with me. I am not able to access my Desktop from my root directory. The furthest I can get is /home/sam and then there isn't anything from here. I have tried /home/SAM/Desktop and starting from /. The only way I can access folders is using /mnt/c/Users/Sam/Documents/ - however I believe this is storing items in a mounted drive, which is causing my endles ...

Score: 0
Arad Zinalpoor avatar
How do you permanently fix grub rescue: unkown filesystem
us flag

I have a dual-boot of Ubuntu and Windows 10(dev/sda1) And it shows me this:

grub rescue: Unknown Filesystem
grub rescue>

And this is what I have to type to fix it:

grub rescue> set boot=(hd0,msdos6)
grub rescue> set prefix=(hd0,msdos6)/boot/grub
grub rescue> insmod normal
grub rescue> normal

But I have to type this every time I restart my PC. Is there a way to make this fix permanent ...

Score: 0
Martin avatar
LG 34WN750 monitor problem?
gb flag

I am having problems with monitor, same as @moneyball described in his post. The monitor was connected to a Dell WD15 usb c dock. And the dock to my dell laptop. When the monitor started showing the noise, i removed the cable between my dock and the laptop, so the monitor was still connected to the dock. However the noise was still shown as in the picture below. I called with LG and they think it is a p ...

Score: 0
weis_ss avatar
Ubuntu 20.04 DISPLAY variable should be set even after logging out to gui login screen
cz flag

I am using DISPLAY env variable to set gsettings for Vino. The connection is through ssh to the server where the gui is working. If i am logged in, the display variable is automatically set to :0. When i log out to logging gui screen, if i check the variable remotely i can't see it set. What i've tried:

  1. I have tried to set DISPLAY variable in .bashrc, but after logging out it unsets - i think that it ...
Score: 6
Gareth TV avatar
Been trying to install Wine all night and keep getting broken package error
cn flag

I am on Ubuntu 20.04 and no matter what I try I keep getting a broken package error, and I don't even know what packages are broken. I have the main Wine installed but winehq-stable just won't for me. Dev branch won't install either.

Here is the apt-cache policy wine-devel

wine-devel:
  Installed: (none)
  Candidate: 7.0.0~hirsute-2
  Version table:
     7.0.0~hirsute-2 500
        500 https://dl.wine ...
Score: 0
Vivek Mak avatar
What do actually happens in backend when we transfer file using socket?
cn flag

Pardon me if dumb question, but i am not able to get whether only particular file data(which client requested) gets transferred from server side and and same name file gets created in client and received data gets written or there is a way we can accomplish both this tasks(sending data to client, generating file over there) by writing logic only in server side..

any help would be great, advance t ...

Score: 1
Moz avatar
systemd-journald[304]: Journal stopped
cn flag
Moz

Whenever I try to shutdown my system, it just ends up stuck on a black screen with a blinking cursor in the top left.

I'm running Ubuntu 20.04 LTS.

I have done a fresh install of Ubuntu twice with no effect.

In the terminal 'journalctl -rb -1' shows that last night after shutdown it ended on

Jan 27 22:18:01 moz systemd-journald[304]: Journal stopped

and then stayed on the black screen with top left f ...

Score: 0
Connecting to vpn via pptp-linux works for a while... then freezes
in flag

I've got an ubuntu linux VPS through AWS that I'm trying to connect to a company's VPN via PPTP. My authentication is successful , and the admin of the VPN confirms that I am connected, however I have found the my server then keeps freezing up, and I need to force a reboot via AWS UI.

Running sudo pon PPTP debug dump logfd 2 nodetach gives me the below logs... sometimes:

https://pastebin.com/u4TCgWs8 ...

Score: 0
Shell script not exiting sub-menu, help!
ca flag

I've got a problem with a shell script I'm writing in that it does everything its supposed to do except it won't exit from sub menus nor will it quit from the script completely when in a sub menu.

Here is what I've done so far. I've redacted parts of it because of work confidentiality:

#!/bin/bash



#Now for the main menu...

while :
do

    clear
    cat<<EOF
    ============================== ...
Score: 2
Cyber Avater avatar
Install latest version of rsync (3.2.3) on ubuntu 18.04
in flag

It seems the last version for ubuntu 18.04 is rsync 3.1.2 (with !apt-get --only-upgrade install rsync).

Is there a way I can update it to the latest? (preferably 3.2.1+) Thanks!

Score: 1
user303124 avatar
Suspicious delay after password entry in xfce
de flag

in short: it started since update from 19 (probably LTS) over 21.04 to 21.10 .

With wifi router on, it takes over two minutes from password entry till desktop to appear. But if router is off, desktop appears immediately after login. And once the machine is "logged in", and I put it to sleep, desktop also appears immediately after "wake-up" password input.

It goes the same for all users. Turning "net ...

Score: 0
Ruubgaming avatar
Connection logs from previous day
cn flag

I have a problem. I have a vps running Ubuntu server that got ddossed yesterday and I would like to know what ip address it was coming from. We have an ip that we think might be the ddos, but we don’t know for sure.

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.