Re: Where are the directions to call libnotify?

2022-07-25 Thread ToddAndMargo via users

On 7/25/22 21:58, Samuel Sieb wrote:

On 7/25/22 18:49, ToddAndMargo via users wrote:

On 7/25/22 18:42, ToddAndMargo via users wrote:

Hi All,

https://gitlab.gnome.org/GNOME/libnotify

Okay, I give up, where are the directions on how
to call libnotify directly from my program?


I write in Raku.  I found this module:

https://modules.raku.org/dist/Desktop::Notify:cpan:FRITH

I would still like to see the call instructions
for libnotify.


Ideally, you use the bindings for your language which is likely to be 
the gobject automatic bindings.


But if you really want the C reference, then install libnotify-devel and 
point a browser at /usr/share/gtk-doc/html/libnotify


If you need examples, then here is a python example use the gi repository:

import gi
gi.require_version('Notify', '0.7')
from gi.repository import Notify
Notify.init("TestApp")
n = Notify.Notification(summary="summary", body="My Notification")
n.show()

And a straight C example:

#include 



int main() {

   notify_init("TestApp");

   NotifyNotification *n = notify_notification_new("summary", "My 
Notification", NULL);


   GError *error = NULL;

   notify_notification_show(n, &error);

}


Awesome!  Thank you!
___
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: Where are the directions to call libnotify?

2022-07-25 Thread ToddAndMargo via users

On 7/25/22 21:54, Jon LaBadie wrote:

Googled for 'how to use libnotify' and found this with examples
for many programming languages.

https://wiki.archlinux.org/title/Desktop_notifications



Awesome!  Thank you!


--
~~
Computers are like air conditioners.
They malfunction when you open windows
~~
___
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: Where are the directions to call libnotify?

2022-07-25 Thread Samuel Sieb

On 7/25/22 18:49, ToddAndMargo via users wrote:

On 7/25/22 18:42, ToddAndMargo via users wrote:

Hi All,

https://gitlab.gnome.org/GNOME/libnotify

Okay, I give up, where are the directions on how
to call libnotify directly from my program?


I write in Raku.  I found this module:

https://modules.raku.org/dist/Desktop::Notify:cpan:FRITH

I would still like to see the call instructions
for libnotify.


Ideally, you use the bindings for your language which is likely to be 
the gobject automatic bindings.


But if you really want the C reference, then install libnotify-devel and 
point a browser at /usr/share/gtk-doc/html/libnotify


If you need examples, then here is a python example use the gi repository:

import gi
gi.require_version('Notify', '0.7')
from gi.repository import Notify
Notify.init("TestApp")
n = Notify.Notification(summary="summary", body="My Notification")
n.show()

And a straight C example:

#include 



int main() {

  notify_init("TestApp");

  NotifyNotification *n = notify_notification_new("summary", "My 
Notification", NULL);


  GError *error = NULL;

  notify_notification_show(n, &error);

}


A web search will find you more examples.
___
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: Where are the directions to call libnotify?

2022-07-25 Thread Jon LaBadie

Googled for 'how to use libnotify' and found this with examples
for many programming languages.

https://wiki.archlinux.org/title/Desktop_notifications

--
Jon H. LaBadie  jo...@jgcomp.com
___
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: root account

2022-07-25 Thread Samuel Sieb

On 7/25/22 18:39, ToddAndMargo via users wrote:

On 7/23/22 18:18, stan via users wrote:

On Fri, 22 Jul 2022 10:04:37 -0700
ToddAndMargo via users  wrote:


On 7/22/22 08:12, stan via users wrote:

passwd --unlock --expire root


Hi Stan,


Why did you throw --expire on the above command?

-e, --expire
   This is a quick way to expire a password for an
   account. The user will be forced to change the
   password during the next login attempt.  Available
   to root only.



If the account has been locked, and never used, there is probably no
password.  This ensures that the root user, gets to set the password
that they want.  In fact, they can't access the root account without
setting a new password.  This doesn't apply to installs that already
have an active root user (older installs).  The new installs, from what
I understand, do not set up a root account password as part of the
install process. Everyone is supposed to use sudo, for its apparently
increased security, or convenience, or lack of confusion, etc.  As I
said, I have only read about this, and haven't experienced it, so am
not aware of the actual state of the root account when that occurs.
Samuel has said the account always exists, so I assume that it must be
locked if a login wasn't created during the install.


Okay, I understand now.  I thought your command both
unlocked and set the password.  And I thought there
was some reason you were messing with the guy making
him change it the next log in.


You can't actually run that command ("test" is a newly created user, so 
in the same state as "root" would be):


# passwd --unlock --expire test

passwd: Only one of -l, -u, -d, -S may be specified.

Also:

# passwd --unlock test

Unlocking password for user test.

passwd: Warning: unlocked password would be empty.

passwd: Unsafe operation (use -f to force)

The only thing you have to do is "passwd root" to set a password.  It's 
not locked and there's no point in expiring the password to an account 
you're using yourself...

___
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: Where are the directions to call libnotify?

2022-07-25 Thread ToddAndMargo via users

On 7/25/22 18:42, ToddAndMargo via users wrote:

Hi All,

https://gitlab.gnome.org/GNOME/libnotify

Okay, I give up, where are the directions on how
to call libnotify directly from my program?


I write in Raku.  I found this module:

https://modules.raku.org/dist/Desktop::Notify:cpan:FRITH

I would still like to see the call instructions
for libnotify.

___
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


Where are the directions to call libnotify?

2022-07-25 Thread ToddAndMargo via users

Hi All,

https://gitlab.gnome.org/GNOME/libnotify

Okay, I give up, where are the directions on how
to call libnotify directly from my program?

Many thanks,
-T

--
~~
Computers are like air conditioners.
They malfunction when you open windows
~~
___
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: root account

2022-07-25 Thread ToddAndMargo via users

On 7/23/22 18:18, stan via users wrote:

On Fri, 22 Jul 2022 10:04:37 -0700
ToddAndMargo via users  wrote:


On 7/22/22 08:12, stan via users wrote:

passwd --unlock --expire root


Hi Stan,


Why did you throw --expire on the above command?

-e, --expire
   This is a quick way to expire a password for an
   account. The user will be forced to change the
   password during the next login attempt.  Available
   to root only.



If the account has been locked, and never used, there is probably no
password.  This ensures that the root user, gets to set the password
that they want.  In fact, they can't access the root account without
setting a new password.  This doesn't apply to installs that already
have an active root user (older installs).  The new installs, from what
I understand, do not set up a root account password as part of the
install process. Everyone is supposed to use sudo, for its apparently
increased security, or convenience, or lack of confusion, etc.  As I
said, I have only read about this, and haven't experienced it, so am
not aware of the actual state of the root account when that occurs.
Samuel has said the account always exists, so I assume that it must be
locked if a login wasn't created during the install.


Okay, I understand now.  I thought your command both
unlocked and set the password.  And I thought there
was some reason you were messing with the guy making
him change it the next log in.
___
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: .serverauth.2688 does not exist

2022-07-25 Thread Barry


> On 25 Jul 2022, at 21:37, George N. White III  wrote:
> 
> 
>> On Mon, Jul 25, 2022 at 4:39 PM Patrick Dupre  wrote:
> 
>> Here is the list of processes running on the machine
>> (in tty terminal)
>>  
>> USER PID %CPU %MEMVSZ   RSS TTY  STAT START   TIME COMMAND
>> root   1  0.1  0.0 173832 18144 ?Ss   21:03   0:02 
>> /usr/lib/syst 
>> [...] 
> 
> You should use "ps ax -f" to show what all those libexec's are doing. KDE has
> krfb.  A kde forum might be more helpful.

Add a w to stop truncating the command.

$ ps afxw

Barry

> 
>  -- 
> George N. White III
> 
> ___
> 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: Monitor speakers change which "device" they are

2022-07-25 Thread Tim via users
On Mon, 2022-07-25 at 07:55 -0700, stan via users wrote:
> I think this is a consequence of parallel boot.  The order in which
> devices are discovered is non-deterministic.

Or, at all.  Occasionally my system doesn't find any audio hardware.

Many of us are in this "which card?" boat, because of modern hardware
being quite different from ye olde.  There's the on-board sound, which
may or may not have anything plugged into it (mine doesn't).  A HDMI
video monitor which may support sound (mine does).  And we may (I do)
have some USB audio hardware plugged in.  While I could disable the on-
board sound (assuming that a UEFI option really disables it and the OS
doesn't find it again), I can't disable the HDMI audio and it is useful
to be able to manually select it, some times.

Somehow it's supposed to determine which one to use.  And we'd hope
that once we've set a preference in our login account (e.g. using
whatever pulseaudio volume control app applies, in my case I'm using
"mate-volume-control") it would stick.

Ideally, these volume control apps need improving so that they clearly
identify hardware precisely (not configure things to use the first
found device method, when *we* know that's not a fixed answer), and
write the config in such a place that it's paid attention to.

I've had a look at the link in your next message:
https://alsa.opensrc.org/MultipleCards  But I may as well be reading
NASA specs on the space shuttle, there's a presumption of prior
knowledge.

-- 
 
uname -rsvp
Linux 3.10.0-1160.71.1.el7.x86_64 #1 SMP Tue Jun 28 15:37:28 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: .serverauth.2688 does not exist

2022-07-25 Thread George N. White III
On Mon, Jul 25, 2022 at 4:39 PM Patrick Dupre  wrote:

> *Here is the list of processes running on the machine*
> *(in tty terminal)*
>
> USER PID %CPU %MEMVSZ   RSS TTY  STAT START   TIME COMMAND
> root   1  0.1  0.0 173832 18144 ?Ss   21:03   0:02
> /usr/lib/syst
>
[...]
>

You should use "ps ax -f" to show what all those libexec's are doing. KDE
has
krfb.  A kde forum might be more helpful.

 --
George N. White III
___
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: .serverauth.2688 does not exist

2022-07-25 Thread Patrick Dupre

Here is the list of processes running on the machine

(in tty terminal)


 

USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root           1  0.1  0.0 173832 18144 ?        Ss   21:03   0:02 /usr/lib/syst
root           2  0.0  0.0      0     0 ?        S    21:03   0:00 [kthreadd]
root           3  0.0  0.0      0     0 ?        I<   21:03   0:00 [rcu_gp]
root           4  0.0  0.0      0     0 ?        I<   21:03   0:00 [rcu_par_gp]
root           5  0.0  0.0      0     0 ?        I<   21:03   0:00 [netns]
root           6  0.0  0.0      0     0 ?        I    21:03   0:00 [kworker/0:0-
root           7  0.0  0.0      0     0 ?        I<   21:03   0:00 [kworker/0:0H
root           8  0.0  0.0      0     0 ?        I    21:03   0:00 [kworker/u16:
root           9  0.0  0.0      0     0 ?        I<   21:03   0:00 [kworker/0:1H
root          10  0.0  0.0      0     0 ?        I<   21:03   0:00 [mm_percpu_wq
root          12  0.0  0.0      0     0 ?        I    21:03   0:00 [rcu_tasks_kt
root          13  0.0  0.0      0     0 ?        I    21:03   0:00 [rcu_tasks_ru
root          14  0.0  0.0      0     0 ?        I    21:03   0:00 [rcu_tasks_tr
root          15  0.0  0.0      0     0 ?        S    21:03   0:00 [ksoftirqd/0]
root          16  0.0  0.0      0     0 ?        I    21:03   0:00 [rcu_preempt]
root          17  0.0  0.0      0     0 ?        S    21:03   0:00 [migration/0]
root          18  0.0  0.0      0     0 ?        I    21:03   0:00 [kworker/0:1-
root          19  0.0  0.0      0     0 ?        S    21:03   0:00 [cpuhp/0]
root          20  0.0  0.0      0     0 ?        S    21:03   0:00 [cpuhp/1]
root          21  0.0  0.0      0     0 ?        S    21:03   0:00 [migration/1]
root          22  0.0  0.0      0     0 ?        S    21:03   0:00 [ksoftirqd/1]
root          24  0.0  0.0      0     0 ?        I<   21:03   0:00 [kworker/1:0H
root          25  0.0  0.0      0     0 ?        S    21:03   0:00 [cpuhp/2]
root          26  0.0  0.0      0     0 ?        S    21:03   0:00 [migration/2]
root          27  0.0  0.0      0     0 ?        S    21:03   0:00 [ksoftirqd/2]
root          29  0.0  0.0      0     0 ?        I<   21:03   0:00 [kworker/2:0H
root          30  0.0  0.0      0     0 ?        S    21:03   0:00 [cpuhp/3]
root          31  0.0  0.0      0     0 ?        S    21:03   0:00 [migration/3]
root          32  0.0  0.0      0     0 ?        S    21:03   0:00 [ksoftirqd/3]
root          34  0.0  0.0      0     0 ?        I<   21:03   0:00 [kworker/3:0H
root          35  0.0  0.0      0     0 ?        S    21:03   0:00 [cpuhp/4]
root          36  0.0  0.0      0     0 ?        S    21:03   0:00 [migration/4]
root          37  0.0  0.0      0     0 ?        S    21:03   0:00 [ksoftirqd/4]
root          39  0.0  0.0      0     0 ?        I<   21:03   0:00 [kworker/4:0H
root          40  0.0  0.0      0     0 ?        S    21:03   0:00 [cpuhp/5]
root          41  0.0  0.0      0     0 ?        S    21:03   0:00 [migration/5]
root          42  0.0  0.0      0     0 ?        S    21:03   0:00 [ksoftirqd/5]
root          44  0.0  0.0      0     0 ?        I<   21:03   0:00 [kworker/5:0H
root          45  0.0  0.0      0     0 ?        S    21:03   0:00 [cpuhp/6]
root          46  0.0  0.0      0     0 ?        S    21:03   0:00 [migration/6]
root          47  0.0  0.0      0     0 ?        S    21:03   0:00 [ksoftirqd/6]
root          49  0.0  0.0      0     0 ?        I<   21:03   0:00 [kworker/6:0H
root          50  0.0  0.0      0     0 ?        S    21:03   0:00 [cpuhp/7]
root          51  0.0  0.0      0     0 ?        S    21:03   0:00 [migration/7]
root          52  0.0  0.0      0     0 ?        S    21:03   0:00 [ksoftirqd/7]
root          54  0.0  0.0      0     0 ?        I<   21:03   0:00 [kworker/7:0H
root          55  0.0  0.0      0     0 ?        S    21:03   0:00 [kdevtmpfs]
root          56  0.0  0.0      0     0 ?        I<   21:03   0:00 [inet_frag_wq
root          57  0.0  0.0      0     0 ?        S    21:03   0:00 [kauditd]
root          58  0.0  0.0      0     0 ?        S    21:03   0:00 [oom_reaper]
root          59  0.0  0.0      0     0 ?        I<   21:03   0:00 [writeback]
root          60  0.0  0.0      0     0 ?        S    21:03   0:00 [kcompactd0]
root          61  0.0  0.0      0     0 ?        SN   21:03   0:00 [ksmd]
root          62  0.0  0.0      0     0 ?        SN   21:03   0:00 [khugepaged]
root          63  0.0  0.0      0     0 ?        I<   21:03   0:00 [cryptd]
root          64  0.0  0.0      0     0 ?        I<   21:03   0:00 [kintegrityd]
root          65  0.0  0.0      0     0 ?        I<   21:03   0:00 [kblockd]
root          66  0.0  0.0      0     0 ?        I<   21:03   0:00 [blkcg_punt_b
root          67  0.0  0.0      0     0 ?        I<   21:03   0:00 [tpm_dev_wq]
root          68  0.0  0.0      0     0 ?        I<   21:03   0:00 [ata_sff]
root          69  0.0  0.0      0     0 ?        I<   21:03   0:0

Re: .serverauth.2688 does not exist

2022-07-25 Thread Patrick Dupre
I can confirm

 

no vncserver

The result of

ps ax | grep '[Vv]nc'

is null
 

===
Patrick DUPRÉ | | email: pdu...@gmx.com
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988 | | Room# D114A
===

 
 

Sent: Monday, July 25, 2022 at 5:44 PM
From: "George N. White III" 
To: "Community support for Fedora users" 
Subject: Re: .serverauth.2688 does not exist



On Mon, Jul 25, 2022 at 8:56 AM Patrick Dupre  wrote:





No VNC, I would say.

How can I get the list of services running?




 

% ps ax | grep '[Vv]nc'
   1130 ?        S      0:00 /usr/sbin/vncsession gwhite :1
   2082 ?        S      0:00 xinit /etc/X11/xinit/Xsession /usr/bin/gnome-session -- /usr/bin/Xvnc :1 -geometry 1920x1080 -securitytypes vncauth,tlsvnc -auth /home/gwhite/.Xauthority -desktop cerberus:1 (gwhite) -fp catalogue:/etc/X11/fontpath.d -pn -rfbauth /home/gwhite/.vnc/passwd -rfbport 5901
   2115 ?        S      1:03 /usr/bin/Xvnc :1 -geometry 1920x1080 -securitytypes vncauth,tlsvnc -auth /home/gwhite/.Xauthority -desktop cerberus:1 (gwhite) -fp catalogue:/etc/X11/fontpath.d -pn -rfbauth /home/gwhite/.vnc/passwd -rfbport 5901
[gwhite@cerberus]~ % systemctl status vncserver@:1
● vncserver@:1.service - Remote desktop service (VNC)
     Loaded: loaded (/usr/lib/systemd/system/vncserver@.service; enabled; vendor preset: disabled)
     Active: active (running) since Sun 2022-07-24 16:15:29 ADT; 20h ago
    Process: 1095 ExecStartPre=/usr/libexec/vncsession-restore :1 (code=exited, status=0/SUCCESS)
    Process: 1120 ExecStart=/usr/libexec/vncsession-start :1 (code=exited, status=0/SUCCESS)
   Main PID: 1130 (vncsession)
      Tasks: 0 (limit: 18802)
     Memory: 2.3M
        CPU: 25ms
     CGroup: /system.slice/system-vncserver.slice/vncserver@:1.service
             ‣  1130 /usr/sbin/vncsession gwhite :1

Jul 24 16:15:23 cerberus systemd[1]: Starting Remote desktop service (VNC)...
Jul 24 16:15:29 cerberus systemd[1]: Started Remote desktop service (VNC).

 




But the issue is specific to one user only.




 

That is what I observe: logging in as a user that has a vncserver running goes to a blank screen,

while other logins work normally.

 




 

There is a nextcloud running normally automatically (startup application).

But, now, after the startx, I have to start it manually.

 

Please note that I have the same configuration on another fc36 machine,

and I cannot complain.





 

--



George N. White III
 



___ 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: Monitor speakers change which "device" they are

2022-07-25 Thread stan via users
On Mon, 25 Jul 2022 07:55:23 -0700
stan via users  wrote:

> You might have to go down the rabbit hole to investigate further if
> this is irritating enough to you.  e.g. ask on the alsa mailing list,
> web searches for people who have this exact problem and solved it,
> etc.

A couple of relevant links:

https://alsa-project.org/wiki/Main_Page

https://alsa.opensrc.org/MultipleCards
___
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: .serverauth.2688 does not exist

2022-07-25 Thread George N. White III
On Mon, Jul 25, 2022 at 8:56 AM Patrick Dupre  wrote:

> No VNC, I would say.
> How can I get the list of services running?
>

% ps ax | grep '[Vv]nc'
   1130 ?S  0:00 /usr/sbin/vncsession gwhite :1
   2082 ?S  0:00 xinit /etc/X11/xinit/Xsession
/usr/bin/gnome-session -- /usr/bin/Xvnc :1 -geometry 1920x1080
-securitytypes vncauth,tlsvnc -auth /home/gwhite/.Xauthority -desktop
cerberus:1 (gwhite) -fp catalogue:/etc/X11/fontpath.d -pn -rfbauth
/home/gwhite/.vnc/passwd -rfbport 5901
   2115 ?S  1:03 /usr/bin/Xvnc :1 -geometry 1920x1080
-securitytypes vncauth,tlsvnc -auth /home/gwhite/.Xauthority -desktop
cerberus:1 (gwhite) -fp catalogue:/etc/X11/fontpath.d -pn -rfbauth
/home/gwhite/.vnc/passwd -rfbport 5901
[gwhite@cerberus]~ % systemctl status vncserver@:1
● vncserver@:1.service - Remote desktop service (VNC)
 Loaded: loaded (/usr/lib/systemd/system/vncserver@.service; enabled;
vendor preset: disabled)
 Active: active (running) since Sun 2022-07-24 16:15:29 ADT; 20h ago
Process: 1095 ExecStartPre=/usr/libexec/vncsession-restore :1
(code=exited, status=0/SUCCESS)
Process: 1120 ExecStart=/usr/libexec/vncsession-start :1 (code=exited,
status=0/SUCCESS)
   Main PID: 1130 (vncsession)
  Tasks: 0 (limit: 18802)
 Memory: 2.3M
CPU: 25ms
 CGroup: /system.slice/system-vncserver.slice/vncserver@:1.service
 ‣  1130 /usr/sbin/vncsession gwhite :1

Jul 24 16:15:23 cerberus systemd[1]: Starting Remote desktop service
(VNC)...
Jul 24 16:15:29 cerberus systemd[1]: Started Remote desktop service (VNC).


> But the issue is specific to one user only.
>

That is what I observe: logging in as a user that has a vncserver running
goes to a blank screen,
while other logins work normally.


> There is a nextcloud running normally automatically (startup application).
> But, now, after the startx, I have to start it manually.
>
> Please note that I have the same configuration on another fc36 machine,
> and I cannot complain.
>

-- 
George N. White III
___
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: Monitor speakers change which "device" they are

2022-07-25 Thread stan via users
On Mon, 25 Jul 2022 08:03:46 -0500
Chris Adams  wrote:

> I have a notebook (AMD chips) connected to a hub (via USB-C), with two
> monitors hooked up to the hub (via HDMI).  The monitors have built-in
> speakers, and I use one monitor's speakers for default audio.  I'm
> running Fedora 35 MATE desktop (with Pipewire).  The problem is that
> which monitor's speakers are which flips around.

I think this is a consequence of parallel boot.  The order in which
devices are discovered is non-deterministic.

> Right now, the main monitor is "Renoir Radeon High Definition Audio
> Controller HDMI / DisplayPort 1 Output" and the second monitor is
> " 4 Output".  After a suspend/resume cycle though, they randomly
> swap, so I have to go into Sound Preferences and change the default
> output device.

I would guess that these monitors have the same sound hardware?  Use
aplay -l
to check if there are two identical devices available.  It sounds (heh)
like pipewire is just using the device that ends up in whatever slot it
considers default.

> The video side always keeps the correct monitor mapped as the correct
> part of the display layout, so it seems either there's a unique ID or
> something that keeps them in the right order.  Is there something
> similar to keep it right for audio?

Not sure how video works, probably it is discriminating based on the
connection.  But audio is determined by alsa as it discovers sound
devices.  It has been a long time since I investigated this, but I
think it is still possible to assign specific slots to devices using a
script in /etc/modprobe.d.  Something like the one at this link:
https://gist.github.com/andering/801eb7fe79520036dff4a90340fac7f6
Unfortunately, my experience has been that the audio hardware on
graphics devices tend to ignore this because the video starts before
the other audio devices, and so always gets slot 0, the default sound
device position.  But, you can try assigning names to the devices as
the above file demonstrates, and then assigning them positions, and
then setting that position as default.  Since your competing audio
devices are both graphics device based, it might work.  And it almost
surely will work if the audio hardware on the graphics device is
different for each video device.

Check the layout when it is good, and when it flips, and assign your
names to the devices based on that.  Then, you can only try and see if
it works.

You might have to go down the rabbit hole to investigate further if
this is irritating enough to you.  e.g. ask on the alsa mailing list,
web searches for people who have this exact problem and solved it, etc.
___
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


Monitor speakers change which "device" they are

2022-07-25 Thread Chris Adams
I have a notebook (AMD chips) connected to a hub (via USB-C), with two
monitors hooked up to the hub (via HDMI).  The monitors have built-in
speakers, and I use one monitor's speakers for default audio.  I'm
running Fedora 35 MATE desktop (with Pipewire).  The problem is that
which monitor's speakers are which flips around.

Right now, the main monitor is "Renoir Radeon High Definition Audio
Controller HDMI / DisplayPort 1 Output" and the second monitor is
" 4 Output".  After a suspend/resume cycle though, they randomly
swap, so I have to go into Sound Preferences and change the default
output device.

The video side always keeps the correct monitor mapped as the correct
part of the display layout, so it seems either there's a unique ID or
something that keeps them in the right order.  Is there something
similar to keep it right for audio?
-- 
Chris Adams 
___
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: .serverauth.2688 does not exist

2022-07-25 Thread Patrick Dupre
No VNC, I would say.

How can I get the list of services running?

But the issue is specific to one user only.

 

There is a nextcloud running normally automatically (startup application).

But, now, after the startx, I have to start it manually.

 

Please note that I have the same configuration on another fc36 machine,

and I cannot complain.
 

===
Patrick DUPRÉ | | email: pdu...@gmx.com
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988 | | Room# D114A
===

 
 

Sent: Monday, July 25, 2022 at 12:18 PM
From: "George N. White III" 
To: "Community support for Fedora users" 
Subject: Re: .serverauth.2688 does not exist



On Sun, Jul 24, 2022 at 5:27 PM Patrick Dupre  wrote:


What I am doing is simple.

I boot.
I get the graphical environment/display offering the user list (X).
Now 2 options
1) I login "normally" bu providing a password.
After that, the graphic freezes for a small while (1-2 Minute),
and I can try the same thing, wit the same result.

 

Does the login user have a VNC server running?   If I connect

a monitor to a normally headless server something similar

happens.  VNC servers are being started using systemd.

 

Only one solution: reboot (for example by login from the network).
2) Ctl/Atl F2. I get a text terminal and I log in text mode
I run startx and the X mode opens, every thing run properly
(gnome).
Do you
Is it clear?


 

I haven't tried that -- just use the text terminal to stop the VNC

server.

___ 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: root account

2022-07-25 Thread George N. White III
On Sun, Jul 24, 2022 at 6:14 PM Joe Zeff  wrote:

> On 7/24/22 14:09, Samuel Sieb wrote:
> >>
> >
> > I assume these are 3rd party rpms.  If you found something like that in
> > Fedora, you should file a bug.
>
> I doubt it, as I've always tended to stick to the repos.  It was years
> ago, and I don't remember which packages they were.
>

The bugs were probably fixed "years ago".  Enough time has passed to
to allow newcomers to make the mistake again.  Sudo can be what lawyers
call an "attractive nuisance".

-- 
George N. White III
___
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: .serverauth.2688 does not exist

2022-07-25 Thread George N. White III
On Sun, Jul 24, 2022 at 5:27 PM Patrick Dupre  wrote:

> What I am doing is simple.
>
> I boot.
> I get the graphical environment/display offering the user list (X).
> Now 2 options
> 1) I login "normally" bu providing a password.
> After that, the graphic freezes for a small while (1-2 Minute),
> and I can try the same thing, wit the same result.
>

Does the login user have a VNC server running?   If I connect
a monitor to a normally headless server something similar
happens.  VNC servers are being started using systemd.


> Only one solution: reboot (for example by login from the network).
> 2) Ctl/Atl F2. I get a text terminal and I log in text mode
> I run startx and the X mode opens, every thing run properly
> (gnome).
> Do you
> Is it clear?


I haven't tried that -- just use the text terminal to stop the VNC
server.
___
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: Wifi Device Last Used Message From Network Manager - What Does the Message Mean?

2022-07-25 Thread Alex
It means what it says. If you are connected to Wi-Fi, it will display 
last used Now, disconnect and it will instead say last used 1 minute ago.


On 7/25/22 00:50, Stephen Morris wrote:

Hi,
    When I boot into Linux and look at the config for my wifi device 
and it says the device was "Last used 30 minutes Ago", what exactly 
does that message mean? Does it mean what is says, or does it mean 
that was the last time the device was attempted to be activated? I'm 
asking this because I have had that message on a device that Linux 
could not use.


regards,
Steve
___
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