Qt window doesn't fit the screen
by Hiisi
Hello, Fedora folks!
I'm trying to use cura-lulzbot (a 3D-printer slicer), the latest
version from fedora repos. However, the window doesn't fit my laptop
screen and I can't scroll to the bottom of the window to access some
buttons there. I remember back in the days of gnome2 it was possible
to hold Alt key and drag to the bottom of the screen. This option
seems to be unavailable in the current release of gnome fedora comes
with. Any workaround? The package in question is
cura-lulzbot-3.6.21-2.fc31.noarch. My laptop screen resolution is
1366x768. This is maximum :( The app works just fine when I connect
the external display with higher resolution and move the window there.
--
Hiisi.
Registered Linux User #487982. Be counted at: https://linuxcounter.net/
--
Spandex is a privilege, not a right.
4 years, 3 months
podman and mysql
by Simon Colston
Fedora 31 Workstation
I am running mysql in a container using podman. After some experimenting I got it running with this command:
podman run --detach --userns=keep-id \
--security-opt label=disable \
--name=mysql \
--env="MYSQL_ROOT_PASSWORD=mysql" --publish 3306:3306 \
--volume=/home/simon/servers/mysql/var/lib/mysql:/var/lib/mysql mysql:8.0 \
--character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci \
--lower_case_table_names=1
The bits that took time to research were:
--userns=keep-id - which maps my user to the same uid in the container
--security-opt label=disable - which disables SELinux in the container (dev machine so OK)
I could then connect to the database using the mysql client:
mysql -u root -p -h 127.0.0.1 -P 3306
Now, after a dnf upgrade this has stopped working and I get an error message:
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111)
The container is running and appears to be healthy. I've tried recreating the container and reinitialising the database
(by deleting all the files).
[simon@hedgehog ~]$ podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d7ee24d35a93 docker.io/library/mysql:8.0 --character-s 12 minutes ago Up 12 minutes ago 0.0.0.0:3306->3306/tcp mysql
Podman was updated during the upgrade, as was the kernel and a bunch of other stuff.
simon@hedgehog ~]$ dnf history info 70 | grep podman
Upgrade podman-2:1.8.0-2.fc31.x86_64 @updates
Upgraded podman-2:1.7.0-2.fc31.x86_64 @@System
Upgrade podman-plugins-2:1.8.0-2.fc31.x86_64 @updates
Upgraded podman-plugins-2:1.7.0-2.fc31.x86_64 @@System
Does anyone have any idea how I can get this working again? Or any clues as to how I should go about investigating further?
Thanks,
Simon
4 years, 3 months
NetworkManager and PEERDNS=no
by Tom Horsley
I keep seeing signs that "network" will someday disappear
entirely and I'll be forced to use NetworkManager, so the
first question I haven't been able to find an answer
for:
What is the "proper" way to setup a network connection
using nmcli which will get an IP via DHCP, but will ignore
the DHCP provided DNS and use a different DNS server specified
manually? (I can do it using techniques like chattr +i on
/etc/resolv.conf, but that isn't exactly "proper" :-).
4 years, 3 months
Automatic mount of external HDD.
by Erik P. Olsen
I have an external 2TB HDD which is defined in /etc/fstab so it is mounted at system boot
time. I would like to be able to have it mounted automatically with the same mount point
as defined in fstab when it is hot-plugged and unmounted when it is later disconnected.
Is that possible and if so how to do it?
Thanks in advance.
--
Erik P. Olsen - Copenhagen, Denmark
Fedora 31/64 bit Linux xfce Claws-Mail POP3 Gramps 5.1.1 Bacula 9.4.4
4 years, 3 months
Firefox view is 20% bigger since yesterday updates
by Frederic Muller
Hi!
Did updates yesterday (or Saturday.. more likely) and suddenly Firefox
got 20% bigger. I've installed an extension to automatically reduce all
tab sizes to 80% but it doesn't work consistently.
I was wondering if i was the only one and if there was a more reasonable
fix than the addon I'm using.
Thank you.
Fred
4 years, 3 months
open port
by Patrick Dupre
Hello,
On a server
nmap -v -n -Pn -p5900-5910 localhost
provides:
Starting Nmap 7.70 ( https://nmap.org ) at 2020-02-15 15:07 EST
Initiating SYN Stealth Scan at 15:07
Scanning localhost (127.0.0.1) [11 ports]
Completed SYN Stealth Scan at 15:07, 0.42s elapsed (11 total ports)
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000015s latency).
Other addresses for localhost (not scanned): ::1
PORT STATE SERVICE
5900/tcp closed vnc
5901/tcp closed vnc-1
5902/tcp closed vnc-2
5903/tcp closed vnc-3
5904/tcp closed unknown
5905/tcp closed unknown
5906/tcp closed unknown
5907/tcp closed unknown
5908/tcp closed unknown
5909/tcp closed unknown
5910/tcp closed cm
How can I open the port vnc?
I also have
iptables -L |grep 5901
ACCEPT tcp -- anywhere anywhere tcp dpt:5901
netstat -napt | grep -i vnc
tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN 6309/Xvnc
tcp6 0 0 :::5901 :::* LISTEN 6309/Xvnc
systemctl status firewalld.service
● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2020-02-10 17:09:16 EST; 4 days ago
Docs: man:firewalld(1)
Main PID: 928 (firewalld)
Tasks: 2 (limit: 4915)
Memory: 39.1M
CGroup: /system.slice/firewalld.service
└─928 /usr/bin/python3 /usr/sbin/firewalld --nofork --nopid
Feb 10 17:09:14 euripide systemd[1]: Starting firewalld - dynamic firewall daemon...
Feb 10 17:09:16 euripide systemd[1]: Started firewalld - dynamic firewall daemon.
Thanks
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988
===========================================================================
4 years, 3 months
wine staging?
by ToddAndMargo
Hi All,
What is the current policy regarding Wine versus Wine
Staging now that Wine Staging has been absorbed by Wine?
Are we sticking with Staging?
-T
My favorite was Staging as they actually fixed far
more bugs than regular Wine.
4 years, 3 months