The officially official Devuan Forum!

You are not logged in.

#1776 Installation » [Solved] Wicd 1.7.4 question » 2018-10-15 21:15:24

Altoid
Replies: 6

Hello:

I use the default Wicd 1.7.4 application in my Devuan ASCII installation.
It is, in my limited opinion, much better and easier to use than the network managers I have come across in other distributions.

I have now moved from sharing a wifi account with a neighbor on the same floor to an ADSL subscription of my own.
It costs me about the same and do not have to deal with interferences from other Wi-Fi setups in the building.

So I have set up Wicd to use the wired network as the default profile but would like Wi-Fi to be switched off and be able to switch it on should I want to instead of being switched on and be able to switch it off.

The thing is that switching it off holds only for the session and on reboot Wi-Fi is on again.

Unfortunately, the Wicd FAQ https://launchpad.net/wicd says nothing about this and asking a question there usually goes unanswered till it is dropped.
There seems to be very little work being done on Wicd and I rather fear for its future.

So: does anyone know how to change the start-up behaviour in Wicd?
ie: Wi-Fi Off instead of On. (it is not in Preferences).

Thanks in advance.

Cheers,

A.

#1777 Re: Installation » [Solved] Huge .xsession-errors file » 2018-10-15 16:49:29

Hello:

Hmm ...
Please check the thread, specifically my second post:

Altoid wrote:

WRT the .xsession-errors file, I found a solution to keep it in check here:

http://www.daniloaz.com/en/how-to-preve … huge-size/

It sets up a line in crontab to check every 15 minutes if the file size is greater than 5 GB and if so either empty it or keep the last 10,000 lines.
I set it for every 30 minutes and 1000 lines.

chris2be8's suggestion to chmod 755 /var/log/lost+found could not be easier to implement as it stops the error messages generated by conky by allowing it to access the file.
These error messages were the sole cause of the huge .xsession.errors bloat, so it seems to me that it is the simplest solution. (as always, YMMV)

The crontab solution you suggest controls the size of the .xsession.errors file but generates another set of logfile entries (three lines in auth.log instead of the single line in .xsession.errors we had before) every time conky tries to read the file (every 2 sec.), so it actually makes things worse.

The alternative to stop logging sudo access to auth.log (would not know how to do it) does not seem healthy.

In any case, I set it up because it is a good idea to keep the .xsession.errors file at bay, in my case at 30 minute intervals, a max of 2Gb and min of 1000 lines which would seem to be more than adequate.

Thanks for your input.

Cheers,

A.

#1778 Re: Installation » [Solved] Huge .xsession-errors file » 2018-10-13 16:13:20

Hello:

chris2be8 wrote:

Running chmod 755 /var/log/lost+found as root will allow all users to read /var/log/lost+found but not put anything in it.

Ahh ...
Interesting.

I thought it was a system file and as such belonged to root and root only.
Good to know.

Doing chmod 755 /var/log/lost+found would allow conky to read it without needing admin credentials ie: being included in a sudoers file.
And as such, it won't get logged in auth.log.
Neat.

chris2be8 wrote:

... lost+found is where fsck puts files it has recovered from a damaged filesystem so there is usually nothing in there.
... not worry about allowing read access to it unless I have sensitive data on the system that not all users should be able to read.

Nothing there that I should worry about.

I think it may also be worthwhile for the system to generate a separate /var/log/sudo.log file (editing /etc/sudoers).

Thanks you both (chris2be8 + fsmithred) for your input - learned new things today.

Best,

A.

#1779 Re: Installation » [Solved] Huge .xsession-errors file » 2018-10-13 15:13:18

Hello:

fsmithred wrote:

Conky runs as your user ...

I see ...

fsmithred wrote:

... so give your user sudo nopasswd for du ...

OK

fsmithred wrote:

... and change the command in conkyrc to

exec sudo du -sch /var/log

Make a file in /etc/sudoers.d/ with the following.

groucho ALL= NOPASSWD: /usr/bin/du

Fortunately I recently learned (here) how to properly generate a sudoers file.
Done.

Just to check:

groucho@devuan:~$ conky
conky: desktop window (1800003) is subwindow of root window (728)
conky: drawing to desktop window
conky: No compatible double buffer extension found
conky: drawing to single buffer

Now my .xsession-errors file will not get filled up with 18Gb of '/var/log/lost+found': Permission denied errors.

Edit:
This solution, neat and efficient, has nevertheless spawned another log overpopulation problem:

Every time

exec sudo du -sch /var/log

is run (every 2s), three lines get written to auth.log.   
This makes absolutely perfect sense as it's exactly what auth.log is for but it also means that auth.log will grow three times fraster than .xsession-errors grew. (!)

Oct 13 12:17:49 devuan sudo:  groucho : TTY=unknown ; PWD=/home/groucho ; USER=root ; COMMAND=/usr/bin/du -sch /var/log
Oct 13 12:17:49 devuan sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
Oct 13 12:17:49 devuan sudo: pam_unix(sudo:session): session closed for user root
--- snip ---

I think I may have seen a fix for this but I'll have to look and get back.

In the meanwhile, do you have any ideas as to how to cope with this?
I will temporarily go back to where I was before the fix to conky to keep log growth at bay.

Thanks in advance.

Best,

A.

#1780 Re: Installation » [Solved] Huge .xsession-errors file » 2018-10-12 22:58:19

Hello:

golinux wrote:

... .xsession-errors files much larger ...
... stuffed with ~250 GB so that file isn't a noticeable blip.

Indeed.  =-)

golinux wrote:

It is possible to open those logs.  Just change the encoding.

Don't know how to do that, it is a problem when I wanted to open some (not all) log files with mousepad.
But I can read them with the Log Viewer.

I have had problems opening up huge files (very slow) even though my rig holds 8Gb. RAM.

WRT the .xsession-errors file, I found a solution to keep it in check here:

http://www.daniloaz.com/en/how-to-preve … huge-size/

It sets up a line in crontab to check every 15 minutes if the file size is greater than 5 GB and if so either empty it or keep the last 10,000 lines.
I set it for every 30 minutes and 1000 lines.

Once I emptied the .xsession-errors file, I found that it was getting a Gtx error every so often about not being able to load the ATK bridge, which I fixed by installing libatk-adaptor.
Found that solution here: https://dev1galaxy.org/viewtopic.php?id=1815 -->  =-)

But what really eats up room in the .xsession-errors file is this line, constantly written up:

du: cannot read directory '/var/log/lost+found': Permission denied
du: cannot read directory '/var/log/lost+found': Permission denied
du: cannot read directory '/var/log/lost+found': Permission denied
--- snip ---

But I know where it comes from:

groucho@devuan:~$ conky
conky: desktop window (1600003) is subwindow of root window (728)
conky: drawing to desktop window
conky: No compatible double buffer extension found
conky: drawing to single buffer
du: cannot read directory '/var/log/lost+found': Permission denied
du: cannot read directory '/var/log/lost+found': Permission denied
du: cannot read directory '/var/log/lost+found': Permission denied
du: cannot read directory '/var/log/lost+found': Permission denied
du: cannot read directory '/var/log/lost+found': Permission denied
du: cannot read directory '/var/log/lost+found': Permission denied
--- snip ---

My conky.conf file is set up so I can see the evolution of my disk usage (/, /home and /var/log), and /var/log usage is checked with this line ...

/var/log ${exec du -sch /var/log | head -n1 | awk '{print $1}'}
${fs_bar /var/log}

... so every time that conky takes a reading, it generates an error message that gets logged in the .xsession-errors file.
No wonder it was huge, conky reads every 2s.   

So the question would be:

How can I get conky to be able to read lost+found?
This would need admin credentials for conky, which does not sound healthy.
And conky is not really a user, so I don't think it could be added to sudoers.

Maybe get the Xserver to not log this specific error?

Any ideas?

Thanks in advance.

A.

#1781 Installation » [Solved] Huge .xsession-errors file » 2018-10-12 21:46:15

Altoid
Replies: 8

Hello:

Some time ago I took notice that my /home folder usage had grown to over 75%.
It seemed too much but then I realised that I had not done any cleaning in my /home/Downloads folder, so I did a thorough cleaning and sent what I (suppose) will/may need to another drive.

My cleaning got me to around 53% but it still seemed too much as the whole /home partition is 45Gb.

I went looking for a disk usage app and remembered Baobab from my days playing with Mint but saw that the beast wants to drag in all its relatives and friends into my rig so I skipped that one.

Then I remembered du, which I ran as root so it would look everywhere:

[root@devuan groucho]# du -a /home | sort -n -r | head -n 100
24834420	/home
24834400	/home/groucho
16401024	/home/groucho/.xsession-errors
6549156	/home/groucho/VirtualBox VMs
6549152	/home/groucho/VirtualBox VMs/groucho xp
6548676	/home/groucho/VirtualBox VMs/groucho xp/groucho xp-disk1.vmdk
842040	/home/groucho/vmshared
482676	/home/groucho/.wine
480524	/home/groucho/.wine/drive_c
439036	/home/groucho/.wine/drive_c/PMAIL
[root@devuan groucho]# 

And this is when I came upon the 16.4Gb .xsession-errors file.

So I got emptied it completely, no way I could open it with Log Viewer to see what was up.

groucho@devuan:~$ >~/.xsession-errors
groucho@devuan:~$ 

Now my /home folder just takes up 18%.

But I wonder: shouldn't this be getting rotated, zipped and eventually deleted past a certain time?

Thanks in advance.

A.

#1782 Re: Installation » Request for package » 2018-10-12 20:55:57

Hello:

fsmithred wrote:

... in the .deb package is not enough to recompile. You need the source code to do that.

That I have from Git.

fsmithred wrote:

... run barry in an old version of debian in a virtual machine.

