F34 display resolution blank screen bad format

2022-04-17 Thread Jack Craig
i was looking at resolution for monitor, but trapped in blank screen with
"bad format" to display.

any ideas??
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: F34 display resolution blank screen bad format

2022-04-17 Thread Jonathan Billings
On Apr 17, 2022, at 06:05, Jack Craig  wrote:
> 
> 
> i was looking at resolution for monitor, but trapped in blank screen with 
> "bad format" to display.
> 
> any ideas??

If you using GNOME when changing resolutions, when you choose a resolution and 
don’t click on the modal dialog accepting it, it reverts back to the old 
resolution after a timer. You must have been using something else.

Are you using wayland or X11?  What DE?  Are you familiar with booting into the 
multi-user target?

-- 
Jonathan Billings
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


ssh infested by systemd.resolved

2022-04-17 Thread Sam Varshavchik
The latest systemd update broke ssh. Specifically, "ssh hostname", where  
hostname was not a FQDN no longer worked, and I had to use "ssh  
hostname.domain", for my LAN.


Of course, /etc/resolv.conf was pointing to systemd's resolver, and features:

search .

this was despite my DHCP server offering the LAN's domain name properly.

I don't remember if I fixed this laptop previously, or it was using  
systemd's resolver for a while. I just symlinked /etc/resolv.conf to  
/run/NetworkManager/no-stub-resolv.conf, which had the correct DNS search  
string, as always.


This seemed to have fixed DNS lookups, per se:

$ host jack
jack.email-scan.com has address 192.168.0.6

But ssh was still broken, and failing.

An strace of ssh revealed that it still insists on talking to systemd.

