Re: [DNG] elogind available in experimental and ascii-proposed

2018-01-15 Thread Andreas Messer
On Mon, Jan 15, 2018 at 10:30:12AM +, KatolaZ wrote:
> The package is now available in Devuan in "ascii-proposed" and
> "experimental". Please test it extensively and report any issue on
> bugs.devuan.org.
> 
> @Andreas: please indicate if there are specific things/combintions to
> be tested.

In current default configuration, the elogind package will just install 
all the libraries and start the daemon. But the pam module is not 
enabled. With that combination I was able to install and use gnome-session
with USB mounting and Shutdown/Reboot. But with this configuration,
elogind is practically disabled, because it does not know about the 
session. (I have also installed consolekit, which takes care of these tasks.
Fun fact: although gnome-sessions requires logind, it also works without
having it really enabled. So why depend on it? :-)

When elogind pam module is enabled, the session is correctly registered
with elogind. This can be done by following steps:

- invoke "sudo pam-auth-update' and enable elogind
- log out and log in again
- invoke 'loginctl', the session should be listed

But now, at least for my system, neither USB mounting nor Shutdown/Reboot
buttons work. I think this is because the session is not known by consolekit 
anymore, so enabling elogind pam breaks consolekit sessions. This is the
first thing to investigate. I don't know the reason for this, yet. Maybe the
situation improves when using consolekit2, maybe consolekit and
elogind can not be used at the same time. (Until now i thought they are
'orthogonal' to each other)

So testing should focus on (preferably with both of the configurations
elogind fully enabled and only installed):

- Mounting devices as user, shutdown/reboot/suspend
- Functionallity of Gnome and other X sessions (I'm on KDE mainly)

Nevertheless there is more to do:

- Rebuild udisks2 with logind support should fix the mounting issue because
  udisk could ask logind for permissions then. Maybe this breaks consolekit?

- figure out how Shutdown/Reboot can be fixed with logind, maybe upower is
  the solution.

> Thanks a lot to Andreas for the great job, and to those who helped him
> in the process!

I'm passing these flowers back to you ;-)

cheers,
Andreas
-- 
gnuPG keyid: 8C2BAF51
fingerprint: 28EE 8438 E688 D992 3661 C753 90B3 BAAA 8C2B AF51


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] machine locks up switching between console and X session

2018-01-15 Thread Chillfan
What hardware are you using?

I suspect the problem is with the nouveau driver, I had issues like this with 
my graphics card until reclocking support was finished.

Nouveau has limited support for some of the newer cards (pascal if I remember) 
because nvidia hasn't released the signed firmware yet. The result is low clock 
speeds on the graphics card, and similar issues to what you're having.

Try with the official NVIDIA drivers and see what happens.

https://wiki.debian.org/NvidiaGraphicsDrivers


Thanks,

chillfan
​

>I have some new hardware that locks up a lot with Ascii.  Sometimes it
> happens on its own, other times it seems it can be triggered by going to
> the console (ctrl-alt-f1 for example) and back to the X session
> (ctrl-alt-f7).  Any suggestions about how to diagnose or fix or work
> around this?  I'm not a hardware person at all.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] machine locks up switching between console and X session

2018-01-15 Thread Lars Noodén
I have some new hardware that locks up a lot with Ascii.  Sometimes it
happens on its own, other times it seems it can be triggered by going to
the console (ctrl-alt-f1 for example) and back to the X session
(ctrl-alt-f7).  Any suggestions about how to diagnose or fix or work
around this?  I'm not a hardware person at all.

Below is an excerpt from kern.log capturing such a lockup which happened
at 14 past the hour.  The next entries, not shown, pertain to a forced
cold boot.

/Lars

$ uname -sr; lsb_release -rd
Linux 4.9.0-5-amd64
Description:Devuan GNU/Linux 2.0 (ascii)
Release:2.0

# lshw -sanitize -class display
  *-display
   description: VGA compatible controller
   product: Intel Corporation
   vendor: Intel Corporation
   physical id: 2
   bus info: pci@:00:02.0
   version: 02
   width: 64 bits
   clock: 33MHz
   capabilities: pciexpress msi pm vga_controller bus_master
cap_list rom
   configuration: driver=i915 latency=0
   resources: irq:129 memory:dd00-ddff
memory:b000-bfff ioport:f000(size=64) memory:c-d
  *-display
   description: 3D controller
   product: GM108M [GeForce 940MX]
   vendor: NVIDIA Corporation
   physical id: 0
   bus info: pci@:01:00.0
   version: a2
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress bus_master cap_list rom
   configuration: driver=nouveau latency=0
   resources: irq:128 memory:de00-deff
memory:c000-cfff memory:d000-d1ff ioport:e000(size=128)
memory:df00-df07




from kern.log:

Jan 15 16:57:20 devuan kernel: [23006.037953] nouveau :01:00.0: DRM:
evicting buffers...
Jan 15 16:57:20 devuan kernel: [23006.037959] nouveau :01:00.0: DRM:
waiting for kernel channels to go idle...
Jan 15 16:57:35 devuan kernel: [23021.037881] nouveau :01:00.0: DRM:
failed to idle channel 1 [DRM]
Jan 15 17:13:31 devuan kernel: [23977.013145] nouveau :01:00.0: DRM:
evicting buffers...
Jan 15 17:13:31 devuan kernel: [23977.013153] nouveau :01:00.0: DRM:
waiting for kernel channels to go idle...
Jan 15 17:13:46 devuan kernel: [23992.013027] nouveau :01:00.0: DRM:
failed to idle channel 1 [DRM]
Jan 15 17:13:51 devuan kernel: [23997.017112] nouveau :01:00.0: DRM:
evicting buffers...
Jan 15 17:13:51 devuan kernel: [23997.017119] nouveau :01:00.0: DRM:
waiting for kernel channels to go idle...
Jan 15 17:14:05 devuan kernel: [24011.929333] drm/i915: Resetting chip
after gpu hang
Jan 15 17:14:06 devuan kernel: [24012.017095] nouveau :01:00.0: DRM:
failed to idle channel 1 [DRM]
Jan 15 17:14:06 devuan kernel: [24012.017604] [drm] RC6 on
Jan 15 17:14:06 devuan kernel: [24012.031508] [drm] GuC firmware load
skipped
Jan 15 17:14:11 devuan kernel: [24017.041194] nouveau :01:00.0: DRM:
evicting buffers...
Jan 15 17:14:11 devuan kernel: [24017.041198] nouveau :01:00.0: DRM:
waiting for kernel channels to go idle...
Jan 15 17:14:17 devuan kernel: [24023.929206] drm/i915: Resetting chip
after gpu hang
Jan 15 17:14:17 devuan kernel: [24023.929250] [drm] RC6 on
Jan 15 17:14:17 devuan kernel: [24023.943343] [drm] GuC firmware load
skipped
Jan 15 17:14:26 devuan kernel: [24032.041162] nouveau :01:00.0: DRM:
failed to idle channel 1 [DRM]
...
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] upgrade to ascii

2018-01-15 Thread Olaf Meeuwissen
Hi,

KatolaZ writes:

> On Mon, Jan 01, 2018 at 01:59:23PM +0900, Olaf Meeuwissen wrote:
>> Hi,
>>
>> [...]  I just upgraded
>> myself using (almost) the same without any problems and blogged about
>> it here
>>
>>   https://paddy-hack.gitlab.io/posts/upgrading-devuan-from-jessie-to-ascii/
>
> very nice report, indeed. Thanks.

Glad you liked it.  I cleaned up the log for readability and added a bit
on cleaning up *.dpkg* files.  I've also written a separate post on some
of the "issues" I ran into.

  https://paddy-hack.gitlab.io/posts/a-fortnight-with-ascii/

Happy to see that the theme issues (the ones I noticed at least) are all
fixed in clearlooks-phenix-darkpurpy.

@golinux: Thanks!

Hope this helps,
--
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] elogind available in experimental and ascii-proposed

2018-01-15 Thread Irrwahn
KatolaZ wrote on 15.01.2018 11:30:
> Dear D1rs,
> 
> as recently discussed, our Andreas Messer has worked on packaging
> elogind in the last few days. elogind is a replacement for the
> "logind" systemd component, maintained by the Gentoo folks, and should
> in theory allow packages which need libpam-systemd and logind services
> to be installed on Devuan without problems (and without requiring
> libpam-systemd itself)
> 
> The package is now available in Devuan in "ascii-proposed" and
> "experimental". Please test it extensively and report any issue on
> bugs.devuan.org.
[...]

I installed the package from ascii-proposed in an ascii VM without any 
problems. However, how would one go about actually testing it?  The 
system uses lightdm as the DM and XFCE as DE, but not much in terms of 
bells and whistles. Think of it as a radically stripped down version of 
my actual desktop kitchen-sink: 907 vs. 3146 installed packages. 

Any hints or directions what packages or functionalities could be tried 
out to give elogind a spin?
Best regards
Urban

-- 
Sapere aude!
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Log-out instead of screen-saver ?

2018-01-15 Thread Renaud (Ron) OLGIATI
Would it be possible to configure the system so that after a set time of 
inactivity, it logs-out the user instead of activating a screen saver ?

Cheers,
 
Ron.
-- 
Nobody ever went broke underestimating
   the intelligence of the American public.
   -- H. L. Mencken

   -- http://www.olgiati-in-paraguay.org --
 
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] elogind available in experimental and ascii-proposed

2018-01-15 Thread KatolaZ
Dear D1rs,

as recently discussed, our Andreas Messer has worked on packaging
elogind in the last few days. elogind is a replacement for the
"logind" systemd component, maintained by the Gentoo folks, and should
in theory allow packages which need libpam-systemd and logind services
to be installed on Devuan without problems (and without requiring
libpam-systemd itself)

The package is now available in Devuan in "ascii-proposed" and
"experimental". Please test it extensively and report any issue on
bugs.devuan.org.

@Andreas: please indicate if there are specific things/combintions to
be tested.

@Adam Borowski: The version in experimental could in theory be
proposed for inclusion in Debian.

Thanks a lot to Andreas for the great job, and to those who helped him
in the process!

HND

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]


signature.asc
Description: Digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng