New answers tagged

0

WSL does not come with, or install an X Window server, by default. You can, however, install a 3rd party X Window server such as xming or vcxsrv, both of which I have successfully used with WSL Ubuntu.


0

First, the things you're trying with umask won't work. umask is a per-process thing, and the process that matters is the process creating the file. The umask of the nfs user on the NFS server (if that's what you meant) isn't going to matter when the files are being created by the nfs user on an NFS client, and the umask of the NFS server service itself ...


0

Have you tried the Disks app ? It's on all the current buntus and mint. Once there, It 'll show you all of the connected drives (mounted and unmounted). Click on the cog icons for the setting and edit mount options. Now you can also try this from the Terminal Cli . sudo ntfsfix /dev/sdx1 which would be the drive letter and partition number for the NTFS. That ...


0

In the official Docker example that I had wrongly assumed would work as a test body, there was the following line: "CpuRealtimePeriod": 1000000, Which sets a value that, it seems, is not supported by most or perhaps any out of the box Linux distros. Arch Linux master race ;).


0

Wine works great for older Win NT4/95/98/Me/2000/XP and Vista builds. It still works for Win 7, 8, 8.1, and 10, but less and less compatibility between these for Wine. Wine in combination with Direct X, and an Asio driver (ASIO4ALL = free) gives great results. For 7/8/8.1 and 10, I would try to run the OS natively. Wine is more of a direct layer, vs in a ...


0

I hope this steps help you. Use losetup -a to see the Mount point of the loop 8. if there try umount /«Mount point». then Mount it again using mount /dev/mapper/luksrecover /


0

I installed Ubuntu 19.10 using Quick Create. I did various stuff, but I got it working consistently was: after starting the VM waiting for the VM CPU usage dropping to 0% and only then clicking "Connect". It behaves as if if graphics output is used, RDP server fails to start.


1

This may help, restoring the ownerships of all users' home directories in /home sudo echo chown root:root /home awk -F: '$6 ~ /\/home\// {print $3,$4,$6}' /etc/passwd | while read -r uid gid home do sudo echo chown -R $uid:$gid "$home" done Remove both echo components when you're sure it's going to do what you expect. On my system it ...


1

Prerquisites Have means to start Windows even if installing Ubuntu fails. For BIOS boot style, I recommend preparing a Super Grub2 Disk. With EFI boot style, it is sufficient to check whether Windows can be selected by the EFI. Have a copy of everything important. Think about all the data in Zorin. Know which partition Zorin is installed on (I assume a ...


1

Pulseaudio automatically creates a monitor source for any audio playback sink on my system Pulseaudio card Profile is set to Analog Stereo Output instead of Analog Stereo Duplex for input+output. checking available sinks with 'pactl list short sinks' responds 0 alsa_output.pci-0000_04_06.0.analog-stereo module-alsa-card.c s32le 2ch 48000Hz IDLE and ...


0

Try this... set your system etc files for ubuntu back to non-static or the original before anything was changed. Then put your router in DHCP mode. Restart both. Check your ip address and see what dhcp assigns your computer. Also scan your entire network of devices for conflicts. I use angry ip scanner ( I just like GUIs). From that point on it should work. ...


1

You will need to install and configure a proxy server locally. Whatever you choose to install must, itself, support being configured to use a proxy server. I would start with tinyproxy (see Ubuntu package tinyproxy ). It looks like this supports rules for setting some domains via an "upstream". See the documentation: Upstream, No Upstream ...


0

Partial answer: Jack detection is independent of the sound output, so it's possibly a hardware problem even though it's detected as lineout. That said, the most common solution to such a situation is something that's muted or low volume in your soundcard setup. 1) Even though you looked at alsamixer, look again, make sure to select the card (with F6) and ...


-1

Bounced into same issue, found zero reference to that service anywhere in the system. I switched to different OpenVPN config so also made a new service for that and wanted to get rid of the previous one. As stated disable didn't have any effect and I did not find any evidence of it by fulltext or other search on the system. My guess is, it's maybe somewhere ...


1

You only seem to have SSH (port 22) listening. No other server daemons appear to be running. Specifically, you have nothing on port 3000, so connecting to that correctly returns "connection refused" (if you had it firewalled it would have said, "connection timed out" -- connection refused means you got to receive an answer packet, which tells that the port ...


0

Not a real solution, but here's a little python script I whipped up to toggle my display zoom & mouse direction, for switching between desk (mouse and 100%) & couch (trackpad & 200%). Hope it's helpful. #!/usr/bin/python3 import subprocess import sys current = subprocess.check_output([ 'gsettings', 'get', 'org.gnome.desktop....


1

on Amazon linux I use -W option. eg: netstat -atgW netstat --version net-tools 2.10-alpha Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others ... man netstat --wide , -W Do not truncate IP addresses by using output as wide as needed. This is optional for now to not break existing scripts.


1

I had the same issue and forgot about processing order. You need to name your file something like /etc/rsyslog.d/00_tcpconnections.conf so it is processed before other rules in /etc/rsyslog.d/. This is an example for my ocragent script. # copy to /etc/rsyslog.d/00_ocragent.conf if ( $programname == "ocragent" ) then { action(type="omfile" file="/var/log/...


0

Just create a file /etc/cron.d/check-battery that contains: * * * * * root [ "$(cat /sys/class/power_supply/BAT0/status)" = Charging -o "$(cat /sys/class/power_supply/BAT0/capacity)" -gt 10 ] || systemctl suspend This will suspend your system whenever the battery level reaches 10%. Of course, feel free to replace the final suspend with hybrid-sleep, ...


2

On some systems (e.g. MS-Dos) the pipe is implemented by copying the output of the first command to a file, then running the 2nd command to read from this file. Unix does not do it that way. On Unixes it is like a production line. Each stage works simultaneously, reading input and producing output. If process A produces faster than process B consumes, then ...


2

Both cat and strings, and most similar utilities¹, read a little bit of input at a time, process it, then read more input, and so on. So in your case, cat only reads what less displays, plus a little more that's in transit. In more detail, the basic operation of cat is: Reserve a few kilobytes of memory for use as a buffer. While there's more input ...


5

This has more to do with how less works than with how cat or strings work. The cat command will only push data to its standard output, and it will block whenever the pipe buffer between it and strings is full and nobody is reading. cat does minimal buffering by itself, and the pipe buffer is typically small. This is also true for strings. It will ...


3

Pipes have limited buffer space, and if a pipe reader (such as less in your example) does not read more data from the pipe, the writer will be blocked after filling the buffer. This will affect the strings command, which in turn will block the cat command after its pipe is full. Naturally, the cat command cannot read the whole sda device contents into main ...


0

Please test with PulseAudio disabled ( pulseaudio -k ) and see if video still stutters. Killing and later restarting PA results in temporary resolution to the stuttering issue. ( Using Bluetooth headset, iMac 2013 27", GT755M GPU, Ubuntu 19.10 and 20.04 ) EDIT: On ubuntu, try also remove the speech-dispatcher-audio-plugins package which has been indicated ...


1

Turns out this is a known issue with REP (repeat previous character) escape sequence. See also: https://unix.stackexchange.com/a/394965/32896 This has been fixed the hard way in Debian: https://bugs.debian.org/933053


1

I had the same problem on my Ubuntu 18.04 and was able to run journalctl by logging in on a separate kernel virtual terminal, as described above by JdeBP. Once I got to the bottom of the log, I discovered lots of out-of-space errors from the most recent boot attempts. A quick df showed my root filesystem had literally zero free space. I cleaned up some files ...


0

I can confirm the same problem on maltego 4 running on Kali VM via VMware player. Oh my, there is really a master password prompt that appears, but stays behind the splashscreen. You will get a glimpse of it only if you restart/shutdown. I kept on altering size of the VM windows, as the kali OS kept adjusting resolution within itself, soon I was able to ...


1

I also tried a lot to do this. Actually there is a term for this called "persistence". In my experience, it works only when I create the bootable usb drive with Rufus. In Rufus, when you are creating the bootable usb, there will be an option to set persistence and the size of the persistent partition. It will make the live boot slower but at least you will ...


0

If you run ll -d /var/log Then you'll see that it is owned by root (possibly with syslog as the group) and has 755 or 775 permissions which means that while others can read and traverse the directory, only root (and possibly syslog) can modify it. ice-message-initiator.log is in /var/log and while ubuntu is its owner, ubuntu doesn't have modify ...


0

This configures /usr/bin/python Apparently, that is not what you are running. Try running: which python This will tell you what python you are running. It might be a private script or link, or it might be an alias. Edit: I looked at a related question. There might also be path hashing involvement. Try: env python -V and/or /usr/bin/python -V


-1

My answer to these problems, that works for me, it is: chmod 755 / that solves all my problems, that I describe, to my delete comment. the permissions of my root / directory was, 0700, and in my guess that prevents the user that dnsmasq change its process to, to act correctly. Another good idea is to find out the if the permissions in dnsmasq's user home ...


0

I do not believe you can declare an rtmp {} block from within the /etc/nginx/sites-enabled directory. By default, the /etc/nginx/sites-enabled directory is included within an existing http {} block. You can check this by looking at /etc/nginx/nginx.conf. You cannot have the rtmp block within the http block, they need to be separate from each other as they ...


2

You can replace nullok_secure with nullok in /etc/pam.d/common-auth. You may also need to adjust values in /etc/pam.d/sshd if you have some specific overrides. You should have something like this in your common-auth file: auth [success=1 default=ignore] pam_unix.so nullok


0

I had this issue when bluetooth was on. Try turning it off and suspend. Run systemctl disable bluetooth to keep bluetooth off on the reboots. You can still manually enable as needed.


0

I've identified the issue. The speakers emit the static when they are charging! After a while the battery was full and therefore the static stopped. If they're operated solely on battery, the static never starts. I've not expected this at all, but this seems to be the solution. EDIT: The issue only occurs, if the speaker is powered via USB on the Optiplex....


2

"Hit" means apt checked the timestamps on package list, those match and there are no changes. "Ign" means there are no changes in the pdiff index file; it won't bother downloading it again. "Get" means apt checked the timestamps on package list, there were changes and will be downloaded. "Err" means some error occured with that repo. In your case the ...


0

The reason this fails is because the entry for /etc/resolv.dnsmasq is invalid. It must not contain an equals symbol (=). 1. Incorrect echo 'nameserver = 8.8.8.8' >/etc/resolv.dnsmasq systemctl restart dnsmasq dig @localhost bbc.co.uk | grep -Ew 'status|A' ;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 29172 ;bbc.co.uk. ...


0

I'd take a guess that the virtualenv is being activated in .profile, which doesn't affect cron. I'd suggest activating the venv in the crontab line: SHELL=/bin/bash [crontab stuff] . /path/to/the/virtualenv/bin/activate && your.py Setting SHELL=/bin/bash is not really mandatory, but will get you closer to the "usual" environment. If necessary, ...


0

After Windows installation with Disk Management Tool remain on your SSD unallocated memory space. Do the same for your hdd. In progress of ubuntu installation select custom installation type ("something else" paragraph). Map your home partition and / on hdd and ssd unallocated space accordingly.


0

Last time I installed ubuntu on a dual boot system, I simply checked the install alongside windows option. About the partitioning the hard drive, I believe that you can partition it in half, and then create a script to automatically unmount the windows half of the hard drive. This way, you would be left with half your ssd available for ubuntu and half your ...


0

grub-install --bootloader-id=customfoldername # <-- this is what you want it didn't work for me at first, but then I found this: https://askubuntu.com/questions/1129269/install-grub-using-custom-boot-loader-id-e-g-myubuntu - ... After running grub-install with --bootloader-id, run grub-install without any arguments. It will create an ubuntu entry. Delete ...


0

You can use a script that comes with nmap. nmap/Zenmap(GUI) will allow you to scan a single device or subnet range (your home or office network) and try and show you what SMB protocols are in use. nmap --script smb-protocols 192.168.1.0/24 The big point here is to cease using SMBv1 due to security concerns. It's also known as 'NT LM 0.12' Zenmap is ...


0

If port forwarding is not an option, the only thing I can think of is SSH remote port forwarding, which is fairly straightforward. ssh -R <PORT_ON_VPS>:127.0.0.1:<PORT_ON_HOME_SERVER> <VPS_IP> So, for example, if you run a web server on your home server on port 80, and would like that to be accessible via the VPS, you could connect to ...


0

This message means you need virtualization enabled, some CPUs does supports it. You can check yours if have it or not by running this: lscpu The output would look like this: If your CPU does support virtualization but still genymotion popping-up the error message, than you have to make sure it is enabled in BIOS, search for Virtualization option, and set ...


0

I've had a similar issue while using xvfb-run. According to xvfb-run(1) man page, the default resolution is 640x480x8, thus only 8 bit colors. See option [-s]. The solution was to force the color depth to 16 bits like this: xvfb-run -s '-screen 0 1280x800x16'


0

I did the following and its working fine for me after the below commands. I was using 6.1.4 VBox and I have learnt there is a bug in VBox as it crashes clipboard which can be verified using ps -ef | grep VB. So, I have downloaded 6.1.2 instead of 6.1.4 and it worked for me. Posting here so it helps someone in future Commands Starts apt-get remove -y ...


0

I had the same problem on an arch linux server, with a home directory encrypted with ecryptfs. To be able to login with ssh keys I first had to have logged in from the server console in order to have a decrypted .ssh/authorized_keys file. I have solved it as follows: I first copied the content of the .ssh directory to a safe location. Then, as root user: In ...


1

You could also run gnome over ssh. But this will interfere with the system on the local. Or you can use VNC over ssh. ssvnc on the local, and a vnc server on the remote. I ssh in and launch a vnc server on the remote, setting it to localhost only (then only anyone on the remote (or with ssh connection) can access the vnc server).


2

Your problem is that you're trying to use a modern desktop environment with an ancient video card that cannot support it. In general, servers come with relatively poor video cards because nobody uses them. You're not helped in this regard by the fact that your GPU is from 2007 and has what would now be considered a tiny amount of video memory. GNOME, by ...


0

In general, gucharmap will only show characters for which it has a font that displays them. Most fonts have a fallback character that includes the character values in a box, which is what you're seeing here. If you want to see the characters for a particular script, you need to install some font that provides support for that script. On Ubuntu, most of ...


Top 50 recent answers are included