Hmm ...
Thought of that too, but it's more or less the same as what I have now.

I tried doing Alien on an .rpm but on installation I got some problem in a libbarry18 (?) library.
I think that is the point where the original maintainer/developer gave up.

Thanks for your input.

Cheers,

A.

#1783 Re: Installation » Request for package » 2018-10-12 16:42:32

Hello:

fsmithred wrote:

You could try compiling it for ascii.

I sort of toyed with the idea before I realised it was way over my head.

fsmithred wrote:

Get the source either from the page you linked or get a slightly newer upstream source from https://sourceforge.net/projects/barry

I have the code that came with the *.deb I once downloaded.

fsmithred wrote:

But it looks like the project didn't continue ...

Yes.
It seems to have been abandoned.

I once contacted the developer/maintainer/website and at first it seemed that something would happen, maybe just the necessary update so that it would be useful again.
But that did not go through.

Blackberry Desktop was only available under MSWindows and unbelievably did not have an address book, so you were stuck with syncing to POS Outlook Express and nothing else.

The grace of this very simple Barry Desktop app was that you could download -> edit/modify -> upload/sync the address book/contact information and even make a backup under Linux.
Maybe that was the reason it was dumped?

I recall that there were a set of libraries (OpenSync?) that stopped working at some time so that was a problem for some part of the app, but the download -> edit/modify -> upload/sync for the addrerss book worked fine.

Edit: (5' and some memory juggling later)
I now recall that the problem was with the syncing libraries due to the demise of the OpenSync framework (or something to that effect).
But you could browse, modify and save the contact database to the unit as well as make a backup so it was really very useful.

I don't get it ...
My trusty Palm IIIxe is still running strong and if anything breaks or I happen to lose it, I have an extra one + a box of full spare parts to put one together in under 20' if needed, just need 2xAAAs.

And j-Pilot is mature and still going strong at v1.8.2 with a great following.

As for the 9320 Curve, I just cleaned up three years worth of grime and replaced the case.
Good as new.

But it seems that I'm stuck with doing the XP/OE/BBD dance in my Devuan VBox.

Thanks for your input. 

A.

#1784 Installation » Request for package » 2018-10-10 19:42:44

Altoid
Replies: 4

Hello:

Is there a protocol/place for requesting a package update?

I am in need of a .deb application called barrydesktop, last seen in https://packages.debian.org/wheezy/barrydesktop.

---
Package barrydesktop

wheezy (oldoldstable) (utils): Desktop Panel GUI for the RIM BlackBerry Handheld
0.18.3-5: amd64 armel armhf i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 s390x sparc
---

Just to see if, I tried installing it (in Devuan ASCII) but it seems that there is a dependency not satisfiable problem with a library called libbarry18.

Attempting to install libbarry18 on it's own brings forth another dependency not satisfiable problem with libglibmm-2.4-1c2a [>=2.31.22] which seems to be a more serious matter: on attempting to install it brings up that it would break an existing package (libglibmm-2.4-1v5) so that is that.   

At a loss as to what to do now.

Thanks in advance.

A.

#1785 Desktop and Multimedia » Xfce forum down? » 2018-09-29 23:03:28

Altoid
Replies: 4

Hello:

I have not been able to access the Xfce forum since 20180927.
https://forum.xfce.org

Anyone else in the same predicament?

Thanks in advance.

A.

#1786 Installation » X server configuration - Unresolved symbol warning in Xorg.0.log » 2018-09-25 12:21:01

Altoid
Replies: 0

Hello:

I had been looking at my Xorg.0.log file to see about weeding out a problem I have.
Before I got down to that specific issue, I checked some (WW) entries that I thought could be easily fixed.

groucho@devuan:~$ cat /var/log/Xorg.0.log | grep WW
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    32.572] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    32.592] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    32.592] (WW) Disabling Keyboard0
[    32.592] (WW) Disabling Mouse0
[    34.150] (WW) Unresolved symbol: fbGetGCPrivateKey
[    34.223] (WW) NVIDIA: The Composite and Xinerama extensions are both enabled, which
[    34.223] (WW) NVIDIA:     is an unsupported configuration.  The driver will continue
[    34.223] (WW) NVIDIA:     to load, but may behave strangely.
[    34.223] (WW) NVIDIA: Xinerama is enabled, so RandR has likely been disabled by the
[    34.223] (WW) NVIDIA:     X server.
[    36.666] (WW) NVIDIA(0): Not registering RandR
[    36.736] (WW) NVIDIA(1): Not registering RandR
[    36.860] (WW) NVIDIA(2): Not registering RandR
groucho@devuan:~$ 

Of all of them, the last ones from [34.223] on, regarding Composite, Xinerama and RandR were accounted for and their origin known as they are properly documented in the xorg.0.log.

This one ...

[    32.572] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.

... was solved here.

These two ...

[    32.592] (WW) Disabling Keyboard0
[    32.592] (WW) Disabling Mouse0

... were solved by editing xorg.conf.

1.  by removing the InputDevice definitions in the "ServerLayout" Section.

Section "ServerLayout"
    Identifier     "layout0"
    Screen      0  "ScreenLeft" LeftOf "ScreenCenter"
    Screen      1  "ScreenCenter" 0 0
    Screen      2  "ScreenRight" RightOf "ScreenCenter"
#  InputDevice    "Keyboard0" "CoreKeyboard"
#  InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "1"
EndSection

2. by removing the respective "InputDevice" sections. (completely removed, an "InputDevice" section cannot exist in xorg.conf if it is empty.)

#Section "InputDevice"
# generated from default
# Identifier     "Keyboard0"
# Driver         "libinput"
#EndSection

#Section "InputDevice"
# generated from default
#    Identifier     "Mouse0"
#    Driver         "libinput"
#    Option         "Protocol" "auto"
#    Option         "Emulate3Buttons" "no"
#    Option         "ZAxisMapping" "4 5"
#EndSection

This is because the default settings for "AutoAddDevices" and "AutoEnableDevices" in the "ServerFlags" section are "True" so there is no need for any InputDevice definitions in the xorg.conf file unless there is a specific reasson to do so. ie: the Xserver having problems detecting some hardware ie: touchpads, pen tablets or other input devices.

The perils of doing copy+paste from web examples of xorg.conf are quite evident here.  :^ /
They are usually not very well explained and many times out of date. ie: for previous versions of Xserver.

The remaining (WW) entry in the log file is this one:

[    34.150] (WW) Unresolved symbol: fbGetGCPrivateKey

I'm running a fully up to date Devuan ASCII with two NVidia cards for three monitors and using proprietary drivers.

I have searched all over the web and have found a great deal on posts/instances in which this same error is cited (as an entry in a
Xorg.0.log file) but not specifically and I have not been able to find out why it is there and if has some significance.

After all, it is labelled as a warning ie: (WW).

It seems to be innocuous as my NVidia cards are working properly (save for an artifacts issue reserved for another post).

I'd appreciate if someone could give me some insight on this.

Thanks in advance.

A.

#1787 Re: Installation » [Solved] X server configuration - FontPath » 2018-09-24 15:18:08

Hello:

Thanks for the fast reply. :^ )

ralph.ronnquist wrote:

... default font path is compiled into "the actual server" binary, /usr/lib/xorg/Xorg ...

I see.
I would have thought it was read from 'somewhere' in the filesystem.

ralph.ronnquist wrote:

... path is simply a null terminated string
... not for the faint-hearted to edit a binary.

Not to mention that the issue would rise once again on an update of said binary.

ralph.ronnquist wrote:

... easier to avoid the warning ...

Done.
Not what I sought to do but it works.

groucho@devuan:~$ cat /var/log/Xorg.0.log | grep -i ww
[   509.446] xorg-server 2:1.19.2-1+deb9u2 (https://www.debian.org/support) 
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   509.447] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   509.447] (WW) Disabling Keyboard0
[   509.447] (WW) Disabling Mouse0
[   509.500] (WW) Unresolved symbol: fbGetGCPrivateKey
[   509.500] (WW) NVIDIA: The Composite and Xinerama extensions are both enabled, which
[   509.500] (WW) NVIDIA:     is an unsupported configuration.  The driver will continue
[   509.500] (WW) NVIDIA:     to load, but may behave strangely.
[   509.500] (WW) NVIDIA: Xinerama is enabled, so RandR has likely been disabled by the
[   509.500] (WW) NVIDIA:     X server.
[   510.975] (WW) NVIDIA(0): Not registering RandR
[   511.046] (WW) NVIDIA(1): Not registering RandR
[   511.174] (WW) NVIDIA(2): Not registering RandR
groucho@devuan:~$
groucho@devuan:~$ cat /var/log/Xorg.0.log | grep fonts
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/cyrillic,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
groucho@devuan:~$ 
ralph.ronnquist wrote:

... just have a quick sideways glance at the cat ...

Nah !

I fully agree that the warning is indeed harmless.
But I am one of those people that opine that if the warning is there, it is because whoever wrote the routine thought it best to put it there and label it as a warning (WW) and not as default setting (==), for example. So it should be taken care of.

These things are like dust: harmless but eventually they pile up too high and then they clog up something.

We're always bitching when some routine goes south and there's no indication of what went on.

Thanks for your input.

Cheers,

A.

#1788 Installation » [Solved] X server configuration - FontPath » 2018-09-24 12:03:57

Altoid
Replies: 2

Hello:

I have been looking at my Xorg.0.log file to see about weeding out a problem I have.
Before I get down to that specific issue, I'd like to check some (WW) entries that can probably be easily fixed.

groucho@devuan:~$ cat /var/log/Xorg.0.log | grep WW
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    32.572] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    32.592] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    32.592] (WW) Disabling Keyboard0
[    32.592] (WW) Disabling Mouse0
[    34.150] (WW) Unresolved symbol: fbGetGCPrivateKey
[    34.223] (WW) NVIDIA: The Composite and Xinerama extensions are both enabled, which
[    34.223] (WW) NVIDIA:     is an unsupported configuration.  The driver will continue
[    34.223] (WW) NVIDIA:     to load, but may behave strangely.
[    34.223] (WW) NVIDIA: Xinerama is enabled, so RandR has likely been disabled by the
[    34.223] (WW) NVIDIA:     X server.
[    36.666] (WW) NVIDIA(0): Not registering RandR
[    36.736] (WW) NVIDIA(1): Not registering RandR
[    36.860] (WW) NVIDIA(2): Not registering RandR
groucho@devuan:~$ 

Of all of them, the last ones from [34.223] on, regarding Composite, Xinerama and RandR are accounted for and their origin known.

The first one I'd like to tackle is this one:

[    32.572] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.

My xorg.conf file does not have a "File" Section where the FontPath entries would be.
eg:

Section "Files"
FontPath /usr/share/fonts/X11/misc,
FontPath /usr/share/fonts/X11/100dpi/:unscaled,
FontPath /usr/share/fonts/X11/75dpi/:unscaled,
FontPath /usr/share/fonts/X11/Type1,
FontPath /usr/share/fonts/X11/100dpi,
FontPath /usr/share/fonts/X11/75dpi,
EndSection

I could add it but I'd rather keep the file as slim as possible and use it only for the stuff the server cannot handle on its own.
eg: my three monitor/two card setup.

So the question at hand is this:

Where does the X server get the FontPath to read from and then print that /usr/share/fonts/X11/cyrillic does not exist?
If I can tell the X server not to look for it, the problem is solved.

It is not installed and installing it to fix the log entry does not make sense as I have no need for cyrilic fonts.
And I'd rather find out how it works.  :^ )

I have looked all over but have not been able to find info on that.

Thanks in advance

A.

#1789 Re: Desktop and Multimedia » [SOLVED] Nvidia error at boot » 2018-09-19 21:55:16

Hello:

adant wrote:

... found this forum and registered to add this ...

Welcome and thank you. :-)

adant wrote:

... 3, different, amd64 machines all running "ascii" ...
... non-free nvidia drivers.
... three have different nvidia cards.

OK.
Nice sampling.

adant wrote:

... generate the error described above:
[time] udevd[xx]: Error running install command for nvidia

Seems something common then?

adant wrote:

... ascii on all three ...
... switched 2 of them from Mint because ...

I went Ubunbtu -> Mint --> CrunchBang --> PCLinuxOS, allways two at the same time and got here for the same reasons with the exception of # ! which Newborough (developer) gave up on. 

So I plan to stay here for the long run.

adant wrote:

... alll 3 machines work great, video works fine.

Same here.

But there's a problem at boot time, right before the desktop comes up: on two of my three monitors I get artifacts made up of a sort checkerboard type design in black, grey and white square/rectangular portions of different sizes which last a few seconds.

Apparently no big deal but it is rather annoying.

I think it is (?) a problem with the package or the driver version used in the package because I did not get them (error in dmesg or artifacts) when I ran PCLinuxOS on this same rig. ie: exactly the same hardware but using Mate instead of Xfce.

Do you get any artifacts like the ones I am attempting to describe?
Maybe it's an issue due to the three monitor setup?

adant wrote:

... how to remove the erroneous error reported in dmesg, but it looks like we are not their yet smile

Ideally it would be good to know the origin of the error and act upon that.

Thank you very much for your input.

Cheers,

A.

#1790 Re: Installation » Firefox 60.2.0esr - Rollback » 2018-09-14 22:45:36

Hello:

siva wrote:

... humor me for a minute, what about Quantum did you dislike?

Sure ...  =-)

siva wrote:

Was it only the UI?

[humour mode]
More than anything, the UI.

The new absolutely unneeded dancing dots and progress line that show as a page is loading.
I mean, WTF?

And then there's this new way the drop-down folders in the menu bar open to the right and only to the right.
There have been many complaints about this last one on the web and the proposed solution actually was to edit all your bookmarks so they will be shorter and thus not go off the screen (on to the next one in my case).
Really?

I tell you, whoever is in charge of the Firefox UI design does not seem to be the brightest lightbulb in the room.

Then there's the addons I lost, so I'll wait to see what happens and eventually (if things don't get straightened out) see about using another browser.

I have not lost hope but I won't be holding my breath.
How long did it take the Mozilla crew to realise that those damn 'rounded borders' were crap?
[/humour mode]

Cheers,

A.

#1791 Re: Installation » Firefox 60.2.0esr - Rollback » 2018-09-14 22:24:23

Hello:

KatolaZ wrote:

... instead of using third-party stuff, why don't you just get the packages from the Debian repo?

Well ...

1.

OP wrote:

... run them to see which version was the last before these guys screwed up ...

2.
Once I found out that the one I wanted was Firefox-55.0.glibc2.3.4-x86_64, I went looking for it but the repo jumps from 52.9 to 60.4.

That's about it.

Cheers,

A.

#1792 Re: Installation » Firefox 60.2.0esr - Rollback » 2018-09-14 10:34:33

Hello:

Thanks for the fast reply.

fsmithred wrote:

... just download the package and install it.

OK.

fsmithred wrote:

... a copy of the package in /var/cache/apt/archives/.

No, it's not one of the packages there.
Must have cleaned up recently.

I've downloaded a few of the available AppImage files from bintray.com and run them to see which version was the last before these guys screwed up the interface (more than they already had).

You just download it to a suitable place in you /home folder, make it executable and start it.
It picks up all your settings.

Running one of these *.AppImage files may be even better than installing the application., I have to check how that can be done.

In case anyone else is interested, the version without the improvements to the interface is Firefox-55.0.glibc2.3.4-x86_64.AppImage.
From then on ...   : ^/

Thanks for your input.

Cheers,

A.

#1793 Installation » Firefox 60.2.0esr - Rollback » 2018-09-13 22:13:11

Altoid
Replies: 8

Hello:

On Fri Sep  7 22:18:12 2018 I upgraded firefox-esr (52.9.0esr-1~deb9u1) to 60.2.0esr-1~deb9u2, something I deeply regret.

I'd like to rollback to the previous version firefox-esr (52.9.0esr-1~deb9u1) or maybe something in-between and pin it.
60.2 is a POS interface wise.

Just what are these guys at Mozilla thinking?

How can I do this without screwing up my installation?
Is it OK to just fetch the package from the Debian repos and install it?

Thanks in advance,

A.

#1794 Re: Installation » Intel Management Engine module in Devuan ASCII » 2018-09-07 16:00:36

Hello:

thezeit wrote:

... Coreboot needs to become the norm for more systems.

No ...
Coreboot needs to become the norm for all systems.

My Sun Microsystems Ultra24 came out with a flawed BIOS, to the extent that it reports itself as a  portable system.
The last (very hard to obtain) BIOS upgrade put out by Sun in the midst of it's gobble up by Oracle was held hostage and did not address this issue which is negligible if you compare it to a severe shutdown issue it has.

groucho@devuan:~$ inxi -Fzx
System:    Host: devuan Kernel: 4.9.0-8-amd64 x86_64 (64 bit gcc: 6.3.0) Desktop: Xfce 4.12.3 (Gtk 2.24.30)
           Distro: Devuan GNU/Linux ascii
Machine:   Device: portable System: Sun Microsystems product: Ultra 24 v: 0.00.01
           Mobo: Sun Microsystems model: Ultra 24 v: 50 BIOS: American Megatrends v: 1.56 date: 01/21/2011

The people who valiantly undertake making Coreboot barely have time and resources for today's boards and then for only a fraction of what is available.
Coreboot should be an industry norm.

thezeit wrote:

Blanking the Intel ME at boot (like they are) seems like the bigger hammer to neutralize Intel problems.

Of course.

thezeit wrote:

... wanted to Coreboot but he put that on pause when he realized he could brick the boards.

Unless you have a sure-fire way of recovering from a failed BIOS flash, you have to assume that you will brick it.
There's many of us in that boat.

Cheers,

A.

#1795 Re: Installation » Login problem - no mouse or keyboard » 2018-09-04 17:18:47

Hello:

OP wrote:

... pour over the release notes in detail tonight or tomorrow morn ...

I've checked the release notes.
In particular, the part that refers to "Session management and policykit backends"

I was able to verify that my installation complies with all the requirements ie: the "recommended default
combination of login manager (either slim or lightdm) and session management system
."

As to "Starting X from a console (TTY)", although I was being able to do it in the manner described ...  (in spite of having consolekit and not elogind installed)

OP wrote:

If from the grub screen I hit 'e' and add a 1 to the end of the command line and then, instead of logging in as root, I continue with the boot process ie: with ctrl-d I can do startx and get a perfectly working desktop.

... it was with the Shutdown and Restart options being greyed out, probably the effect of not having elogind installed.(?)

So I just in case, to comply with the Release Notes requisites, I installed SLiM (which I had previously removed) and reinstalled consolekit, in case it had become mucked up somehow.

The consequence was that the working desktop described above recovered the ability to Shutdown and Restart from the panel. =-)

Afterwards, looking closely at the screen output for a few reboot cycles made me aware of an issue regarding one of the services I had not been able to start.
The thread can be read here

It turns out that the service checkroot-bootclean.sh was failing to execute properly and, not seeing anything else that could have been giving me trouble, I went for it.

Being a script that apparently runs at boot and then exits (?) does not seem like a service to me, it looks more like what it is: a start up script.
No wonder querying it with service --status-all | grep -i checkroot- did not list it as running and me making a fuss over that.
Shouldn't there be a Script Starting Service with a list of scripts to check as needed?

But I digress ...
The fact was that it was being executed at boot and it was failing.

The graphical interface for Services was of no help whatsoever so I looked for the script and edited the .sh in the name. ie: *.sh -> *.old and rebooted.

Sure enough: it was the culprit.
Now I had recovered a fully working desktop.

Which meant that apparently, apt-get clean and apt-get autoclean were not at fault.
At least not this time.

But I was still getting boot time warnings about the bootclean script failing albeit with no apparent ill effects.

I tried to use chkconfig to sort that out, but could not find it: it seems to have been dropped from ASCII (I clearly recall using it in Jesse).

Then I found out about update-rc.d, which was installed.
I thought using it would clean things up for me and that would be it.

So I did update-rc.d -f /etc/init.d/checkroot-bootclean.sh remove but doing so left me without any screen output.  =^/

At that point this whole thing was getting old and I was needing my dose of espresso so I decided to take the easy way out.
But I'm not too happy about that.

I went to my Timeshift folder and recovered all the rcX.d folders in /etc from last saturday's snapshot and after renaming the existing ones as rcX.old, copied the backed up versions over to /etc and that was that

Things seem to be back to normal, whatever that is in this installation.

But I'd like to ask a couple of questions, if I may:

1. did I use update-rc.d correctly?
2. was it the proper approach to the problem at hand? ie: to clear out a script that I wanted to stop being run.
3. why can't the script be stopped with the graphical interface  ie: Applications -> System -> Services = [service]

Thanks in advance.

Cheers,

A.

#1796 Re: Installation » Services start issue » 2018-09-03 23:53:46

Hello:

ralph.ronnquist wrote:

Almost exactly right ...
... with three different ways of ending a line ..
... line ending are characters within the files ...

Learned quite a few things today. =^)
Thank you.

Now, off to see if I can find out how to recover my Devuan installtion from whatever apt-get clean and apt-get autoclean (apparently) did to it.

Cheers,

A.

#1797 Re: Installation » Services start issue » 2018-09-03 23:01:01

Hello:

ralph.ronnquist wrote:

A "newline" is a character at the end of a line, and it belongs to the text of the line in the same way as space characters belong to the line, but it also is a separator between lines in the way space characters are separators between words.

I see ...
Sort of like what was once known as (this dates me) CR or 'carriage return'.
Typing machines and telex terminals from long ago.

ralph.ronnquist wrote:

For visudo (and sudo, I guess) the (last) line must have a terminating newline.

OK.

ralph.ronnquist wrote:

Many editors though don't show much different for that last newline being there or not, and some editors (like vi) even force a final newline.
Presumably the editor, jed(?), that you used, lets you end the last line without a newline character.

OK.

ralph.ronnquist wrote:

You can check that by making a one-line file, say xxxx.txt without entering a final newline, and then view it by cat xxxx.txt, which will show the text content of the file, and then, if the final newline is missing, the next command prompt becomes joined up on the same line.

Indeed ...  =-)

groucho@devuan:~$ cat nonewline.txt
this is a test file made with jed without a final new_linegroucho@devuan:~$
groucho@devuan:~$ cat newline.txt
this is a test file made with jed with a final new_line 
groucho@devuan:~$ 
ralph.ronnquist wrote:

... configuration file problem was that the first one-liner didn't have the terminating newline, and therefore visudo complained.

Yes.
But in a very ambiguous manner.
Why not just print "new line character missing"?

ralph.ronnquist wrote:

As you added the % character to the beginning, you also happened to get a terminating newline, presumably because you then edited the file with a different editor (eg through visudo). The fix was due to that newline, and adding the % character "merely" changed the semantics of the line.

Exactly as you say:

1.
edit user_linssid

groucho ALL=(ALL) NOPASSWD:/usr/bin/linssid[cr]  <- this [cr] is the 'new line' character and % is edited out

2. Check with visudo -c

[root@devuan groucho]# visudo -c
/etc/sudoers: parsed OK
/etc/sudoers.d/README: parsed OK
/etc/sudoers.d/user_dmesg: parsed OK
/etc/sudoers.d/user_linssid: parsed OK
/etc/sudoers.d/user_shutdown: parsed OK
[root@devuan groucho]# 

Thank you very much for taking the time to explain this to me.
Much obliged.

Now I'm confident I'll be able to write files for /etc/sudoers.d/ as needed.

Cheers,

A.

#1798 Re: Installation » Login problem - no mouse or keyboard » 2018-09-03 21:40:10

Hello:

golinux wrote:

I suspect that autoclean might not take eudev and our customized backend options into its equation.

I see ...
And how was I to know that ...

golinux wrote:

Make sure you have the backend compatible with your DE installed.

I have a stock-out-of-the-box Devuan ASCII that began as Jessie. 
Xfce and the rest came with it, nothing fancy save for the non-free Nvidia legacy 340 drivers.

golinux wrote:

And ALWAYS check what is going to be nuked BEFORE you hit enter.  wink

Sure ...
But apt did not give me/print ou any data or warnings related to what was being nuked that I could check or heed.
I can be reckless but (I think ...) I'm a few years past being dumb.   ;^D!

In any case, if I trust apt-get update, apt-get install, apt-get upgrade and apt-get dist-upgrade to do things properly and not screw up anything, it stands to reason that I should be able to trust apt-get clean, apt-get autoclean and apt-get autoremove to also do things properly.
 
I'll call it the TTAG (Transitive Trust Apt-Get) theory, which unfortunately has not stood up to peer scrutiny. LOL!!!

golinux wrote:

Read the release notes.

I'll pour over the release notes in detail tonight or tomorrow morn, but in the meantime I really need to recover from this unfortunate blunder.

Any suggestions as to how I can go about it?
Any additional info you need to be able to appraise the situation?

Thanks in advance,

A.

#1799 Installation » Login problem - no mouse or keyboard » 2018-09-03 21:02:46

Altoid
Replies: 3

Hello:

After running apt-get clean && apt-get autoclean and rebooting I was left with a totally unresponsive mouse and keyboard.
The only way out is a hard reboot.

The exact same situation repeats itself if I boot into recovery mode and try to do startx as root: I get a desktop with a totally unresponsive mouse and keyboard and needing a hard reboot to get out.

But ...

If from the grub screen I hit 'e' and add a 1 to the end of the command line and then, instead of logging in as root, I continue with the boot process ie: with ctrl-d I can do startx and get a perfectly working desktop.

This same thing (yes, I never learn) happened to me with another distribution but only now realise that is is/may be related to running apt-get clean && apt-get autoclean.

Thinking it was a initscript problem, I reinstalled the package but no cigar.
Same with xfce. I even uninstalled SLiM with the same result.

Is it possible that running apt-get clean && apt-get autoclean has cleaned in excess?
Is there a log for apt?

Running apt-get check says everything is OK, so apparently nothing is broken. (?)

There is one noticeable difference in this desktop: Shutdown and Restart options are greyed out.
Only Log Out is available as the only user in this installation.

So I have to do sudo shutdown from a terminal but it asks me for the admin PW.

Any ideas as to what I may have mucked up now?  :^,

Thanks in advance.

A.

#1800 Re: Installation » Services start issue » 2018-09-03 16:06:20

Hello:

fsmithred wrote:

... you create a user, there is a corresponding group of the same name created, and that is the primary group for the user.

I see ...
Now user groucho in group groucho makes all the sense to me.
Thank you for taking the time to explain that.  =-)

fsmithred wrote:

... configured in /etc/adduser.conf. (I think if you add your user with 'useradd' instead of 'adduser' you won't get that behavior and will have to define group, shell, home and whatever else yourself.) Sudo will not be confused by this.

OK.
Good to know.

And yes, I've very recently had to fix a cock-up and adduser groucho:groucho was what I used.
Almost locked myself out.

fsmithred wrote:

The % before sudo in /etc/sudoers is to identify sudo as a group.
Groups are prefaced with %. (See man sudoers)

Yes, that I saw.
And since I am the only user in group groucho ...

fsmithred wrote:

I just want the user to be able to use sudo for some (inocuous) commands
The rest, run with su.

... get your user out of the sudo group ...
... more than shutdown commands available, add those other commands to sudoers.d/user_shutdown.
(The name is just a name - what's inside the file determines what it does.)

OK. Now I have learned how to do that.

fsmithred wrote:

deluser groucho sudo will remove the user groucho from the sudo group.
If you want the user to enter a password for sudo, then remove NOPASSWD: from the line in user_shutdown.

OK.

fsmithred wrote:

I don't know why smartmontools won't start from command line, but I'm sure there's a good reason for it.
You can still use smartctl on the command line - it doesn't need to be running as a service for that.
If you want it to run tests automatically and/or notify you by email if there's a problem, then you need to turn it on in /etc/default/smartmontools and configure /etc/smartd.conf to do what you want.

smartmontools, sudo service and chkroot-bootclean won't start from the CLI or from the user interface.
I have not tried other unstarted services or stopping any already started service to check how far this behavious goes.

fsmithred wrote:

... were probably using ext2 filesystems, which are not journaled and take a lot longer to do a filesystem check.
Be glad you're not seeing those messages. =-)

The filesystem is being checked at boot, but the message probably goes by too fast for you to see it.
Install bootlogd, and you can find those messages in /var/log/boot.

Yes.
bootlogd is one of the first things I installed.
PCLinuxOS did not have it available (for some reason took it out of the repo) which, for a rolling release, made little sense to me.
It's one reason I left that distro, that boat rolls far too much for what I am used to and there are not enough life vests.   

fsmithred wrote:

You can change how frequently the filesystem checks are done by running tune2fs.

I'll check that out.

Thank you very mych for your input.
Much appreciated.

Cheers,

A.

Board footer

Forum Software