You are not logged in.
Running daedalus, cups hosted on a separate pc running daedalus too.
I don't know which devuan release introduced this symptom (I've skipped one or two releases on the print server) but it's wasting two sheets of paper each time I print something.
When a file is printed successfully, the printer is ready again, then after a moment prints a blank sheet and another one with:
ERROR:
timeout
OFFENDING COMMAND:
timeout
STACK:
That happens with all the applications I use for printing. The single exception I've seen so far has been printing PDFs with xpdf.
I haven't. I'm so used to logging in without looking at that switch and, at the end of the day, to use logout in fluxbox, followed by an ALT F4 to logout of lightdm followed by RETURN to shut down.
It came to me when I went for a walk after I've posted, hoping that no-one had noticed the posting.
Well, it was probably necessary to have a reminder what it feels like when you have egg on your face.
But man, I'm relieved.
I have about half a dozen PCs and one laptop here running fluxbox as WM (no desktop), all of which have been installed between January and March this year (2024).
I've now been asked to get this working on one more PC for a late convert to the efficiencies of lean systems.
Unfortunately I can't get this working at the moment.
From memory I used to (on a fresh install):
1) make sure, seatd is installed
2) install fluxbox and lightdm
3) when prompted during installation, select lightdm instead of slim
4) update-rc.d slim remove
5) update-rc.d lightdm defaults
6) reboot
Upon login (using lightdm) fluxbox loads within a few seconds allowing me to customize menus, styles etc.
Done.
I've tried now to modify a system that was (or still is) running xfce without succeeding. I've also tried this in a qemu instance of a new desktop installation, failing there too.
Either the very brief notes I made when doing the upgrades at the beginning of the year are wrong and I have forgotten what I really did at the time, or something low level has changed and it's no longer possible to use windows managers on their own.
I've compared the list of files containing the word "fluxbox" in /etc and /usr and they match. The installations of fluxbox match too (obviously).
Any help would be appreciated.
I used to use eog as an occasional image viewer. After my recent upgrade to devuan 5 I was perplexed to see that eog's spacebar navigation has been disabled, because who wants to be efficient. Some people probably find it easier to grab the mouse and touch a button, or to use one of the available cursor keys, whereas the spacebar is a rather big and blunt instrument, that - in a graphic application - only allows going to the next (or previous, if you press shift too) image.
Luckily there is eom, or the Eye of MATE, image viewer. Does everything I used to need in eog. Except, as I don't run the default xfce4 desktop (I run fluxbox), it uses default settings for font sizes, that are way too large, almost twice the size of what's needed.
I checked the environment and I did straces of eom, both in an xfce4 session and when running fluxbox, but I couldn't see anything that should make a difference.
Does anyone know how to tell eom to use the font sizes specified in the xfce4 settings even when not running XFCE4, or better still, to use defined .Xresources font sizes?
Found out what had disabled my beep in terminals and other programs such as nedit.
I used to set up every desktop here to start in runlevel 3 (or manual mode), followed by a startx. Always worked. As long as I can remember.
Now with Devuan 5 (because Debian) there are some changes, some of which I probably haven't tripped over yet. One of them is the retched beep which is somehow disabled if you run a window manager, such as fluxbox, openbox or blackbox, without a display manager. That's the key.
The differences are subtle, but they annoyed the hell out of not just me here (no audible feedback when backspacing or deleting into the void, no feedback on tab completion etc).
Finally got everything working by using lightdm, which is compact enough and very light on dependencies. Even corrected the misaligned positioning of the hostname that someone reported about four years ago and which was fixed last month, but hadn't filtered through to debian and then devuan.
Disadvantage: because ssh-agent wants to be started before windows are opened for business - and I don't like the many dependencies that come with all the alternatives - I opted for ssh-askpass, which, as a pure X11 app, is uglier than ..., let's just say pretty it's not.
But that's something for another day.
Spent the best part of today saving data onto external hard disks, re-installing devuan daedalus (5) and restoring data. All for nothing.
After an update yesterday X11 keels over instantly when I use any option other than 0 in update-alternatives --config x-window-manager.
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/bin/xfwm4 60 auto mode
1 /usr/bin/startfluxbox 50 manual mode
2 /usr/bin/xfwm4 60 manual mode
Same after the complete re-installation of the system (option 1, fluxbox, being my preferred one).
Error message when X11 bails out:
[libseat/backend/setd.:64] Could not connect so socket /run/seatd.sock: No such file of directory
[libseat/seatd.76:] Backend 'seatd' failed to open seat, skipping
Server terminated successfully (0). Closing logfile file.8ind.c:184] Could not stat fd 21878
The only reference to seat in Xorg.0.log I see is:
[ 33.048] (II) seat-libseat: libseat integration requires -keeptty and -keeptty was not provided, disabling libseat integration
Does anyone know what's happening here (or better still, how to fix this)?
tia
The 3rd example at wiki.qemu.org under User Networking did the trick. What I've been reading earlier was all very elaborate and more confusing than explaining. This wiki example is shorter than what I've been using, so it wins already. It also has the benefit of doing exactly what I wanted.
This is what I wound up with:
qemu-system-x86_64 -enable-kvm -m 3G -hda win7.qcow2 -netdev user,id=net0 -device e1000,netdev=net0
thanks
ks
PS: forgot about error messages. All it said was that vlan was deprecated, logfiles didn't have any entries.
On my last devuan installation I used to be able to run win7 via qemu once a month for a legacy app that's no longer updated using the following command:
kvm -hda ~/.qemu_disks/win7.qcow2 -m 4096 -net nic,vlan=1 -net user,vlan=1,name=ks
That fails now with Daedalus, but after googling for a couple of hours I haven't been able to get my windows 7 vm running due to the change in network params. All I really need is to get files from linux to the VM, verifying them under win7 with a commercial app and copying a "report" from VM back to linux. For data in/out I use winscp which works quite well.
I'd prefer not to have to buy a box just to run windows once a month. Can someone chime in and tell me how to get networking going again?
tia
ks
# Readline is set to produce an audible bell?
Well, in /etc/inputrc (which I hadn't checked) was
# set bell-style none
which I changed to
set bell-style audible
and it made. Made no difference.
Strange that /usr/bin/beep and the script you posted both beep.
beep writes to /dev/input/by-path/platform-pcspkr-event-spkr, unfortunately strace doesn't show anything beep or io related when I try anything other than the beep command.
But from a list of 15 things to sort out post installation I'm down to five, two of which I still don't know how to do. But not today.
@UnixMan1230:
Nothing's blacklisted in /etc/modprobe.d
@steve_v:
Just tried your python script, it does indeed beep. Unfortunately I'm none the wiser why traditional beeps don't work.
Since I installed daedalus I have another problem: PC speaker is unwilling
to beep. ^G, '\007' etc to console or /dev/tty don't work. The only thing that
does, is /usr/bin/beep still produces a beep.
It's annoying because over the years I've become used to my editor beeping
if a search was unsuccessful, or when hitting DEL at the beginning or end of
a line [or console input].
It _may_ have something to do with the fact that pulseaudio won't start now,
but so far it hasn't bothered me. I can use alsa to play music [if I find a
reasonable replacement for xmms2, otherwise I have to move the music to a
dedicated tiny system sitting idle here].
lspci reports my soundcard as
03:00.0 Multimedia audio controller: C-Media Electronics Inc CMI8738/CMI8768 \
PCI Audio (rev 10)
and the pcspkr module is loaded (snd_pcsp is not loaded and, if I understand
its purpose correctly, neither required for simple beeps).
tia
ks
Well, I'll be damned
all I needed to do is 'unalias su' which was aliased to 'su -' in my .cshrc, but, as you say, I have to get used to not being in the home directory of whoever I 'su' to.
Creating /etc/default/su didn't change anything, so I undid this. The ENV_SUPATH line in /etc/login.defs was already as required, so all that was left to do was the unalias.
Thank you very much.
ks
ps: just posting another problem that got me stumped.
I have a problem with Xorg/X11 after installing daedalus. Spent the last day and
a half googling a solution without finding a fix.
What I have:
users "me" and root
hosts "here" and "there"
"here" is a Dell running x86_64 (daedalus, installed this week).
"there" is a very much older i686 Dell running (beowulf, installed ages ago).
I use fluxbox as my window manager, no desktop environment because I don't
need the delays - on the same hardware WMs are _always_ a lot faster than desktops.
I always have a few xterms open, some of which allow me to run gui tools, if
needed, on other hosts. I use csh for interactive use.
On the box running daedalus, after doing a "su someOtherUser", I can't get _any_
X11 program to display it's output on "my" display.
So, to wit:
I've double and triple checked my sshd_configs on all hosts and there's no real
difference.
Although I don't use a gui often after "su -", when I need to, I'm usually desperate.
Any pointers would be appreciated.
ks
What I do: every box except daedalus: on the box with daedalus:
here% xclock opens small window, shows time opens small window, shows time
su -
here# xclock opens small window, shows time Error: Can't open display: localhost:10
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^D
here% ssh "there"
there% xclock opens window on display (@here) opens window on my display (@here)
and shows the time. and shows the time.
su -
there# xclock opens window on display (@here) opens window on display (@here)
and shows the time and shows the time.
I've double and triple checked my sshd_config files and there are no differences between old
and the new daedalus system.
Any pointers would make wrap up this year nicely.
tia
ks
I didn't know that ping doesn't work under user mode networking. So I tried ssh from the guest to the host it's running on, which gives me a weird result. I seems to connect, but then leaves me in my current directory in the client, which is explained by the correct ip's returned by host "$hostname": 192.168.0.4 and 127.0.0.1
... (deleted stuff)
klaus
That actually was the cause. I sometimes have to leave my desk to see clearly. host $hostname should not have returned 127.0.0.1, only the 192 ip. As soon as I corrected that I was able to connect from the client to the host.
ks wrote:When it boots, it hangs a few seconds on "configuring networking setting", then defaults to an IP in 10.0.0.0 instead of getting an ip from a dhcp server on the local lan 192.168.0.0.
That would seem to be the expected behaviour. See https://www.linux-kvm.org/page/Networki … Networking
ks wrote:So it's totally unable to talk to any of the local hosts.
How are you attempting to "talk" to these hosts? Please provide the exact command(s) used along with any error messages. Note that ICMP ("ping") requests don't work under user mode networking.
Ok, I didn't know that ping doesn't work under user mode networking. So I tried ssh from the guest to the host it's running on, which gives me a weird result. I seems to connect, but then leaves me in my current directory in the client, which is explained by the correct ip's returned by host "$hostname": 192.168.0.4 and 127.0.0.1
The 192 address can't be reached from 10.0.2.225 (obviously), but the 127 one it's happy to connect to - not what I wanted, because it connects to itself (guest) instead of the actual host qemu is running on. Useless for scp'ing files to and from.
I then tried a different host on the network (192.168.0.64) and there I was able to log in using ssh. Still leaves me unable to talk to the host.
klaus
Hi
I started using Devuan summer 2018. So far so good, locally and hosted at a few providers, always installing debian then migrating to Devuan. Never really had any problems, in fact I love Devuan.
I just installed Beowulf as a Qemu client and for the life of me I can't get the network settings right. When it boots, it hangs a few seconds on "configuring networking setting", then defaults to an IP in 10.0.0.0 instead of getting an ip from a dhcp server on the local lan 192.168.0.0. So it's totally unable to talk to any of the local hosts.
I've never had problems configuring the network with both static (local and at internet providers) or dhcp addresses (laptops), but I'm stuck here running as a qemu client (I want to test some large stuff without eff'ing up a machine.
Anybody able to help?
klaus
Just had a look at Hetzner's pages, and their FAQ, because the pretty pages don't really say much. Immediately tripped over:
How can I access the server I rebuilt? ... a new root-password for server1 will be generated and mailed to you. It will be set on first boot using the cloud-init mechanism.
That's that then ;(
@devuser:
Yes of course I'm looking for a different hoster for other projects. What I liked about the current hoster is their unlimited data transfer, and the project I installed there last week (or was it the week before) currently using centos does need a big pipe.
This afternoon I found someone using OpenVZ and just tried one of their VPS - worked as you yourself said. And if I find the time next week I'm going to try a VPS hosted at fasthosts.
@golinux:
They offer a money back guarantee with every contract. After I failed earlier I cancelled the new contract I made at lunch time using their web form, so no sweat.
But perhaps it's not so bad an idea if you build a list of hosters where devuan is either a clickable option or can be migrated to, even if it's only maintained until people get tired of poettering about and demand systemd-free hosting.
Well, that didn't go as planned. The hoster I'm using for this project uses cloud-it http://cloudinit.readthedocs.io/en/latest/ to setup and manage VPS instances. Cloud-it occupies many config files, scripts and four inits and, when running debian, depends on systemd (which is gone after the migration).
I was really hopeful that once ssh is reinstalled after the migration from debian to devuan that was all that would be required - shows you how blue-eyed I can be.
Switching to the KVM at least enables you to watch the VPS in a reboot loop, no chance of entering anything there.
As I have a VPS running centos 6.9 (pre-systemd) at this particular hoster I could pull off the "cloud-ed" files from there and make them available to someone, so one could - with lots of luck - replace the systemd base cloud-it files for those from centos, although I'm not sure that would be easy or even stable long term.
Not sure how to get VPS hosters to add devuan to their list of OSs provided. Maybe the only solution is to use dedicated servers that have un-poettering'ed OS support and run, if needed, multiple web sites on such a server although I prefer to separate things if they're not totally under my control. Ah, well...
I wanted to try three different approaches to migrate from a debian installation to devuan on Saturday. All were based on debian 8.10:
1) remove systemd (see http://without-systemd.org/wiki/index.p … tallation), clear up, reboot, finally migrate to ascii
2) straight migration to ascii (https://devuan.org/os/documentation/dev … e-to-ascii)
3) following the script posted in this thread by devuser.
I only managed the first two because of some previous engagements I'd forgotten about. But they were enough to point me into the right direction (I hope).
As it was both after the first and second attempt I couldn't log in from my desktop because sshd was neither listening nor installed. After the first trial run I though I might have forgotten to tick the box in the installer (but then I wouldn't have been able to do the migration through an ssh login). So when I installed debian for the second time I made sure I selected sshd server.
Again sshd was gone after the migration. I repeated "pass two" and lo and behold the sshd daemon is really eradicated by apt-get purge libsystemd0:
root@bf:/home/klaus# apt-get purge libsystemd0
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
docutils-common docutils-doc keyutils libalgorithm-c3-perl libarchive-extract-perl
libasprintf0c2 libb-hooks-endofscope-perl libbind9-90 libclass-c3-perl libclass-c3-xs-perl
libclass-method-modifiers-perl libclass-xsaccessor-perl libcpan-changes-perl libcpan-meta-perl
libdata-optlist-perl libdata-perl-perl libdata-section-perl libdevel-caller-perl
libdevel-globaldestruction-perl libdevel-lexalias-perl libdns100 libevent-2.0-5
libexporter-tiny-perl libfile-slurp-perl libgetopt-long-descriptive-perl libimport-into-perl
libintl-perl libintl-xs-perl libio-stringy-perl libisc95 libisccc90 libisccfg90 libjasper1
liblcms2-2 liblist-moreutils-perl liblog-message-perl liblog-message-simple-perl liblwres90
libmodule-build-perl libmodule-implementation-perl libmodule-load-conditional-perl
libmodule-pluggable-perl libmodule-runtime-perl libmodule-signature-perl libmoo-perl
libmoox-handlesvia-perl libmro-compat-perl libnamespace-autoclean-perl libnamespace-clean-perl
libnfsidmap2 libnuma1 libpackage-constants-perl libpackage-stash-perl libpackage-stash-xs-perl
libpadwalker-perl libpaper-utils libpaper1 libparams-classify-perl libparams-util-perl
libparams-validate-perl libpath-tiny-perl libperl4-corelibs-perl libpng12-0 libpod-latex-perl
libpod-markdown-perl libpod-readme-perl libpth20 libregexp-common-perl librole-tiny-perl
libsoftware-license-perl libstrictures-perl libsub-exporter-perl
libsub-exporter-progressive-perl libsub-identify-perl libsub-install-perl libterm-ui-perl
libtext-soundex-perl libtext-template-perl libtirpc1 libtry-tiny-perl libtype-tiny-perl
libtype-tiny-xs-perl libunicode-utf8-perl libuuid-perl libvariable-magic-perl libwebp5
libwebp6 libwebpdemux1 libwebpdemux2 libwebpmux1 libwebpmux2 libwrap0 libxapian22
openssh-sftp-server python-defusedxml python-docutils python-pil python-pygments python-roman
python-soappy python-wstools tcpd
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
irqbalance* libsystemd0* nfs-common* openssh-server* rpcbind* task-ssh-server*
0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
After this operation, 2,589 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 43895 files and directories currently installed.)
Removing irqbalance (1.1.0-2.3) ...
[ ok ] Stopping SMP IRQ Balancer: irqbalance.
Removing nfs-common (1:1.3.4-2.1) ...
[ ok ] Stopping NFS common utilities: idmapd statd.
Removing rpcbind (0.2.3-0.6) ...
[ ok ] Stopping RPC port mapper daemon: rpcbind.
Removing task-ssh-server (3.39+devuan1.9) ...
Removing openssh-server (1:7.4p1-10+deb9u3) ...
[ ok ] Stopping OpenBSD Secure Shell server: sshd.
Removing libsystemd0:amd64 (232-25+deb9u3) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for man-db (2.7.6.1-2) ...
(Reading database ... 43779 files and directories currently installed.)
Purging configuration files for nfs-common (1:1.3.4-2.1) ...
dpkg-statoverride: warning: no override present
Purging configuration files for openssh-server (1:7.4p1-10+deb9u3) ...
Purging configuration files for irqbalance (1.1.0-2.3) ...
Purging configuration files for rpcbind (0.2.3-0.6) ...
This is not particularly useful if you only have ssh to get into a system and don't use (or as in my case don't want to use, because php) access to one of the panels like cpanel. I'm quite confident at the moment that that's what prevented me from logging into the VPS after migration and final reboot to check eveything works. I will try to verify this within a week or two.
I'll also play with devuser's script and report back once I've had a chance.
OMG you're fast. I'll try very hard to set up a debian jessie system on Saturday and run your script on that. Fingers crossed
@golinux:
Your post ("started out on a VPS with Debian 8 upgraded to Devuan Jessie ") made me remember that I've seen "somewhere" a post explaining how to covert debian 8 from systemd to to sysVinit, and one of the OSs on offer at the hoster is debian jessie (which I think is 8, I'm no good with names, numbers lend themselves more to chronological order).
@devuser:
I'm leaning to the conclusion that it might probably be more efficient to just order another VPS instance at the provider, install debian 8, and apply the conversion therapy I've seen somewhere. If this works, and at the moment I wouldn't bet on it, next thing I'm (or somebody else? (*)) should do, is disable as many daemons as possible on this new VPS instance as possible (to reduce the number of disk writes during copying), then dd|scp the complete thing somewhere home to try it on an old PC, where one at least sees where the smoke is coming out.
Should this work, the actual conversion to devuan could be performed (fine tuned, aren't I hopeful?) on this PC, with ample documentation to allow remote re-runs.
Everything else is both too error prone and, due to the time a remote re-installation takes, too slow.
(*) "or somebody else": I'm willing to order the VPS and hand the credentials to someone else for the surgery, as long as the outcome is made available to anybody who needs it. Maybe other kind souls could do the same for VPSs [or dedicated servers] at other providers?
@golinux:
As you mention "crayons" in your post I have to have a word with you . I'm 67, with cataract on the horizon. In fact I've had poor eye sight for more than 25 years and it's getting worse each time I have a checkup, resulting in new glasses.
Although dev1galaxy.org is ok, I find it _very_ difficult to use devuan.org, especially in the evening. Worst of all are links I've visited before [a:visited] --- I simply don't see them without turning style sheets off. Don't forget the baby boomers are all old farts now. Contrast is the best fix for that, some countries even have minimum requirements for contrast. Please (!) try to look into that.
I totally agree that something is desperately needed to get devuan into the hosting world, because apart from Centos 6.9 --- which will only get security fixes for another year or two --- there's nothing without systemd that I know of. Once that's no longer available, we're stuffed.
I just had another look at the options available from this provider. "Rescue mode" is basically reinstalling the OS from a list of systems, of which only centos 6.9 is systemd-free. The best I can have is a simulated KVM (in the browser).
The problem I see is that I can't access any media other than what's on offer. The only way I can envisage some sort of progress is to reinstall the OS, this time via "KVM", which would then allow me to partition the "disk", boot the new OS, and then upload an iso image into one of the partitions. But how do you then boot from the uploaded iso on the partition?
And I can't see how to dd an image to the VPS disk when I'm sitting miles away from the server and have only the remote instance booted off the VPS disk. I've dd'd disks across the network via ssh many times. But in every case the system reading or writing raw data to or from disk was booted from a dvd (or another disk) with the paired system reading or writing the raw data to or from an ordinary file on a mounted disk.
Can't get my head around this at the moment.
I had to set up a small VPS server hosted in the UK on Friday. As the provider doesn't offer devuan I tried to start with a debian setup to be migrated to devuan following the instructions on
https://devuan.org/os/documentation/dev … e-to-ascii
starting at "Perform the migration" (commands above that section aren't relevant on a server).
Everything worked without a warning or error message until apt-get autoclean right at the end of the page describing how to migrate. Unfortunately after that the system didn't reboot when told to. I reinstalled debian thinking I might have made a mistake, but repeating the install the reboot to verify the system's readiness failed again. Because I had to complete the setup that day I then went and installed centos 6.9, the last release of that OS that hasn't been "poettering'ed" (w/o systemd).
But I dearly would like to get a hosted VPS running devuan and I'm sure others fell the same.
Question: not having the skills I don't know how to approach this. I know that the provider uses VMware, but apart from that I'm in the dark. Any takers?
Ok, I just played around with it again, and I remembered that when I originally became somewhat frustrated with it at first it worked for a while, but if I switch between wired and wireless more than once it loses the ability to connect to the wired eth0. Even if I switch OFF wireless it can no longer do wired. So in the end I just reinstalled my zero size wired-settings.conf to have wicd ignore the wired netcard (Don't know if it has anything to do with it but I often can see up to a dozen accesspoints, some of them open [no passwd required]).
Here's the wired-settings.conf that worked temporarily:
[wired-default]
afterscript = None
dhcphostname = is.work-lanname
postdisconnectscript = None
dns_domain = workplace.tld
gateway = 192.168.0.64
use_global_dns = False
lastused = True
encryption_enabled = False
beforescript = None
ip = 192.168.0.8
broadcast = None
netmask = 255.255.255.0
usedhcphostname = 0
predisconnectscript = None
enctype = None
default = 1
dns2 = 192.168.0.64
search_domain = None
use_static_dns = True
dns3 = None
profilename = wired-default
dns1 = 192.168.0.63
Here's my manager-settings.conf:
[Settings]
backend = external
wireless_interface = eth1
wired_interface = eth0
wpa_driver = wext
always_show_wired_interface = False
use_global_dns = False
global_dns_1 = None
global_dns_2 = None
global_dns_3 = None
global_dns_dom = None
global_search_dom = None
auto_reconnect = True
debug_mode = 0
wired_connect_mode = 1
signal_display_type = 0
should_verify_ap = 1
dhcp_client = 0
link_detect_tool = 0
flush_tool = 0
sudo_app = 0
prefer_wired = False
show_never_connect = True
Maybe you see something in there, if not, I'll keep my current setup with the 0-size wired-settings.conf