:: Re: [DNG] upgrade from Debian stret…
Top Page
Delete this message
Reply to this message
Author: fsmithred
Date:  
To: dng
Subject: Re: [DNG] upgrade from Debian stretch to Devuan ascii?
On 09/17/2017 04:30 PM, Adam Borowski wrote:
> On Sun, Sep 17, 2017 at 01:49:00PM -0400, fsmithred wrote:
>> - standard system install of debian stretch plus openbox, lxterminal,
>> lxpanel and a few other packages.
>> - changed sources to devuan ascii, update, add key, update again
>> - install sysvinit-core, reboot.
>> - [optional] install live-config-sysvinit to replace live-config-systemd
>> - remove libpam-systemd systemd systemd-shim
>> - apt-get autoremove
>
>> - install consolekit policykit-1 libpam-ck-connector (I don't know if
>> these were really needed. It seemed ok, but I'm using startx to get a
>> desktop.)
>
> policykit is needed only for letting an unprivileged user
> shutdown/suspend/etc from a GUI, mount removable media and such. It doesn't
> sound like you have an use for it.
>
>> - install xserver-xorg-legacy
>
> Bad idea! You'd want xserver-xorg-legacy only if you have a truly ancient
> graphics card or an {u,eu,...}dev misconfiguration wrt input (or run hurd).
>
> Obviously if for you the regular user is almost as sensitive as root anyway
> it's not a big concern, but if we stick to principles here we avoid training
> the user that making random things setuid is a good solution. With KVM,
> there's no need for X to run as root.
>
>
> Meow!
>


OK, I removed xserver-xorg-legacy and checked that dkms is installed. Now,
how do I start xorg? startx no longer works. With or without
"needs_root_rights=yes" I get the following errors.

[ 387.259] (EE) systemd-logind: failed to get session: The name
org.freedesktop.login1 was not provided by any .service files
[ 387.309] (EE) modeset(0): drmSetMaster failed: Permission denied
[ 387.309] (EE)
[ 387.309] (EE) AddScreen/ScreenInit failed for driver 0
[ 387.309] (EE)
[ 387.309] (EE)
[ 387.309] (EE) Please also check the log file at
"/home/user/.local/share/xorg/Xorg.0.log" for additional information.
[ 387.309] (EE)
[ 387.321] (EE) Server terminated with error (1). Closing log file.

fsmithred