Fedora 30 and problem with monitor resolution detection in gdm/Gnome?
by Gianluca Cecchi
Hello,
I have an Intel Skull NUC, model NUC6i7KYK, with Intel video adapter
00:02.0 VGA compatible controller: Intel Corporation Iris Pro Graphics 580
(rev 09)
detailed specs here:
https://www.intel.it/content/www/it/it/products/docs/boards-kits/nuc/nuc-...
It is connected to a Dell U2515H:
https://www.displayspecifications.com/en/model/06291c
It was initially installed with F29 (with Wayland disabled in
/etc/gdm/custom.conf) and used resolution always being 2560x1440.
Almost when F30 was released I upgraded and no problems until today.
When powering on I see no user icons in gdm.
So I switched to sddm and lxdm and there I was able to see my users login,
but both trying Gnome session and Mate session it seems I don't see the top
bars.
While in Mate with Alt+F2 I opened a terminal window and executed xdpyinfo.
Strangely it reported a not possible resolution....
screen #0:
dimensions: 5120x1440 pixels (1354x381 millimeters)
resolution: 96x96 dots per inch
depths (7): 24, 1, 4, 8, 15, 16, 32
root window id: 0x162
depth of root window: 24 planes
So I decided to force 2560x1440 with this file, named 00-monitor.conf and
put into directory /etc/X11/xorg.conf.d
https://drive.google.com/file/d/1Ml522neE-l6hsGKtGXnWHnz2cpxCsuJO/view?us...
After reboot still gdm is not able to show me any user icons (perhaps it
doesn't use the conf file), and again using lxdm and sddm and choosing
Gnome session I don't see top bar and other things.
Instead, i can use without any problem Mate and now I can see the top bar
and correctly use the session.
Opening xdpyinfo from a terminal I correctly get what forced:
screen #0:
dimensions: 2560x1440 pixels (677x381 millimeters)
resolution: 96x96 dots per inch
depths (7): 24, 1, 4, 8, 15, 16, 32
root window id: 0x162
depth of root window: 24 planes
Things above let me think about a problem in Gnome itself, impacting gdm
too..
Yesterday evening while connected I updated as from this log, without
rebooting:
https://drive.google.com/file/d/10F-i8ogYAuXIouAC0o6t3DZ08yLz_q15/view?us...
And I think this update generated the problem, because this evening after
booting I had it.
I tried to switch to a terminal and update again and I got these packages'
updates:
https://drive.google.com/file/d/1TUdZVlwLakIEjm8Y7ybx8m2cMhIEzlFS/view?us...
and reboot but still the problem is here...
Anyone experimented this?
Thanks
Gianluca
5 years
bugzilla and python2-virtualenv
by Martín Marqués
Hi,
I'm trying to file a bug report in bugzilla.redhat.com and seem to be
having a hard time finding the package in question.
For some reason, even though the package exists in fc30, the bugzilla
interface doesn't have python2-virtualenv in it's database and so I can't
file the bug report.
FYI, it seems that down the road between fc28 and fc30 (don't have an fc29
handy to test this) the python2-virtualenv package doesn't come with
`/usr/bin/virtualenv`. Is there a reason for the missing binary?
And in any case, how is it that bugzilla doesn't list a package that is
clearly in the fc30 release?
# rpm -qa | grep python2-virtualenv
python2-virtualenv-16.0.0-7.fc30.noarch
Kind regards,
--
Martín Marqués
It’s not that I have something to hide,
it’s that I have nothing I want you to see
5 years
HP M254dw anyone?
by Greg Woods
Just curious to know if anyone has successfully gotten one of these M254dw
printers to work under Fedora (or any Linux distro for that matter). The
hplip-3.18.12 version that comes with Fedora supposedly supports this
printer; the release notes say support for the M254dw was introduced
several minor versions prior to this one.
However, it doesn't work for me. If I use the recommended Postscript driver
when configuring the printer, then attempting to print images just prints a
Postscript error page, and attempting to print text in duplex results in
only the front side of the first page printing. Needless to say, the
printer works fine under Windows 10, so it's not a hardware issue.
There is a newer version of the driver (3.19.5) that can be downloaded, but
the installer craps out. It first prompts me for the root/superuser
password, but then proceeds to use sudo (which would presumably need MY
password, not root's; trying to give my password results in a complaint
that it is not correct). All the commands where it tries to use sudo report
failure, although if I run them manually, they work. So it is clearly
confused about whether it should be using su or sudo to run commands. This
is obviously a bug in the installer, but HP's "file a bug" link points to
the Launchpad site (where Ubuntu bugs are reported). I don't know if HP
will even see what I posted, and I'll most likely just end up looking like
a dork for posting about a Fedora issue on the Ubuntu reporting site. And
in the end, there's no guarantee that the later version will work any
better than the Fedora-packaged one; it just seemed worth a shot.
I'm mainly curious to know if anyone has this printer working under Fedora,
and if so, how you configured it.
Thanks,
--Greg
5 years
anyone using openvpn?
by Jack Craig
hi folks,
after beating on this vpn i have got it about happy.
i am curious to know if anyone out there is using openvpn on fedora
commercially?
tia, jackc...
5 years
dnf workstation collection
by Wolfgang S Rupprecht
Is there a way to make sure a system that was upgraded multiple times
instead of installed from scratch has all the rpm packages that the
current workstation collection has? I notice some things like the
login screen wallpaper program that is present on fresh installs is
missing from an upgraded system. Is there an @something dnf collection
that I can install to bring that aspect of an old system up to date?
-wolfgang
5 years
RPM specfile error with F30
by Ranjan Maitra
Hi,
I have the following specfile which compiled fine in F29 but is not able to find references to standard functions in X11, etc even though the compilation happens without error (outside the rpmbuild environment). So I am wondering if anyone has some suggestions on what has changed/is going wrong.
Here is the spec file:
$ fpaste thaali.spec
Uploading (1.4KiB)...
https://paste.fedoraproject.org/paste/3sHHnOdGoM4YHmdzzJRzgQ
And here are the messages that I get when I try to build:
$ rpmbuild -bb thaali.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.k76G12
+ umask 022
+ cd /home/maitra/rpmbuild/BUILD
+ cd /home/maitra/rpmbuild/BUILD
+ rm -rf thaali-0.4.2
+ /usr/bin/bzip2 -dc /home/maitra/rpmbuild/SOURCES/thaali-0.4.2.tar.bz2
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd thaali-0.4.2
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YvXEwJ
+ umask 022
+ cd /home/maitra/rpmbuild/BUILD
+ cd thaali-0.4.2
+ autoreconf -if
+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ '[' 1 = 1 ']'
+ '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']'
++ find . -name ltmain.sh
+ ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for x86_64-redhat-linux-gnu-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
+ /usr/bin/make -O -j8
/usr/bin/make all-recursive
Making all in src
make[2]: Entering directory '/home/maitra/rpmbuild/BUILD/thaali-0.4.2/src'
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o thaali.o thaali.c
make[2]: Leaving directory '/home/maitra/rpmbuild/BUILD/thaali-0.4.2/src'
make[2]: Entering directory '/home/maitra/rpmbuild/BUILD/thaali-0.4.2/src'
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lSM -lICE -lX11 -o thaali thaali.o
/bin/ld: thaali.o: in function `delete_dock':
/home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:231: undefined reference to `XDestroyWindow'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:232: undefined reference to `XDestroyWindow'
/bin/ld: thaali.o: in function `create_dock':
/home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:268: undefined reference to `XCreateSimpleWindow'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:271: undefined reference to `XCreateSimpleWindow'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:274: undefined reference to `XAllocClassHint'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:281: undefined reference to `XSetClassHint'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:282: undefined reference to `XFree'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:284: undefined reference to `XAllocWMHints'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:294: undefined reference to `XSetWMHints'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:295: undefined reference to `XFree'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:297: undefined reference to `XSetWindowBackgroundPixmap'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:327: undefined reference to `XSelectInput'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:328: undefined reference to `XMapRaised'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:329: undefined reference to `XFlush'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:301: undefined reference to `XInternAtom'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:302: undefined reference to `XSetSelectionOwner'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:304: undefined reference to `XGetSelectionOwner'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:310: undefined reference to `XInternAtom'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:319: undefined reference to `XSendEvent'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:321: undefined reference to `XInternAtom'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:322: undefined reference to `XInternAtom'
/bin/ld: thaali.o: in function `add_icon':
/home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:385: undefined reference to `XReparentWindow'
/bin/ld: thaali.o: in function `add_tray_icon':
/home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:455: undefined reference to `XSelectInput'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:456: undefined reference to `XWithdrawWindow'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:460: undefined reference to `XSync'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:461: undefined reference to `XMapRaised'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:464: undefined reference to `XInternAtom'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:471: undefined reference to `XSendEvent'
/bin/ld: thaali.o: in function `configure_tray_icon_attrib':
/home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:499: undefined reference to `XGetWindowAttributes'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:516: undefined reference to `XMoveResizeWindow'
/bin/ld: thaali.o: in function `handle_event':
/home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:530: undefined reference to `XGetWindowAttributes'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:537: undefined reference to `XResizeWindow'
/bin/ld: thaali.o: in function `eventLoop':
/home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:566: undefined reference to `XNextEvent'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:602: undefined reference to `XGetSelectionOwner'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:603: undefined reference to `XSetSelectionOwner'
/bin/ld: thaali.o: in function `main':
/home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:620: undefined reference to `XOpenDisplay'
/bin/ld: /home/maitra/rpmbuild/BUILD/thaali-0.4.2/src/thaali.c:631: undefined reference to `XCloseDisplay'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:335: thaali] Error 1
make[2]: Leaving directory '/home/maitra/rpmbuild/BUILD/thaali-0.4.2/src'
make[1]: *** [Makefile:357: all-recursive] Error 1
make: *** [Makefile:298: all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.YvXEwJ (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.YvXEwJ (%build)
What is going wrong?
Many thanks and best wishes,
Ranjan
5 years