connect(3, {sa_family=AF_UNIX,  
sun_path="/run/systemd/resolve/io.systemd.Resolve"}, 42) = 0
sendto(3, "{\"method\":\"io.systemd.Resolve.ResolveHostname\",\"parameters\": 
{\"name\":\"jack\",\"flags\":0}}\0", 87, MSG_DONTWAIT|MSG_NOSIGNAL, NULL, 0)  
= 87
mmap(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =  
0x7f103ff5c000


I don't see where it's picking this up. The only thing I can think of is  
nsswitch.conf, but the "hosts" entry there is identical to what's on  
another, un-upgraded system.


I don't see where it's picking this up. The only thing I can think of is  
nsswitch.conf, but the "hosts" entry there is identical to what's on  
another, un-upgraded system.


Does anyone know how to fumigate systemd out of ssh?



pgpGfJr_0qISi.pgp
Description: PGP signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: F34 display resolution blank screen bad format

2022-04-17 Thread Jack Craig
On Sun, Apr 17, 2022 at 4:49 AM Jonathan Billings 
wrote:

> On Apr 17, 2022, at 06:05, Jack Craig  wrote:
> >
> > 
> > i was looking at resolution for monitor, but trapped in blank screen
> with "bad format" to display.
> >
> > any ideas??
>
> If you using GNOME when changing resolutions, when you choose a resolution
> and don’t click on the modal dialog accepting it, it reverts back to the
> old resolution after a timer. You must have been using something else.
>
> Are you using wayland or X11?  What DE?  Are you familiar with booting
> into the multi-user target?



> i think its wayland
>
, no changes from default.

gnome desktop

DE, development env? no

no just a normal boot to multi user mode.
i can hear youtube running, but video is  just displaying an invalid
format...



> --
> Jonathan Billings
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
> Do not reply to spam on the list, report it:
> https://pagure.io/fedora-infrastructure
>
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: ssh infested by systemd.resolved

2022-04-17 Thread Gordon Messmer

On 4/17/22 12:26, Sam Varshavchik wrote:
I don't see where it's picking this up. The only thing I can think of 
is nsswitch.conf, but the "hosts" entry there is identical to what's 
on another, un-upgraded system. 



Maybe remove the "resolve" entry from the hosts line:

$ rpm -qf /lib64/libnss_resolve*
systemd-libs-250.3-8.fc36.x86_64
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: F34 display resolution blank screen bad format

2022-04-17 Thread Jack Craig
and msg is invalid format , not bad format.

i wasnt paying close enough attention, didnt mean to clip, but i may have.

and cli reset method??

On Sun, Apr 17, 2022 at 2:14 PM Jack Craig 
wrote:

>
>
> On Sun, Apr 17, 2022 at 4:49 AM Jonathan Billings 
> wrote:
>
>> On Apr 17, 2022, at 06:05, Jack Craig  wrote:
>> >
>> > 
>> > i was looking at resolution for monitor, but trapped in blank screen
>> with "bad format" to display.
>> >
>> > any ideas??
>>
>> If you using GNOME when changing resolutions, when you choose a
>> resolution and don’t click on the modal dialog accepting it, it reverts
>> back to the old resolution after a timer. You must have been using
>> something else.
>>
>> Are you using wayland or X11?  What DE?  Are you familiar with booting
>> into the multi-user target?
>
>
>
>> i think its wayland
>>
> , no changes from default.
>
> gnome desktop
>
> DE, development env? no
>
> no just a normal boot to multi user mode.
> i can hear youtube running, but video is  just displaying an invalid
> format...
>
>
>
>> --
>> Jonathan Billings
>> ___
>> users mailing list -- users@lists.fedoraproject.org
>> To unsubscribe send an email to users-le...@lists.fedoraproject.org
>> Fedora Code of Conduct:
>> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
>> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
>> List Archives:
>> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
>> Do not reply to spam on the list, report it:
>> https://pagure.io/fedora-infrastructure
>>
>
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: ssh infested by systemd.resolved

2022-04-17 Thread Sam Varshavchik

Gordon Messmer writes:


On 4/17/22 12:26, Sam Varshavchik wrote:
I don't see where it's picking this up. The only thing I can think of is  
nsswitch.conf, but the "hosts" entry there is identical to what's on  
another, un-upgraded system.



Maybe remove the "resolve" entry from the hosts line:

$ rpm -qf /lib64/libnss_resolve*
systemd-libs-250.3-8.fc36.x86_64


yeah. systemd's injection has two prongs: via nsswitch and via resolv.conf.  
Apparently it's not enough to let glibc's default resolver read whatever's  
in /etc/resolv.conf and have systemd come in that door, it's also necessary  
to inject it via nsswitch.conf's back door.


Apparently it's still been doing DNS resolution for host lookups, but it was  
mostly working, so stayed under the radar, until the recent update broke it.  
Additionally, the systemd-resolved rpm is actively hijacking  
/etc/resolv.conf. From the package's scriptlet:


if systemctl -q is-enabled systemd-resolved.service &>/dev/null &&
  ! systemd-analyze cat-config systemd/resolved.conf 2>/dev/null |
   grep -iqE '^DNSStubListener\s*=\s*(no?|false|0|off)\s*$'; then

 if ! test -e /etc/resolv.conf && ! test -L /etc/resolv.conf; then
   ln -sv ../run/systemd/resolve/stub-resolv.conf /etc/resolv.conf || :
 elif test -d /run/systemd/system/ &&
! mountpoint /etc/resolv.conf &>/dev/null; then
   ln -fsv ../run/systemd/resolve/stub-resolv.conf /etc/resolv.conf || :
 fi
fi

The preceding comment explicitly states that the purpose of this is to reset  
the symlink back to systemd when systemd-resolved gets updated, if it's  
installed. Awesome.




pgpGhsWRafxES.pgp
Description: PGP signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: F34 display resolution blank screen bad format

2022-04-17 Thread Jack Craig
so it is wayland, i screwed up the gnome display  resolution settings.

is there a way to recover it without a reinstall?

tia,...

On Sun, Apr 17, 2022 at 2:38 PM Jack Craig 
wrote:

> and msg is invalid format , not bad format.
>
> i wasnt paying close enough attention, didnt mean to clip, but i may have.
>
> and cli reset method??
>
> On Sun, Apr 17, 2022 at 2:14 PM Jack Craig 
> wrote:
>
>>
>>
>> On Sun, Apr 17, 2022 at 4:49 AM Jonathan Billings 
>> wrote:
>>
>>> On Apr 17, 2022, at 06:05, Jack Craig 
>>> wrote:
>>> >
>>> > 
>>> > i was looking at resolution for monitor, but trapped in blank screen
>>> with "bad format" to display.
>>> >
>>> > any ideas??
>>>
>>> If you using GNOME when changing resolutions, when you choose a
>>> resolution and don’t click on the modal dialog accepting it, it reverts
>>> back to the old resolution after a timer. You must have been using
>>> something else.
>>>
>>> Are you using wayland or X11?  What DE?  Are you familiar with booting
>>> into the multi-user target?
>>
>>
>>
>>> i think its wayland
>>>
>> , no changes from default.
>>
>> gnome desktop
>>
>> DE, development env? no
>>
>> no just a normal boot to multi user mode.
>> i can hear youtube running, but video is  just displaying an invalid
>> format...
>>
>>
>>
>>> --
>>> Jonathan Billings
>>> ___
>>> users mailing list -- users@lists.fedoraproject.org
>>> To unsubscribe send an email to users-le...@lists.fedoraproject.org
>>> Fedora Code of Conduct:
>>> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
>>> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
>>> List Archives:
>>> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
>>> Do not reply to spam on the list, report it:
>>> https://pagure.io/fedora-infrastructure
>>>
>>
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: SELinux prevents systemctl hibernate

2022-04-17 Thread Alexander Zhang

First try would be to disable SELinux to confirm your hypothesis.



However even if you fix the selinux problem i do not think this will
work, you need to have a swap partition for hibernate / resume to work,
the systemd-hibernate-resume man page makes reference to needing a
specific device node.
It worked after I did `setenforce 0`, so SELinux is the problem. I have 
my swap file inside its own BTRFS subvolume mounted at /swap and the 
SELinux context for that directory is system_u:object_r:unlabeled_t:s0. 
It looks like I need to allow systemd-sleep to search that directory. I 
think the proper way to do that is to create a new type, label /swap 
with that type, and add a policy rule that allows systemd_sleep_t to 
search that type. I don't know enough about SELinux to do that though.


Thanks,
Alex
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: SELinux prevents systemctl hibernate

2022-04-17 Thread Joe Zeff

On 4/17/22 22:47, Alexander Zhang wrote:
It worked after I did `setenforce 0`, so SELinux is the problem. I have 
my swap file inside its own BTRFS subvolume mounted at /swap and the 
SELinux context for that directory is system_u:object_r:unlabeled_t:s0. 
It looks like I need to allow systemd-sleep to search that directory. I 
think the proper way to do that is to create a new type, label /swap 
with that type, and add a policy rule that allows systemd_sleep_t to 
search that type. I don't know enough about SELinux to do that though.


Easier still is to remove that partition from fstab and reformat it as a 
swap partition.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: SELinux prevents systemctl hibernate

2022-04-17 Thread Alexander Zhang
Easier still is to remove that partition from fstab and reformat it as a 
swap partition.


I guess I can use a swap partition, but since I use LUKS without LVM, I 
would have to make a separate LUKS volume. I wanted to use a swap file 
so that everything is in one LUKS volume.


(I forgot to reply to the list in the previous email. Sending it again 
to others can see it.)


Alex
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Why does Evolution source registry periodically search Secret Service?

2022-04-17 Thread Alexander Zhang

I see you posed from Thunderbird, but do you use Evolution, at all?
Email, calendar, contacts?  If so it'll be trying to log in to a
service, wanting its credentials.

Other things have come to use parts of evolution as their libraries.
For instance, if I try to remove evolution-data-server, it wants to
remove gnome-shell, gnome-contacts, and folks, as well.

If you look in gnome-session-properties (I'm doing this from old info,
it may have changed since then), you'll see applications that will be
started up when you log in.  There could be something evolution related
in there that you aren't actually using.


I don't use Evolution, but like you said other things including GNOME 
Calendar use evolution-data-server. I can make KeePassXC not prompt me 
when a program tries to search, but I would have to remember to unlock 
the database every time before doing anything that needs it. I don't 
have any auto-started programs that might need Secret Service other than 
Thunderbird, and last time I checked Thunderbird doesn't support Secret 
Service.


Alex
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Why does Evolution source registry periodically search Secret Service?

2022-04-17 Thread Tim via users
On Sun, 2022-04-17 at 22:47 -0700, Alexander Zhang wrote:
> I don't use Evolution, but like you said other things including
> GNOME Calendar use evolution-data-server. I can make KeePassXC not
> prompt me when a program tries to search, but I would have to
> remember to unlock the database every time before doing anything that
> needs it. I don't have any auto-started programs that might need
> Secret Service other than Thunderbird, and last time I checked
> Thunderbird doesn't support Secret Service.

Can you whitelist certain situations?  (Combinations of Gnome calendar
and Evolution data server, rather than just open slather for
Evolution's bits?)

My following of using Evolution had been that when you log into your
desktop, that opened up other things there and then.  I don't know
whether Evolution's various bits needed authenticating again, later on.
 
-- 
 
uname -rsvp
Linux 3.10.0-1160.62.1.el7.x86_64 #1 SMP Tue Apr 5 16:57:59 UTC 2022 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: SELinux prevents systemctl hibernate

2022-04-17 Thread Samuel Sieb

On 4/17/22 22:09, Joe Zeff wrote:

On 4/17/22 22:47, Alexander Zhang wrote:
It worked after I did `setenforce 0`, so SELinux is the problem. I 
have my swap file inside its own BTRFS subvolume mounted at /swap and 
the SELinux context for that directory is 
system_u:object_r:unlabeled_t:s0. It looks like I need to allow 
systemd-sleep to search that directory. I think the proper way to do 
that is to create a new type, label /swap with that type, and add a 
policy rule that allows systemd_sleep_t to search that type. I don't 
know enough about SELinux to do that though.


Easier still is to remove that partition from fstab and reformat it as a 
swap partition.


It's a btrfs subvolume, not a partition.  You can't format it.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure