The officially official Devuan Forum!

You are not logged in.

#26 Re: Desktop and Multimedia » Slim and build settings » 2017-07-11 14:22:53

Just for "giggles" and testing

And not for general users I have made no deb for this.

I've started a branch called debugg with
   - "modernised" docs
      docutils and markdown friendly all in one file.
  - Hopefully clearer INSTALL instructions
  - A new bugg theme to login with
  - More info in /etc/slim.conf
This all builds easily and reliably here of course.
YMMV.  cmake gives good hints.

You should not need lib-consolekit* or libdbus*
If you follow INSTALL subtle clues.
(and it don't need no task-desktop-* !)

https://git.devuan.org/PeteGozz/slim/tree/debugg

The extra g in debug is meant to make it obvious ... made sense this morning.

#27 Re: Desktop and Multimedia » Slim and build settings » 2017-07-11 01:59:40

Ah .. yep smile
oops .
No idea  why I did that . ..
Its my glasses !

PeteGozz wrote:

There are a few forks and pull requests most of them growing old.
Including mine:

lol
and
ME

Gunna leave it there as a reminder sad

#28 Re: Desktop and Multimedia » Guayadeque-0.4.5 on Ascii/Ceres » 2017-07-10 15:24:48

? CMAKE_INSTALL_PREFIX  somewhere near the top of the  CMakeLists.txt ?

Or perhaps you can just force it in the Makefile ;>
Or export PREFIX=/usr/local

Which I have _permanently_ welded into my ~/.bashrc

#29 Re: Desktop and Multimedia » Slim and build settings » 2017-07-10 15:04:42

So here is the state of slim as seen by me Mon July 20th 2017.
A rough report.

Devuan has diverged from Debian, both have diverged from Upstream.
_None_ of these changes are major. (Philosophies aside.)

I really do not need (or want) to care about what Debian are doing to Slim,
_other than noting_::

    that Devuan's sources came from Deb rather than upsteam.
    -  The patch set could be reduced but its not too bad. (I guess)
    - Devuan could start again from upstream at least as found on github with
      ONE patch of about 4-8 char in size ! (from memory)

Patching out debian "breakages" is a waste of this distros energy.
( So the current devuan gitLAB packages should be the one Devuans' work on until upstream wakes up.)

Upstream does not look too active, though I would be happy to be proven wrong !
I baited a line with "documentation" so far no bites.

Policy::
     Devuan devs have policed (i.e policy-ed) out the theme directories under the debian/ tree.
     slim.theme will be set by other modes.
     I know of no reason that the current slim code default theme could not be replaced / kept
     and a  Devuan default (not release aware) installed instead or as well.
     (This could be as simple as changing the background.)

The functionalities and depends list seems consistent  across all suite/stablity levels.
The Devuan devs will wrangle Branding and notably Usablility + Internationalisation .
A deduction of sorts ::
     suites/{jessie,ascii,etc,etc} are about release branding really.
     suites/unstable (or experimental) is where functionality would be worked on.

I should think a documentation branch or perhaps tag would be useful?
(though there is little need for much more beyond a how to ~/.xinitrc or some such and dbus notes)

I have yet to trip over any mention of the slimlock screen locker, but maybe I should look again.

so links:
----------

Upstream github:
https://github.com/iwamatsu/slim   (the master branch has a silly typo bug.)

There are a few forks and pull requests most of them growing old.
Including mine:
https://github.com/PeteGozz/slim/tree/docsatwork      (sans debian branch with docs mods.)

Official DEVUAN
https://git.devuan.org/devuan-packages/slim          (sans themes) do check the branch !

Finally mine which once again you will need to check branches.
The only useful thing may be the new dual format Docs  or unstable branch. e.g.
(docutils (rst) or md which just means being a little careful really)

https://git.devuan.org/PeteGozz/slim/bl … /THEMES.md

The INSTALL files has at this time instructions on how to disable consolekit / dbus
just as an experimental example you understand.

PS. Themers need to note the config  file settings !
Lest stuff wont actually work.

Did I mention that you should check the branch ?
The final (canonical)  upstream is SVN it can be found from the github master branch.
(or duckduck)

#31 Re: Off-topic » When you can't tell the difference between Windows and systemd » 2017-07-09 00:51:29

greenjeans wrote:

They despise people having any choices, want to further close the source and commercialize linux and give it unremoveable "branding", these people are the very antithesis of everything open-source stands for, and a clear and present danger to free software going forward.

Mate, you took the words right out of my mouth.
=>Commercialisation <==> Compartmentalisation <==> Capture<=

Worse it breeds bad code, with shallow assumptions, and rent seeking behaviours.
(sorry its a bit early for thinking smile

#32 Re: Desktop and Multimedia » Slim and build settings » 2017-07-08 15:26:42

fsmithred wrote:

I think I've seen those pages, but I wouldn't know how to find them.

I now have this one bookmarked:  https://git.devuan.org/devuan-packages

fsmithred wrote:

It looks like the latest version of slim we have is 1.3.6-5+devuan4 in jessie. There's a newer version in stretch - 1.3.6-5.1

I really think for this and probably anything before logins fully complete (!) we should be treating Debian like it has something contagious. (because it *has* )

Reference for sure, but sometimes its easier to start from proper upstream upstream or just belt what we have into health.

fsmithred wrote:

Specifically, I don't understand why apt complains that slim needs libpng12-0 when it's not listed in the control file.

Yes that is weird mine doesn't, but I have stuff from all over the place.
I will recheck this again tomorrow or something.

fsmithred wrote:

I agree with you that the theme should be in the slim package. There are lots of people who don't install desktop-base but do use a dm. ...

I think I see the objectives.
I don't see them having to be exclusive but is  be easier that way.
I change it anyway ;>

There is no longer (in the official packages version on gitlab) any themes at all in the debian directory.
The package still installs the *sources* default though.

see: /usr/share/slim/themes/default

mkdir themename
cp default/* themename/
cd themename
change to background image as a test.

find the theme line in /etc/slim.conf
add  yourname comma,separated
or just replace it...
days of fun smile
AND you get to keep the default and devuan-foo if it arrives
AND the task-thing will probably overwrite the conf file !
(but you will have a backup )
FWIW:
This task-thing is probably a sane idea.
Though it needs to be more carefully implemented !

The Devuan theme login can be assured  and consistently debugged.
The branding and art folks need only grok that world.
Users can flip or even randomise from /etc/slim.conf
(if they can admin it)

There are still issues with the config file IMHO all of them quite fixable.
e.g. The session list should be generated per install from the contents of /usr/share/xsessions
(this is not such an ask for pre-install scripts)
AND OR the "sessiondir"  should be set to that directory.
(then the user needs an easy way to set a default smile
Finally the example ~/.xsession should be tidied up and extended to catch dbus users and stuffed in doc/exampes or something, with a note in the config.

(actually it could go system wide in /etc/X11/xsession.d with a moderate amount of work.)

Today I tested the official _stable_ _jessie_ version it can be built without consolkit (or dbus) or even the screenlock thing and with pam only. I have not bothered to fight d1h and its idea of git . Geeze you name a branch zombie and it gets all toey smile

(or dpkg-buildpkg s)

It works fine here stripped down like that.

(which would reduce the deps list a little as well)
If it can't find the deps it just skips that functionality where possible.
(for consolekit and pam)

There is a toggle on pam in the CMakefile.txt that allows (1) the screenlocker.
So see the INSTALL but -DUSE_CONSOLEKIT=no -DUSE_PAM=yes  (check these)
No consolekit should mean no dbus as well.

#33 Re: Installation » SLiM - failed to execute login command - bug? » 2017-07-08 05:31:46

Thanks for that.
It not something I would have thought of.

#34 Re: DIY » Environment to port Debian (or other) to Devuan » 2017-07-08 05:11:15

Just a  passing and  thought:

ghaverla wrote:

But, going back to a Debian machine which had excess disk space, the 4.7 kernel which could do virtualbox is broken, and the upgrade to 4.9 kernels breaks the virtualbox that is available to jessie or jessie-backports.

I can't remeber how virtualbox works right now BUT :

If the use case is not about (emulating) architecture foreign to your systems  uname -m
try:
lxc  Linux Containers userspace tools

Its access to containers (like docker) but without the
corporate buy in ==> systemd etc

It pre-dates docker BTW.
I used to use that system for industrial strength
virtuals in my work. (with their own networks LAN and Public)

There is an entire suite of commandline tools
and *templates*,
which are not hard to bend into something else.

lxc + debootstrap  = almost anything linux you want.

People run ubuntu under debian and other "interesting" things.

They even work on RapberryPIs smile

Though sure, you _would_ want to be tight about that.

Think a chroot / jail  with its own network stack and process isolations.
Its more or less endless.

Then again you may know all this and have run screaming away in the past smile

Worth a thought though.
Not nearly so versions dependant.
2.8+ from my memory and most generic kernels will auto mount the namespaces etc.
(pfft when I was a boy ...)

#36 Re: Desktop and Multimedia » Slim and build settings » 2017-07-08 01:39:04

golinux wrote:

You said it didn't have anything to do with that package but I thought maybe it did.  wink   I have no idea how Centurion_Dan set slim  up at the 11th hour before the stable release. That's who has the answer though.

fsmithred wrote:

The error regarding libpng12-0 that was preventing installation from the repo is gone.

There is a potential problem. The version number you used is already taken. Looking at the changelog, it looks like you did not use the latest version, so there might be some changes that were lost. Although it looks like those changes involved removing the devuan theme and letting desktop-base handle it. I have no idea what should be done about that.

Quite happy to start again all the way from the original source if needs be.
I think I understand the concept of having desktop-base installing  the theme.
Please read on as it _will_ break, unless you turn Devuan into a desktop distro.

Thoughts though: (way toooo many)

    1/ I'm probably not _atypical_ in usually doing a minimal install and adding "stuff" as needed.
        *I still don't have desktop-base installed.*
        Though sure, I'm not a majority but Desktops are not required (yet).
        Which explains some confusions ?       
   
   2/ Is slim the default official X Display Manager ?
        I'd vote yes, but assume it is.
        I'm usually suspect of C++ (opacity) but this is clear enough to grep..
        (though WTF most of the header files are trying to say ?)

        In which case /usr/share/slim/themes  should be installed by slim
        and then slim itself Included (required) by one of  XFCE or desktop_base ?
         (or some daisy chain)
        That way default *Desktop* installs get xfce + slim in devuan themes.
        The rest of us get a devuan themed X DM which we can break or not.

         Its not an issue to leave options disabled in the slim.conf for more minimalist users.
         I have more or less done that already.
         Importantly the THEME file has to enable features otherwise "stuff" just doesn't happen.
         Breakages _may_ lead to no login or no choice of environment, which is DM's primary purpose.

  3/ This (my) fork of slim started as an experiment really.
      I forked from helliken as it seemed to be where most of the theme works was at.
      I have no cultural memory here !
      Which is probably why it works . <==  Hellikens worked !
     
    Which leads me to:

  4/ How would one choose which fork or _reliably_ tell  which is live from the gitlab site ?
      Is there a better place to nut this out ?
      Is that what the coloured Letter symbols mean ?
      I know there is IRC but thats not everyones TZ and is an excellent adjunct.

     Perhaps I missed some memo and sailed past some docs !
     Deployed packages discuss foo: url 

     ((( If anybody tells me to trawl IRC logs  and try to guess...
     I will /dev/random their favourite USB stick ! Twice
    From my super villain base on Europa.)))
     
    Sorry I stumbled into  _all_ of this from a *github* view of *gitlab*.
    (and little experience of git going upstream!)
    I was startled when d1h stole then ate my homework !
   
   Seems to me gitlab is a good place to centre package specific discussion.
   Not BUG reports but policy / design etc.
   Its probably written some place in 72point pink letters but I can not see it .

  5/ Meantime
     What I propose I do is something like:
     

apt-get source slim -t jessie 

     Fix that here and load that on gitlab. (after it all works here)
     Then blow away my current fork.
     
     .... Use that as a base then branch (via d1h dpkg-build ) to ascii

#37 Re: Desktop and Multimedia » Slim and build settings » 2017-07-07 17:13:50

The /etc/slim.conf file at the moment

https://git.devuan.org/PeteGozz/slim/bl … /slim.conf

The devuan-curve  theme file.
(which is set as default)

https://git.devuan.org/PeteGozz/slim/bl … slim.theme

This builds and installs with d1h as of now
Except for the gpg signing thing which ... later.

Tips for other new players::
  start off with d1h as soon as you can otherwise things roll back on you in all the noise.

#38 Re: Desktop and Multimedia » Slim and build settings » 2017-07-07 09:45:18

golinux wrote:

Progress . . . congrats. smile  Did you build it with the d1h?   Since those with access to the resources to package properly don't come here often, you'll need to contact them on #devuan-dev once you've got it ready to package for ascii.

OK it builds with d1h ...
e  v  e  n  t  u  a  l  l  y

All works OK as installed from  dpkg -i
with _its_ confs

Notes TODO etc.

However It still needs
   better visibility on F1  not hard at all
   Testing for caps lock etc

*** I need to grok why gpg  doesn't see my key , its probably something simple. ***

slim :
My own preferences would include:
  Dropping requirement for consolekit
  or dbus
       these can be run (if available) from the system xsession / xinitrd system
       per user ... but I guess that would be a bit radical smile

i.e. It should work with or without either of them.

Higher Priority for me:

Hack until the thing runs with other instances of X running
It silently fails if I am using :0 or any other "port" for X

Work out why some apps will launch from keyboard and not others when I use it to login

In any case these "ideas" are not for jessie   !

#39 Re: Desktop and Multimedia » Slim and build settings » 2017-07-07 04:37:27

golinux wrote:

Progress . . . congrats. smile  Did you build it with the d1h?   Since those with access to the resources to package properly don't come here often, you'll need to contact them on #devuan-dev once you've got it ready to package for ascii.

I'm just walking myself through all that now.
Its either that or / and install the ..../debian/patches myself and hope.

(which I don't think is a great idea)

However I think I have exposed some issue with the theme <=> config.
Essentially they must be kept in line with definitions for all "exposed" options.

I'm not totally sure yet, but w a l k i n g through the source seems to confirm this.

Anyway next bet is to build deb version and see how unbroken those patches make slim.
(an entire executable (screen locker) is suppressed  by those patches.)

... and C++ is not my favorite language .. must resist rewrite in C or erlang or perl or bash ;>

Also I have to merge to git.devuan as I branched here and ...  sigh ...
Its no biggy the web interface does not like it though smile

So sorry its taking a while to wrangle ME into this.

Finally I let ".ro"  badguys into my gateway box and have been sweeping that clean ....

Serves me right ! .. no never mind ...

This box quite safe and undisturbed smile

AND _this_ site was down ...
LOL

I need a lie down ! smile

#40 Re: Desktop and Multimedia » Slim and build settings » 2017-07-06 07:25:06

golinux wrote:

This is the version that the current purpy slim is built off of but the font colors and positioning are not quite right:
https://git.devuan.org/hellekin/slim/tr … vuan-curve

This is the correct slim.theme but I have no idea where it currently resides on git.  Package name is devuan-curve-purpy:

So far have confirmed from two fresh builds that
The following build config lets me login from DM whereas the devuan install does not.

1/ the above init hack is broken here ;> Well of course
2/This one is neater in any case

case $1 in
    start)
  #   if [ "$HEED_DEFAULT_DISPLAY_MANAGER" = "true" ] &&
  #      [ -e $DEFAULT_DISPLAY_MANAGER_FILE ] &&
  #      [ "$(cat $DEFAULT_DISPLAY_MANAGER_FILE)" != "$DAEMON" ]; then
  #      log_daemon_msg "Not starting $DESC ($NAME); it is not the default display manager." "$NAME"
  #   else
      log_daemon_msg "Starting $NAME" "$NAME"
      start-stop-daemon --start --quiet $SSD_START_ARGS
      log_end_msg $?
#    fi
  ;;

3/ have set up my own fork
    a/ for clarity sake
    b/ guess I will have to build a package at some point
        and that is best kept away from nice people. <-.->

https://git.devuan.org/PeteGozz/slim
Which should be set up to the jessie fork as default branch

4/ Builds fine :
With this wee script. (hidden by .gitignore)

#!/bin/bash
## -*- shell-script -*-

mkdir -v ./build ;
echo "$?"
cd build
pwd
echo -e "\nConfiguring cmake for PAM and CONSOLKIT\n"
sleep 3

cmake ../ -DUSE_CONSOLEKIT=yes -DUSE_PAM=yes

echo -e "\n\nCmake says :  $?\n "

make

####&& make install  by hand 
#eof

I have sussed how to use -p /to/them/dir
But haven't done any work beyond a nod to the theme .

Best plan is to "beatup" the themes  devuan-*
under debian and test that I suppose.

I'll reread the links smile

Bridges later and all

#41 Re: Desktop and Multimedia » Slim and build settings » 2017-07-06 05:27:21

Thanks
I will go get that one and try again smile

#42 Desktop and Multimedia » Slim and build settings » 2017-07-06 04:32:55

PeteGozz
Replies: 43

I will try to report this on git as well.

So I've noticed a few non jessie users lately, who have had a few issues with slim.
These are generally "solved" by installing lightdm instead of slim. (well so far)

Huge note here:
I have been using startx  or xinit directly to use a Window Manager rather than a Desktop.
Which means dbus is not so central or even consolekit .

In any case a simple fix is available by building slim with both pam and cksupport.
(from source of course).

I would also
    NOT require DBUS on boot (init file)
    simply launch a session dbus from the system xsession or some other default.

I know some would consider this a  GUI heresy and I really do think we should follow the "Rule Of Least Surprise" (especially for GUI only people.)

so from the source tree

mkdir build 
cd build  
cmake ../ -DUSE_PAM=yes  -DUSE_CONSOLEKIT=yes

Well it works for me with the default upstream theme at least.

OH for testing:
    this at the head of /etc/init.d/slim

#DAEMON=/usr/bin/slim
DAEMON=/usr/local/bin/slim

    and this wee quicky
    (hey I could have just skipped the test smile

 [ ! $(grep $DAEMON $DEFAULT_DISPLAY_MANAGER_FILE > /dev/null ); then
 #       [ "$(cat $DEFAULT_DISPLAY_MANAGER_FILE)" != "$DAEMON" ]; then

Now if a couple of other people would like to verify ....
git pull origin master
From https://git.devuan.org/devuan/slim
* branch            master     -> FETCH_HEAD
Already up-to-date.

I used that one as it looks like the top of the fork tree to me.

#43 Re: Other Issues » upgrading all machines on a LAN, and apt-cacher-ng » 2017-07-05 09:33:28

I gather you live in the Adelaide general region.
[ And it probably never gets cold there.  :-) ]

The Adelaide Hills , we do some high value rural stuff and cheese wine German style bakeries  etc ...
Or as I like to say we grow classy cold climate  hangovers.

Well it gets cold enough to kill ya,  but then, some people drown in baths.
It rarely snows, I have been here 25 years and it has snowed _here_ once.

Mt Lofty is an imaginatively named "peak" nearby, (I can see it a bit) does get snow on it most years.
The ski bunnies go nuts smile They normally have to travel 600Kms to get useful stuff.
You have to understand  that most of us have no idea of what a mountain actually looks like smile
Or snow, or large natural bodies of fresh water, or other humans. Other than that we are just like Canada !
Just a safer distance away from our generally nice neighbours.

apt-cacher-ng can serve mirrors if you need to.
At least to your own LAN.
You can daisy chain them if you want to.

One of my RapberryPis is now offsite as an excellent little  gamebox
for my daughters family.

The other I cling to just because I like ARM.

I have no idea how well it would work as a standalone NTP server.
Your ISP does not do this ?
Or is this a copper wire thing ?

So you would broadcast NTP on wireless ?
Sweet.

#44 Re: Hardware & System Configuration » asking howto config nameserver(s) w/ connman static eth0 » 2017-07-05 08:34:39

%% I have never used connman : %%
You probably have a working solution.
its probably /etc/resolv.conf you need to set ?
If NOT stop here :>

So Other
than seeing what :
ip r     says
and say ask the end point for a dns resolution

when it connects ($?)  and then set that address  into /etc/resolv.conf
approx...

domain yours
search yours.

nameserver ::1
nameserver yourproviders NS in dotted decimal here
nameserver 8.8.8.8

OR
exploit the up down calls  or manual types in /etc/interfaces
and fire up a script that does it for you.
UMmmm
Roughly

auto nicName22
iface nicName22 inet static
        address 10.1.1.32
        broadcast 10.1.1.127
        netmask 255.255.255.128
        network 10.1.1.0
        up /etc/network/localscripts/Resolver.bash up
        down /etc/network/localscripts/Resolver.bash down

So yeah these are non standard and could be some place else smile
These would write what YOU want in that file and maybe restore something else on interface down.
The options are optional and from my memory set in the calling environment in any case.

You could do similar when ever the connman daemon is restarted.

Whatever is easier or actually a sane solution for you.

Eventually, I guess you will need to tell routing where to go.

ip r add default via NICname

OR try dhclient yourInterface and hope smile

I have a rather over featured examples of that localscript "breakage"  here I can sanitise and post if needs be.

Use your own NIC names and addressing of course smile

#45 Re: DIY » automatic mac address spoofer » 2017-07-05 02:57:14

Thank you.
There is _much_ here that is useful and good smile

#46 Re: Desktop and Multimedia » New (ascii from jessie) install, mouse not working » 2017-07-03 17:49:44

Hey cool.
Happy 150th Canadian Cuzzes smile

Man 56 N that is insanely _way_ too close to any pole.
You guys must be born with glycol for blood or something.
I apologise for saying its cold. Its not even 0 smile
Its also windy here.
Been gusting up to 100kmh in some places.

Our state is running over on 60% (ish)  wind power right now.
But I diverge digress and disintegrate  smile
(and way off topic)

I re-learnt some stuff I should know better about and learnt some new stuff.
So if it was help then even better.

#47 Re: Desktop and Multimedia » New (ascii from jessie) install, mouse not working » 2017-07-03 16:30:00

glad it works now !
smile Yeah a place to call home is useful and nice thing smile

For future reference this seems a good drop in point for libinput.
I think I'm going to need it again.

https://wayland.freedesktop.org/libinpu … pages.html

#48 Re: Desktop and Multimedia » New (ascii from jessie) install, mouse not working » 2017-07-03 16:20:49

ghaverla wrote:

The mode on devtmpfs (searching /proc/mounts) is 755.  The permissions on /dev/input/mice is 660 for root/input.

This should not matter as Xorg accesses the devices for users.
With about 2000 qualifications it seems.

ghaverla wrote:

As I haven't tried actually logging in with that graphical GUI login screen, it is slim that is displaying it.  The input group has no members listed in /etc/group.

2 "engineering" moments there.
  1 By default its "slim" but as you migrated from Debian wheezy it could be whatever you had then.
  2 see the Xorg thought above.

ghaverla wrote:

I might have a 30-mouse.conf, but it would be residing in /usr/share (along with others).  As libinput originally was processing everything, it would seem that the /usr partition is being mounted early enough for all those x.conf.d snippets in /usr/share to get loaded.   There is however, no 30-mouse.conf (or any other mouse.conf) in /usr/share/X11/xorg.conf.d.  In /var/log/messages early on in this process, there was a line which suggested the USB mouse was being treated as PS/2.

30-mouse.conf should not be an issue. I just moved all of my /etc/X11/xorg.conf.d out of the way
and my X still works.   But please see the end of this.

ghaverla wrote:

I am going to stop at this point, as I need to get outside and cut some more hay with a scythe before the dew evaporates away.  I'll modify /etc/X11 to not load evdev and try this 30-mouse.conf.  Comment #5 not processed yet.

Thanks.

Its blowing a gale here at the moment and its winter and dark and _nasty_ .

Re: evdev
Dont change anything yet.

try installing slim
ok ? NO then
try lightdm
ok ? no ?
and then
xserver-xorg-legacy
man xwrapper.config

If that dont work  I give up, for now smile
see post #5

-----------------
next life stuff
-----------------

OK so I went on over to the Wayland (Freedesktop) sites. (and stuff)
libinput uses evdev.
Some of  the intention is that libinput is a common protocol for wayland and Xorg.

Its essentially "just" a method to exploit the kernels exported interfaces to hardware , under /dev

By plugging the Xserver or Wayland  into them.  It also speaks evdev. (well the kernel does and libinput sees that fine)

So I went right ahead and broke my X smile
By installing all of that libinput backend  into my system.
Permissions fails and stuff about systemd and lots of noise in the logs...
Nothing worked not even the vesa driver !
NOTE: most of it came from ceres (unstable)
So I guess its the brave new world or something.

Sooooo then ....

I "fixed" that  by installing xserver-xorg-legacy
Which goes back to a suid xorg (xorg runs as root)
AND you need to have a  Xwrapper.config
which  allows use of this dangerous beast.

You probably still have one from wheezy.

So the easy test for installing the xserver-xorg-legacy package would be:

You can startx  as root but not as a normal user.
Its worth it as a test in any case.
Which is more or less  in my previous post #5 come to think of it .

Now here is the thing:
If it all (mouse and keys)  works as root (startx)
AND you can not use keyboard OR login (at the display manager(GUI))

Then tail the logs all you like but I would think that switching login managers is worth a try at least.

There seem to be all sorts of loginkits and handy helper do dbus whatsits breaking insidiously  all over the place. These work fine on stable / jessie  but it can all get totally silly beyond that..

So you may need a  Display Manager that supports more than just pam or more than just loginkit.
I used to trust  /etc/X11/default-display-manager (which was just whatever was installed last)
slim used to work here but on stable / jessie . Try slim first.
Then (apparently) lightdm works as it knows about dbus loginkit and pam (it seems).

Or just don't use one at all.
startx or even  xinit -- :1     

(I dont use one anymore but not for the reasons here)

#49 Re: Installation » [SOLVED] Post Install Config Problems » 2017-07-03 06:58:10

bbatten wrote:

initramfs-tools emits bug message

This _may_ be as simple as /var/lib/initramfs-tools/   uuid records
   not being cleaned up
   by kernel installs/upgrades
  (as you roll your own)

I have been caught by that.

ls /var/lib/initramfs-tools/
ls /boot/init*

maybe a hand run:

1 [root@lenny]: /etc/apt/preferences.d$ update-initramfs -u
update-initramfs: Generating /boot/initrd.img-4.11.6-lenny
I: The initramfs will attempt to resume from /dev/sda3
I: (UUID=9e5238ff-0ece-4e6e-9039-e8952c42b3aa)
I: Set the RESUME variable to override this.

Which brings me to :

bbatten wrote:

Second, why is initramfs-tools being run in the first place? I

It will also be called whenever anything needs a:
    kernel __module__ new OR updated  (say ext* at least )
          certainly md or btrfs
          or a new blockdev label or uuid
  anything  that may upset grubs world. (yeah I know)
  X nonsense like vid drivers and evdev
  Or firmware updates. Busybox uclib etc.

On random Tuesdays  Full Moons ...

A lot has happened since wheezy so
I am surprised you only got this many issues !

#50 Re: Installation » [SOLVED] Post Install Config Problems » 2017-07-03 06:25:23

bbatten wrote:

network-manager ends up being installed

I don't know why this happened, but this and network-manager-gnome were both installed. My understanding is that 'upgrade' installs newest versions of currently installed packages while 'dist-upgrade' also installs dependencies. Doesn't seem that either of these should end up installing a package that's not currently installed.

dist-upgrade WILL install extra packages.

I'm guessing but its possibly because xfce => task-*-desktop  (something) pulls it in.
network-manager has a long rev depends list.

apt-cache showpkg network-manager-gnome

(there is probably a more elegant method)

If you can purge it without uninstalling half your system
then do that and try:
(you don't really need most desktop meta-packages any more)

/etc/apt/preferences.d/network-messwithya

that looks something like this:

Package: network-manager
Pin: release o=Debian
Pin-Priority: -15

Package: network-manager
Pin: release o=Devuan
Pin-Priority: -10

test with

$ apt-cache policy network-manager
it *should* report no candidates
e.g.

[root@lenny]: /etc/apt/preferences.d$ apt-cache policy network-manager
network-manager:
  Installed: (none)
  Candidate: (none)
  Version table:
     1.8.0-5 -10
        500 http://au.mirror.devuan.org/merged ceres/main i386 Packages
     1.6.2-3 -10
        500 http://auto.mirror.devuan.org/merged ascii/main i386 Packages
     0.9.10.0-7+devuan1 -10
        990 http://packages.devuan.org/devuan jessie/main i386 Packages
        990 http://auto.mirror.devuan.org/merged jessie/main i386 Packages

Then when I try to install:

[root@lenny]: /etc/apt/preferences.d$ apt-get install network-manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package network-manager is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

You _may_ have to do the same for gnome-network-manager
OR try a regex match

i.e. /network-manager/  *should* match any version.

(and if I were you I would do something similar for grub)

Board footer

Forum Software