The officially official Devuan Forum!

You are not logged in.

#1351 Re: Hardware & System Configuration » Florence on SLIM » 2017-10-28 01:11:01

Fair enough. If you are in the mood for tinkering, it's not really a difficult thing to start an X program over slim. The fundamental aspects are to have the XAUTHORITY and DISPLAY properly set when starting the program, and to start the program at the right time, i.e., after slim.

I don't have florence but can illustrate using xvkbd instead.

For example, it might be sufficient to add a line into your /etc/rc.local file, making it look like this at the end:

( sleep 5 ; XAUTHORITY=/var/run/slim.auth DISPLAY=:0 /usr/bin/xvkbd ) &
exit 0

That line supposedly will start the virtual keyboard xvkbd upon reboot, after 5 seconds, on top of the slim login splash.

You will need to adjust as appropriate for florence of course.

Note that (assuming it works) the virtual keyboard only comes up after reboot, and not again when you log out. But maybe that is sufficient.

#1352 Re: Hardware & System Configuration » Florence on SLIM » 2017-10-27 03:08:02

the.drewster wrote:

The bit I can't get working is getting Florence to work on SLIM.

Could you be specific, please. Is it that you cannot start the keyboard over slim? or that it comes up but its input is not delivered to slim's login box? Or something else. Please include any error responses of any commands that your try.

#1353 Re: Hardware & System Configuration » working method for module blacklisting? » 2017-10-26 02:56:50

Since I (and you?) don't have cups, disabling it for cups is not a solution.

I managed to get the (standard) ASCII 4.9.0-4-amd64 kernel to avoid loading parport and friends by having boot parameter

lp=none

together with blacklisting:

# echo blacklist parport > /etc/modprobe.d/blacklist-parport.conf
# echo blacklist parport_pc >> /etc/modprobe.d/blacklist-parport.conf
# update-initramfs -u

It needs both kernel parameter and blacklisting. Possibly lp=0 would work as well, but I couldn't bother testing it.

#1354 Re: Hardware & System Configuration » working method for module blacklisting? » 2017-10-25 23:13:17

Someone on a not dissimilar platform had success with the problem in 2009:
https://ubuntuforums.org/showthread.php … 455&page=2
The key was to "also disable loading lp module in default configuration of cups in /etc/default/cups".

#1355 Re: DIY » [SOLVED] GNU/Linux laptop as router, vpn router, or wifi repeater » 2017-10-20 03:14:09

btw if you care about  IEEE Registration Authority, a "locally administered mac address" needs bit 2 of first byte set and bit 1 cleared. Thus "5e" would be better than "5c".
see eg http://www.noah.org/wiki/MAC_address

#1357 Re: Hardware & System Configuration » Issues with Laptop Lid Suspend/Hibernate and Panel Plugins » 2017-10-16 22:13:05

Ideally you should insert the locking program before the suspend action as otherwise it'll wake up unlocked until the locking starts. For example:

if [  "$3" = "close" ] ; then
     DISPLAY=:0 su -c "xtrlock -b" ralph &
     /usr/bin/obsession-exit -s
fi

Note also that (afaik) the lid button script is run by acpid as root and not "the DE user", so a sudo isn't needed, but some way to ensure GUI access is. The added command line above includes the two parts of making the locking program (xtrlock) have the right $DISPLAY set up, and (via su) be the right user (for my laptop).

#1358 Re: Hardware & System Configuration » [SOLVED] ascii wicd naming issue » 2017-10-16 21:14:54

Just picking up the smallest of your crumbs:

you can bold inside a quote block smile

which could provide a similar layout separation as a code block, though not scrolling.

As for network interface re-naming, I can't offer anything not already said. Basically it's a udev thingy, and (stupid as it is, one might think), one of those warts that come with the "modern" and "improved" wheel. Slightly easier to fix than rid yourself of avahi and gvfs and packaged and uuidd and whatnot, I think.

#1359 Re: Hardware & System Configuration » How to send a signal whenever mouse button is clicked? [SOLVED] » 2017-10-11 12:38:51

A smaller footprint  solution would simply read byte triplets from /dev/input/mice, where <9,0,0> means left button down, and <8,0,0> means left button up; all other triplets mean other things. I would use newlisp, of course, to remain in small foot print scripting, but a small C program could also do.

#1360 Re: Off-topic » Arguments against systemd » 2017-10-08 00:37:42

I liked post #19 though; it was short and succinct, and its mere presence so elegantly violated its own sentiment.

#1361 Re: Off-topic » Arguments against systemd » 2017-10-07 08:45:13

Sorry. I lost interest there. Too many words. To paraphrase Ramsey: "What you can't say in just a few words, you should whistle.".

#1362 Re: Off-topic » Arguments against systemd » 2017-10-07 05:59:43

Why don't you find yourself a blog site somewhere, where it'd be good and natural to line up all those beautiful words. This forum is populated by mostly intelligent people with no need or desire to waste (more) time and thought on systemd.

#1363 Re: DIY » UFW Rules: Can anyone confirm this? » 2017-10-02 21:20:17

To be clear, ICMP is a protocol and not a port; it's the Internet Control Message Protocol, whereby routers may exchange meta-data about IP level connectivity. There are several networking protocols to consider, both within the IP class (such as in particular TCP and UDP), and outside the IP class (in a range of varying obscurity).

As said before, there is no such thing as "invisible" on the Internet, short of not being connected at all. But there is a gray scale of "protection layers" of setting blockages for certain network traffic, depending on how you want your host to handle it. I'.e., like the rules you showed on top, which indeed tells the host to drop certain incoming ICMP packets, rather than deliver them to their normal handling (by the kernel). I think you'd do well in dropping IGMP as well, and then consider blocks for TCP and UDP messaging, which offer the majority of intentionally harmful networking.

#1365 Re: Devuan » can be udevil a alternative to udev? » 2017-09-29 07:24:22

You can install eudev=220:3.2.2-devuan1 from experimental on Jessie, but you need to make sure to also install libudev1=220:3.2.2-devuan1, which is its companion (despite the name).  The latter might be noted as a downgrade (relative jessie-backports), but that's nothing to worry about.

#1366 Re: Other Issues » [SOLVED]I cannot make "locate" work » 2017-09-24 10:59:56

Thank you, and welcome. Good practice for another time, when you run into something harder. cool

#1367 Re: Desktop and Multimedia » flash player plugin not run in Devuan » 2017-09-24 10:56:55

Nothing to worry about. I'm pretty sure it's the right pathname.
But it just made me think about the Bellman.

#1368 Re: Desktop and Multimedia » flash player plugin not run in Devuan » 2017-09-24 06:05:01

You mention /usr/lib/mozilla/plugins/flash-mozilla.so twice already, so if I mention it once more, it'll sure be the right place smile

#1369 Re: Hardware & System Configuration » SOLVED Brother Scanner not detected by Sane » 2017-09-19 23:23:56

To be sure, each rule is on a single line. Refer to

man udev

for details.

#1370 Re: Hardware & System Configuration » SOLVED Brother Scanner not detected by Sane » 2017-09-19 22:19:33

I'm not too well versed in this, but I might be able to help.

Firstly, I think that your /etc/udev/rules.d/10-scanner.rules should have a single rule line. It should be read "if the vendor is 0x04f9 and the product is 0x0330, then make the /dev/whatever pathname have group scanner". All that needs to be on a single line.

What you have done is rather three independent statements: "if the vendor is 0x04f9, then eeh nothing", "if the product is 0x0330, then ehh nothing", "if whatever, then set /dev/whatever to have group scanner". That last one in particular is quite "destructive" (although there might be some kind of protection in udev for that kind of mistake).

But, when I look at the libsane rules (i.e., /lib/udev/rules.d/60-libsane.rules) it suggests that you should rather have the assignment

..., ENV{libsane_matched}="yes"

as effect instead of setting access group. I think the deal is that the scanner dev's (for whatever [expletive] reason) have decided to use "acl" rather than unix file protection, and they also have programmed their rules to use a common, actual effect via the setting of the libsane_matched variable.

So, if making it a single line doesn't work, you might try replacing the GROUP assignment with that assignment.

EDIT: note the comma (",") between the terms; i.e., when you join your lines, you need to add "," comma between them.

#1371 Re: Other Issues » [Solved] Minor issue with shutdown, some process failing to stop » 2017-09-15 07:28:25

Make a failed login attempt and see that btmp has grown smile

man last
man lastb

#1372 Re: Off-topic » free software alternative to Teamviewer? [SOLVED] » 2017-09-11 01:32:08

If I may suggest a couple of "improvements" within that scheme, to in particular simplify the picture for the helpee.

Firstly that you set up key based authentication for helpee, to ssh to you without password.

Secondly that you set up ~/.ssh/config for helpee with a short logical hostname to your host. In that you would also reverse forward to both ports 22 and 5900 in the single ssh link. E.g. like the following stanza

Host help
   hostname ...
   user ...
   identityfile ...
   remoteforward 7000 localhost:22
   remoteforward 5901 localhost:5900

Thirdly a script for the helpee to run the two things as one:

ssh help & x11vnc

With the second forwarding, you, the helper, would only need to run vinagre against localhost:5901, or indeed xvnc4viewer against :1, and also have the ssh back link on localhost:7000.

#1373 Re: Off-topic » free software alternative to Teamviewer? [SOLVED] » 2017-09-10 22:52:21

... a bit sad to learn there was no magic tongue

As for the reverse port forwarding, you might have overlooked the option of reverse-forwarding port 5900, which is the default port vnc uses for the :0 display. Though, with gitso working for you, there's no need to pursue this.

#1374 Re: Off-topic » free software alternative to Teamviewer? [SOLVED] » 2017-09-09 01:55:00

I suppose x11vnc accessed with xvnc4viewer via ssh is too old-fashioned?

#1375 Re: Hardware & System Configuration » pm-suspend not working [SOLVED] » 2017-08-30 13:50:08

If it's similar to my problem, https://dev1galaxy.org/viewtopic.php?pid=4135#p4135, then that xhci quirk setting might be a good thing for you as well.

Board footer

Forum Software