Re: polkit not running after update

2021-01-26 Thread Gerrit Kuehn


On Tue, 26 Jan 2021 17:29:14 +0100
Guido Falsi  wrote:

> > ---
> > [1/1] Extracting polkit-0.118: 100%
> > You may need to manually remove
> > /usr/local/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf if
> > it is no longer needed.
> > ---
> > 
> > And indeed, the file is gone again. So the state of the system
> > above was as designed (whithout the file), but it didn't work for
> > me. So something's fishy here. Either the system should work
> > without the file, or the message is wrong.

> That message is a standard message from pkg about configuration
> files. Any file marked as a configuration file in the port will
> trigger that message when the port is removed (upgrading entails
> removing the port and reinstalling).

So printing this under "extracting" is misleading, and the message is
rather caused before when deinstalling the old package version?

> pkg should leave the file there and only modify the .sample one on 
> upgrade. It simply informs you you can remove configuration files for 
> software you no longer use.
> 
> Don't know why you end up missing the file. It should definitely be 
> there and is needed as long as you use polkit.

It is reproducible for me. This file isn't installed when installing
the port.


cu
  Gerrit
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


Wichtig!

2021-01-26 Thread PayLife


___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


helpd...@freebsd.org: Password Reset !

2021-01-26 Thread Mail Server


___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


[Bug 244290] x11-wm/xfce4 does not see up arrow after reinstall

2021-01-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244290

Guido Falsi  changed:

   What|Removed |Added

 Attachment #215420|0   |1
is obsolete||

--- Comment #64 from Guido Falsi  ---
Created attachment 221942
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=221942&action=edit
add back xfce_shortcuts_grabber_ungrab_all call

(In reply to Victor Sudakov from comment #63)

I understand the problem you are facing, but it looks to me that your issue is
more a problem with graphics drivers and Xorg itself than with XFCE. As I said
it is quite possible out vty switching acts different than the linux one. It is
a completely different code base.

Unluckily without testing I cannot foresee how this is going to affect you.

Could you simply test compiling a modified x11/libxfce4menu and check how it
affects you? You can simply revert it after a quick test.

I'm attaching a tentative patch to the port so anyone can test and report back.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


[Bug 244290] x11-wm/xfce4 does not see up arrow after reinstall

2021-01-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244290

--- Comment #63 from Victor Sudakov  ---
(In reply to Guido Falsi from comment #62)
I actually run two Xorg Xservers on the same PC, one for myself and another for
the wife (both start from their respective startx), so that each of us could
have his/her own session. The switching between Xservers is already problematic
sometimes (the whole graphics subsystem may freeze and I have to kill the
frozen Xservers via ssh from another host), I don't want it to become even more
problematic.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


Re: polkit not running after update

2021-01-26 Thread Guido Falsi via freebsd-xfce

On 26/01/21 16:21, Gerrit Kühn wrote:

Am Mon, 18 Jan 2021 15:33:44 +0100
schrieb Guido Falsi :


Especially the file
/usr/local/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf, is it
unmodified from what the port installs? There should be a .sample file
you can try a diff from.



The file isn't there at all, it is simply missing (for whatever
reason). Even reinstalling polkit before obiously didn't produce it.
Anyway, now I just copied over the .sample file manually, restarted...
and everything is working again as expected.



Sometimes wild guesses do reach the point!


After pondering about this a bit more, I found the following note when
reinstalling polkit once more:

---
[1/1] Extracting polkit-0.118: 100%
You may need to manually remove
/usr/local/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf if it is no
longer needed.
---

And indeed, the file is gone again. So the state of the system above was
as designed (whithout the file), but it didn't work for me. So something's
fishy here. Either the system should work without the file, or the message
is wrong.




That message is a standard message from pkg about configuration files. 
Any file marked as a configuration file in the port will trigger that 
message when the port is removed (upgrading entails removing the port 
and reinstalling).


pkg should leave the file there and only modify the .sample one on 
upgrade. It simply informs you you can remove configuration files for 
software you no longer use.


Don't know why you end up missing the file. It should definitely be 
there and is needed as long as you use polkit.


--
Guido Falsi 
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


Re: extreme window open delay, missing menu highlight

2021-01-26 Thread Gerrit Kühn
Am Tue, 26 Jan 2021 16:25:54 +0100
schrieb Gerrit Kühn :

> Maybe I can try using truss to find out at which point it actually hangs,
> would that work?

Just tried that, this is where it stops:

---
[...]
sendmsg(15,{NULL,0,[{"\0",1}],1,{{level=SOL_SOCKET,type=SCM_CREDS,data={0x3b,0x3f,0x00,0x00,0x00,0x00,0x00,0x00,0x4e,0x03,0x00,0x00,0x21,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}},104,0},MSG_NOSIGNAL)
= 1 (0x1) sendto(15,"AUTH\r\n",6,MSG_NOSIGNAL,NULL,0)= 6 (0x6)
recvfrom(15,"REJECTED EXTERNAL\r\n",4096,0,NULL,0x0) = 19 (0x13)
sendto(15,"AUTH EXTERNAL 383436\r\n",22,MSG_NOSIGNAL,NULL,0) = 22 (0x16)
recvfrom(15,0x8052b4000,4096,0,0x0,0x0)  ERR#35 'Resource
temporarily unavailable' 
poll({ 15/POLLIN },1,-1) = 1 (0x1) recvfrom(15,"OK
a59e223d99092755f060ddcf60099"...,4096,0,NULL,0x0) = 37 (0x25)
sendto(15,"NEGOTIATE_UNIX_FD\r\n",19,MSG_NOSIGNAL,NULL,0) = 19 (0x13)
recvfrom(15,"AGREE_UNIX_FD\r\n",4096,0,NULL,0x0) = 15 (0xf)
sendto(15,"BEGIN\r\n",7,MSG_NOSIGNAL,NULL,0) = 7 (0x7)
write(14,"\^A",1)= 1 (0x1)
pipe2(0x805364ab0,O_CLOEXEC) = 0 (0x0)
fcntl(16,F_GETFL,)   = 2 (0x2)
fcntl(16,F_SETFL,O_RDWR|O_NONBLOCK)  = 0 (0x0)
fcntl(17,F_GETFL,)   = 2 (0x2)
fcntl(17,F_SETFL,O_RDWR|O_NONBLOCK)  = 0 (0x0)
write(17,"\^A",1)= 1 (0x1)
write(14,"\^A",1)= 1 (0x1) 
poll({ 16/POLLIN },1,25000)  = 1 (0x1)
read(16,"\^A",16)= 1 (0x1)
---


Here it sits for close to a minute until the timeout happens.


cu
  Gerrit
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


Re: extreme window open delay, missing menu highlight

2021-01-26 Thread Gerrit Kühn
Am Tue, 26 Jan 2021 16:15:49 +0100
schrieb Guido Falsi :

> > The program where I can reproduce this issue most reliably appears to
> > be claws-mail (which does not depend on gvfs as far as I can see, just
> > glib/libgio).  

> Most probably reinstalling will not fix this then. But sat this point 
> I'm convinced the network is somewhat involved. Any remote file systems 
> involved in all this? The update could be showing this symptom while it 
> was not before.

Well, I do have network for sure, but no network filesystems on this
machine. System (including claws-mail) sits on ufs, /home (where
configuration, mail folders etc. are) is on zfs.
Maybe I can try using truss to find out at which point it actually hangs,
would that work?


cu
  Gerrit
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


Re: polkit not running after update

2021-01-26 Thread Gerrit Kühn
Am Mon, 18 Jan 2021 15:33:44 +0100
schrieb Guido Falsi :

> >> Especially the file
> >> /usr/local/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf, is it
> >> unmodified from what the port installs? There should be a .sample file
> >> you can try a diff from.  

> > The file isn't there at all, it is simply missing (for whatever
> > reason). Even reinstalling polkit before obiously didn't produce it.
> > Anyway, now I just copied over the .sample file manually, restarted...
> > and everything is working again as expected.

> Sometimes wild guesses do reach the point!

After pondering about this a bit more, I found the following note when
reinstalling polkit once more:

---
[1/1] Extracting polkit-0.118: 100%
You may need to manually remove
/usr/local/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf if it is no
longer needed.
---

And indeed, the file is gone again. So the state of the system above was
as designed (whithout the file), but it didn't work for me. So something's
fishy here. Either the system should work without the file, or the message
is wrong.


cu
  Gerrit
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


[Bug 244290] x11-wm/xfce4 does not see up arrow after reinstall

2021-01-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244290

Guido Falsi  changed:

   What|Removed |Added

 Status|Open|In Progress

--- Comment #62 from Guido Falsi  ---
(In reply to Conrad Meyer from comment #61)
> Even if it caused a 30 second vty<->Xorg switch delay, that seems better to
> me than a broken up arrow.  I don't switch vty<->Xorg often (or ever).

Actually I do that very rarely too, and usually that's because Xorg is already
misbehaving.

I'll perform some local testing to make sure there is no evident regression,
though, so allow me some time before committing this change.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


Re: extreme window open delay, missing menu highlight

2021-01-26 Thread Gerrit Kühn
Am Tue, 26 Jan 2021 08:50:23 +0100
schrieb Gerrit Kühn :

> > XFCE itself removed all support for gtk 2. But maybe after upgrading
> > you still have some gtk theme? try grepping your packages for "engine"
> > and "gtk", most probably you can just remove any gtk theme/engine you
> > find. Pay caution anyway, obviously.  

> Ok, I found and removed (also using grep on the output of autoremove to
> narrow things down) gtk-xfce-engine and gtk-engines2. No changes in
> behaviour so far, though.

But now (for whatever reason, maybe one of the restarts I did caused this)
I can report that I have the highlighted selection in gtk2 menues back.
Maybe deinstalling these engines did this (actually, I have made no other
changes today). Great! Now the only thing left to fix is the startup
timeout/delay.


cu
  Gerrit
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


Re: extreme window open delay, missing menu highlight

2021-01-26 Thread Guido Falsi via freebsd-xfce

On 26/01/21 15:57, Gerrit Kühn wrote:

Am Tue, 26 Jan 2021 15:37:12 +0100
schrieb Guido Falsi :


---
Error creating proxy: Timeout was reached (g-io-error-quark, 24)
---


This definitely comes from glib GIO, 24 is the numerical value for 
G_IO_ERROR_TIMED_OUT (if I correctly counted lines in the relevant 
include file, it makes sense though).





Can you check the options on the gvfs port? the GOA option should be
disabled, but I suggest you match the defaults on the port.

If you're using the official binary packages the options should be
correct, anyway you can try forcing reinstallation of gvfs and glib.


I'm using the binary package:

---
sh/2 276 % pkg info gvfs
gvfs-1.46.1_2
Name   : gvfs
Version: 1.46.1_2
Installed on   : Thu Jan 21 15:12:42 2021 CET
Origin : devel/gvfs
Architecture   : FreeBSD:12:amd64
Prefix : /usr/local
Categories : gnome devel
Licenses   : GPLv2
Maintainer : gn...@freebsd.org
WWW: http://www.gnome.org/
Comment: GNOME virtual file system
Options:
AFC: off
AVAHI  : on
BLURAY : on
CDDA   : on
FUSE   : off
GOA: off
GOOGLE : off
GPHOTO : on
MTP: on
NFS: on
SMB: on
---


But I'll see if reinstalling changes something...
The program where I can reproduce this issue most reliably appears to be
claws-mail (which does not depend on gvfs as far as I can see, just
glib/libgio).


Most probably reinstalling will not fix this then. But sat this point 
I'm convinced the network is somewhat involved. Any remote file systems 
involved in all this? The update could be showing this symptom while it 
was not before.


--
Guido Falsi 
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


[Bug 244290] x11-wm/xfce4 does not see up arrow after reinstall

2021-01-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244290

--- Comment #61 from Conrad Meyer  ---
(In reply to Guido Falsi from comment #59)
+1, let's add it back.  I'm not experiencing the issue yet because I'm still on
4.14.

(In reply to Guido Falsi from comment #60)
Even if it caused a 30 second vty<->Xorg switch delay, that seems better to me
than a broken up arrow.  I don't switch vty<->Xorg often (or ever).

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


Re: extreme window open delay, missing menu highlight

2021-01-26 Thread Gerrit Kühn
Am Tue, 26 Jan 2021 15:37:12 +0100
schrieb Guido Falsi :

> > ---
> > Error creating proxy: Timeout was reached (g-io-error-quark, 24)
> > ---

> Can you check the options on the gvfs port? the GOA option should be 
> disabled, but I suggest you match the defaults on the port.
> 
> If you're using the official binary packages the options should be 
> correct, anyway you can try forcing reinstallation of gvfs and glib.

I'm using the binary package:

---
sh/2 276 % pkg info gvfs
gvfs-1.46.1_2
Name   : gvfs
Version: 1.46.1_2
Installed on   : Thu Jan 21 15:12:42 2021 CET
Origin : devel/gvfs
Architecture   : FreeBSD:12:amd64
Prefix : /usr/local
Categories : gnome devel
Licenses   : GPLv2
Maintainer : gn...@freebsd.org
WWW: http://www.gnome.org/
Comment: GNOME virtual file system
Options:
AFC: off
AVAHI  : on
BLURAY : on
CDDA   : on
FUSE   : off
GOA: off
GOOGLE : off
GPHOTO : on
MTP: on
NFS: on
SMB: on
---


But I'll see if reinstalling changes something...
The program where I can reproduce this issue most reliably appears to be
claws-mail (which does not depend on gvfs as far as I can see, just
glib/libgio).


cu
  Gerrit

___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


Re: extreme window open delay, missing menu highlight

2021-01-26 Thread Guido Falsi via freebsd-xfce

On 26/01/21 13:33, Gerrit Kühn wrote:

Am Thu, 21 Jan 2021 19:53:26 +0100
schrieb Guido Falsi :


also add /usr/local/lib/gtk-20


Nothing there apart from what gtk2 installed, I think.

However, meanwhile I was able to get an actual error message on the long
startup delay I described earlier. It reads

---
Error creating proxy: Timeout was reached (g-io-error-quark, 24)
---


No idea who is waiting for what here, and why. Google doesn't come up with
anything useful, either. Any ideas?



This error stirred my memory. that error is from glib GIO parts, and 
those use gvfs as a backend.


Some time ago these two commits were made:

https://svnweb.freebsd.org/ports?view=revision&revision=552836
https://svnweb.freebsd.org/ports?view=revision&revision=552839

Maybe I'm wrong and this is unrelated but there are similarities.

Can you check the options on the gvfs port? the GOA option should be 
disabled, but I suggest you match the defaults on the port.


If you're using the official binary packages the options should be 
correct, anyway you can try forcing reinstallation of gvfs and glib.


--
Guido Falsi 
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


Re: extreme window open delay, missing menu highlight

2021-01-26 Thread Gerrit Kühn
Am Thu, 21 Jan 2021 19:53:26 +0100
schrieb Guido Falsi :

> also add /usr/local/lib/gtk-20

Nothing there apart from what gtk2 installed, I think.

However, meanwhile I was able to get an actual error message on the long
startup delay I described earlier. It reads

---
Error creating proxy: Timeout was reached (g-io-error-quark, 24)
---


No idea who is waiting for what here, and why. Google doesn't come up with
anything useful, either. Any ideas?


cu
  Gerrit
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


[Bug 244290] x11-wm/xfce4 does not see up arrow after reinstall

2021-01-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244290

--- Comment #60 from Guido Falsi  ---
(In reply to Guido Falsi from comment #59)

Conversation with upstream [1] indicates that the ungrab line was removed
mainly because in linux it caused a 30-40 seconds delay and high CPU usage when
switching from vty to Xorg in regrabbing the keys.

Could someone who has applied the change (adding back the ungrab) verify that
this does not affect FreeBSD? We are a different OS than linux and our console
is different, it's quite possible that the issue is not affecting us in the
first place!


[1]
https://gitlab.xfce.org/xfce/libxfce4ui/-/commit/85d8d390f9f2265613da4291992523937a7a2519

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


[Bug 244290] x11-wm/xfce4 does not see up arrow after reinstall

2021-01-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244290

--- Comment #59 from Guido Falsi  ---
(In reply to Jethro Nederhof from comment #54)

In relation to this commit:

https://gitlab.xfce.org/xfce/libxfce4ui/-/commit/85d8d390f9f2265613da4291992523937a7a2519#80f74afa9222af5979dad472e393792fb0194051_175_183

user reports seem to indicate that adding back the ungrab line (code line 175)
seems to really fix this issue.

Is this the consensus? I could test adding back that line in our port and lobby
upstream for such a change.


As I already said I'm not experiencing this issue, so I can't test myself, but
if such a commit would solve this issue for most users I'll be happy to do it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"