Re: Unresponding maintainer on out-of-date package
Hi, > > I have been trying to get in contact with the maintainer of a package, but > > they have not answered at all since my last mail a month ago. What should I > > do about that? > > I'd probably wait another month and then contact the MIA team pointing > them to the bug(s) I filed in the Debian bug tracking system > (bugs.debian.org) that have gone unanswered for those two months. > > https://wiki.debian.org/Teams/MIA > > However, just to set your expectations, unless the updates needed are highly > important (not just new features) the best you could hope for would be a > very long process to get the package declared orphaned. Then you'd be > hoping that some other Debian developer would take it on and be more > open to applying your patches. The ultimate goal being to get things for Debian users, what I usually try in such cases (leaving some time between steps): 1) Report a bug describing the problem 2) Provide a patch that fixes that bug (and use the fixed package in a private build) in the bug report or as a salsa MR 3) Offer to prepare an upload ready to sponsor with the fix included, in the bug report. 4) Prepare an upload and ask for sponsorship on mentors.d.o If this a of interest for another Debian Developper, this usually gets sponsored. Thanks, Alex
Re: speaker-test: no correct sound output on LFE and others speakers
Hi, > > My understanding is that pulseaudio uses alsa for kernel interface and > > that speaker-test uses alsa directly. So if one cannot get speaker-test > > to sound right, it cannot work with pulseaudio. That why I suggest > > workarounds > > in alsa conf (asoundrc). > > I tried several configurations of ~/.asoundrc in these days but nothing > works with "speaker-test". Well some configurations let "aplay" to use > rear-left, rear-right, front-center speakers but "speaker-test" never sends > sound to front-center, rear-left, rear-right and LFE with this command: > [...] > Just now, checking the ALSA configuration in /etc/alsa/conf.d/ I found the > 99-pulse.conf file: > > ~# cat /etc/alsa/conf.d/99-pulse.conf > # PulseAudio alsa plugin configuration file to set the pulseaudio plugin as > # default output for applications using alsa when pulseaudio is running. > [...] > > Does Debian use Pulseaudio daemon as default output for ALSA applications? > Could it be a Pulseaudio misconfiguration? Should I try to uninstall it or > how can I stop Pulseaudio? If I do "killall pulseaudio" it re-spawns > immediately and "systemctl" doesn't work: My hypothesis: speaker-test outputs directly to ALSA (kernel) but ALSA redirects to pulseaudio (the 99-pulse.conf file) and pulseaudio Output profile is stereo. Therefore, pulseaudio downmixes 5.1 to stereo. That would explain why only front-left and front-right output sound. To confirm, you can either: - move away that 99-pulse.conf file so that speaker-test use directly and only ALSA - configure pulseaudio output profile for surround5.1 (you can use command line $ pacmd set-card-profile 0 output:output:analog-surround-51 or pavucontrol (graphical) > ~# systemctl stop pulseaudio > Failed to stop pulseaudio.service: Unit pulseaudio.service not loaded. pulseaudio is usually a *user* service and socket activated (starts automatically if some app wants to use it). To stop it, the following should work: $ systemctl --user stop pulseaudio.socket # stop the socket to prevent auto start $ systemctl --user stop pulseaudio.service # stop the daemon Cheers, Alex
Re: speaker-test: no correct sound output on LFE and others speakers
Hi, > > > The issue is that speaker-test doesn't play sound to the correct speaker. > > > If > > > I run: > > > > > > ~$ speaker-test -Dplug:surround51 -c6 -s3 -f75 > > > > > > The sound comes from (Center), (Front right), (Rear left) and (Rear right) > > > speakers instead (Front right) only. > > > > What's bothering me is that you get sound from multiple speakers while > > instructing out on only one. > > > > The usual issues of these setups with surround analog out are: > > - channel mapping issues (driver/hardware mismatch) > > - software downmixing to stereo > > > > There are other usual issues with surrount digital out but this is not > > your setup. > > > > You can have a look at [1] for software fixes on this. > > > > [1] https://alsa.opensrc.org/SurroundSound > > The link you posted it shows rather outdated fixes, it talked about Jackd > daemon and surround, but I have pulseaudio daemon, maybe I've pulseaudio > daemon misconfiguration My understanding is that pulseaudio uses alsa for kernel interface and that speaker-test uses alsa directly. So if one cannot get speaker-test to sound right, it cannot work with pulseaudio. That why I suggest workarounds in alsa conf (asoundrc). Alex
Re: speaker-test: no correct sound output on LFE and others speakers
Hi, > Basically I've the same issue described here: > https://askubuntu.com/questions/1180389/speaker-test-returns-all-6-channels-to-front-speakers > > The speaker-test program is provided by the alsa-utils package. I'm using > Debian 12 Bookworm, I've no ~/.asoundrc file. My /proc/asound/cards returns: > > ~$ cat /proc/asound/cards > 0 [SB ]: HDA-Intel - HDA ATI SB > HDA ATI SB at 0xfe40 irq 16 > 1 [NVidia ]: HDA-Intel - HDA NVidia > HDA NVidia at 0xfe08 irq 57 > > I've 5.1 speakers the LOGITECH Z906 audio system plugged to the PC via 3 > jacks (left/right), (Center/Subwoofer), (Rear left/ Rear right). I assume your cabling is right and your SB soundcard has surround out (3 jacks as you describe it, and not mic and line out for instance). The labels on the jacks would confirm that, so would the user manual of your motherboard or sound card. > The issue is that speaker-test doesn't play sound to the correct speaker. If > I run: > > ~$ speaker-test -Dplug:surround51 -c6 -s3 -f75 > > The sound comes from (Center), (Front right), (Rear left) and (Rear right) > speakers instead (Front right) only. What's bothering me is that you get sound from multiple speakers while instructing out on only one. The usual issues of these setups with surround analog out are: - channel mapping issues (driver/hardware mismatch) - software downmixing to stereo There are other usual issues with surrount digital out but this is not your setup. You can have a look at [1] for software fixes on this. [1] https://alsa.opensrc.org/SurroundSound Thanks, Alex
Re: Current best practices for system configuration management?
Hi, > > and so on, it is time to explore solutions. I only have four systems > > at the moment (two physical and two virtual), so I don't think I need > > something too fancy. I am in the same situation with an extra constraint: some are laptops and not always connected. > > My first thought was to simply add a `Files:` section to *.control > > files I use for my metapackages. After all, for configs going into > > *.d directories, they are usually easy to just drop in and remove, no > > editing in place required. But, that is when I discovered that all > > files under `/etc` are treated specially. The limitation of this is that you cannot modify existing configuration files, which is required sometimes. > > Anyway, suggestions based upon actually experience would be appreciated. > > The easy end of single-machine is etckeeper, which just checks > your /etc (and whatever else you specify) into a local git. The > high end of single machine is Nix, which has a complete language > designed to capture the complete configuration of a system (and > has spawned NixOS, a complete distribution). > > The easy end of multi-machine systems is cdist and itamae. You might be > quite happy with those, and itamae is reputedly very Chef-like. I can also mention ansible which is ubiquitous nowadays and is relevant even for a single machine. I've worked around my laptop deployment requirement with a wrapper script around ansible-pull and a systemd timer to regularly pull the conf from a git repository. It works well but the complete configuration is known to all machines. The Nix mention is highly relevant, but I did not get the chance to play with it yet. The big advantage over ansible and probably many others is that if you remove a package installation from your configuration, it will get removed from the host upon configuration deployment. Whereas with ansible, you must add a explicit uninstallation rule. This is fine for cloud host deployment where you always start from scratch, but for physical machines and user laptops, Nix enforces consistency (but then you need to learn something that is not Debian...). Cheers, Alex
Re: Building binary package, howto enable init.d/systemd start
Hi, > i am trying to build a binary debian package consisting of a python > script, shell scripts and a config file as daemon with either init.d or > systemd start. > > The init.d script gets installed also the systemd file, but both are not > enabled. [...] > In debian/rules is: > > #!/usr/bin/make -f > > DH_VERBOSE=1 > > %: > dh $@ > clean: > @# Do nothing > > build: > @# Do nothing > > binary: [...] I suggest you use override_dh_auto_install instead or better use debian/install (man dh_install) for what you do in this target. > I have the strange feeling the entire postinstall stuff is missing. > Is there a significant typo somewhere so obvious I am to stupid to see? I think that overriding the binary target breaks debhelper. [...] > If there is a distribution like Mint Tessa for example, how does the > system decide which startmethod to choose, if init.d and systemd are > enabled successfully? I see a mix of init.d and systemd there regading > starting stuff. Your package will support both and the magic will happen at package install phase. I think dh_installinit and dh_installsystemd generate the postinst scripts that make this happen. Cheers, Alex
Re: laptop freezes randomly - please help!! dell xps 15 with debian testing
Hi, > In the past week my laptop freezes randomly, I can say it happens every 2-3 > hours. but there are actions that consistently always cause a freeze, like > opening Zoom or executing lspci in Terminator. I would suggest: - try to get more debugging info using SysRQ keys [1] - try to get more debugging info using netconsole[2] (needs wired connection) - try another OS (Ubuntu live CD, Windows) to rule out hardware problem [1] https://www.kernel.org/doc/html/latest/admin-guide/sysrq.html [2] https://debamax.com/blog/2019/01/03/debugging-with-netconsole/ Alex
Re: rsync copyed systemd-nspawn container won't start
Hi, [...] > Jan 11 15:22:55 dhanna systemd-nspawn[21268]: Failed to create > /init.scope control group: Operation not permitted [...] > Then I try it with > > debootstrap --variant=minbase --include > systemd,vim,libterm-readline-gnu-perl,iproute2,dialog,dbus stretch > /var/lib/machines/foo > > it work as expected. > > Any ideas? This may be related to systemd<236 in the container. I would try one of the workarounds mentionned in https://github.com/systemd/systemd/issues/9563 : - passing systemd.legacy_systemd_cgroup_controller=yes to systemd via Parameters= - try with systemd-nspawn ... --private-users=0 --private-users-chown Alex
Re: Web log analysis
Hi, > In this case, Richard seems to be looking for analysis of the > web server logs he has already collected. > > analog > awfful > awstats > goaccess > logstalgia > logswan > visitors > webalizer analog, awfful, awstats, visitors and webalizer seem unmaintained. logstalgia is an Xorg app that displays log stats in retro videogame fashion. logswan only outputs JSON so needs to be fed into somtehing else to produce graphs. Of those, only goaccess seems to be maintained. It complies with many of your requirements, although analysing data over long periods is not straightforward. I use it to produce one static report per month and it suits my basic needs. Cheers, Alex
Re: trouble with sbuild
Hi, > $ sbuild-createchroot --chroot-mode=unshare --make-sbuild-tarball ~/.cache/ > sbuild/unstable-amd64.tar.gz unstable $(mktemp -d) > https://deb.debian.org/debian/ > [...] > If I understand well, it is a Perl script that tries to execute some > 'newuidmap' command that is part of the uidmap package and is not currently > installed, neither present in the sbuild depends. > I am trying to follow /u/s/d/sbuild/README.Debian that does not mention > anything on this. > What did I miss? In the source upstream changelog: * Major changes in 0.77.0: 1) core: New chroot mode "unshare" which allows unprivileged package builds by using Linux user namespaces. Only requires lightweight newuidmap and newgidmap suid binaries. Chroots can be created and updated without needing sudo and are stored in ~/.cache/sbuild or an arbitrary absolute path given via the --chroot option. Installing the uidmap should fix your problem. Maybe sbuild should recommend uidmap. Alex
Re: systemd-nspawn networking inside VirtualBox VM
Hi, > > since I am not well educated about macvlan, ipvlan, I could not get the > > networking working at all. I would like to avoid using > > "systemd-networkd/systemd-resolvd" especially on the Buster host - using > > those > > it seems should make everything work automagically. > > If you realy want to do the networking yourself, you will need to create > the bridge based on the examples found in '/lib/systemd/network'. I've had success declaring a bridge in /etc/network/interfaces: iface br0 inet dhcp bridge_ports eth0 # this is your VM Ethernet and launching my containers with: $ cat /etc/systemd/nspawn/container.nspawn [Exec] Boot=yes [Network] Bridge=br0 $ sudo machinectl start container Alex
Re: ActiveSync Postfix
Hi, > I am using Postfix. (Postfix, OpenLdap, Dovecot, Squirrelmail) My goal > is to synchronize contacts and calendars. I have to do ActiveSync for > this. How can I resolve ActiveSync ? Is there an open source solution > ? Postfix does not support this. ActiveSync is a Microsoft protocol. If you want an open source server providing ActiveSync, I known about https://sogo.nu/ , although I have never used it. https://sogo.nu/files/docs/SOGoInstallationGuide.html#_microsoft_enterprise_activesync There are other resources in an old serverfault question. https://serverfault.com/questions/5282/is-there-any-open-source-exchange-server Cheers, Alex
Re: Running a music player via cron
Hi, > >> Playing: http://direct.franceinfo.fr/live/franceinfo-midfi.mp3 > >> (+) Audio --aid=1 (mp3 1ch 44100Hz) > >> ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave > >> [ao/alsa] Playback open error: Device or resource busy > >> [ao/oss] Can't open audio device /dev/dsp: Device or resource busy > > > > Either another process is still acessing your speakers or may you're > > not logged in. > > I am logged in. I suspect a pulseauio issue. Me too. What does it say with -ao pulse ? I suspect $PULSE_SERVER is not set and mpv cannot find the server started in your graphical session. I would find its contents in my graphical session, put it in the crontab and if it works, come up with a script to guess it. Thanks, Alex
Re: apt-offline
Hi, > > I see that apt-offline is not part of buster. Is there any plan to add it? > > Only the maintainer would know about that. It is unlikely he reads this > list. https://bugs.debian.org/871656 is what keeps apt-offline out of testing and thus stable. Alex
Re: How to use adminer?
Hi, > I installed adminer in debian 10 by sudo apt install adminer. > Now I am unsure how to use it on web browser. Note I installed LAMP and > already run a local setup for Wordpress. If your LAMP webroot is /var/www/html do, one way is to do the following. $ ln -s /usr/share/adminer/adminer /var/www/html and you should find adminer at http://server.example.com/adminer Alex
Re: nft 'modules'
Hi, > In ipchains, there were a lot of modules that I used a few of, like > recent and the one that put comments on the end of a rule. I can't find > anything, one way or the other, discussing these add-ons with nft. > > Is there such a thing in nft? Is nft so new that they just haven't been > written yet? Is there no plan to have these available? Although I'm not a firewalling expert, it looks about the same[1]. For instance, I was recently bitten by nft not seing in the forward chain the traffic on the bridge interface connecting some containers until I had loaded the br_netfilter kernel module. For comments, it seems to be built in because I set some and not obvious corresponding module is loaded. $ lsmod | grep "nft\|netfilter" nft_compat 20480 412 nft_log16384 4 nft_counter16384 429 nft_ct 20480 3 nf_conntrack 163840 2 xt_conntrack,nft_ct nf_tables 143360 1471 nft_ct,nft_compat,nft_log,nft_counter,nf_tables_set nfnetlink 16384 4 nfnetlink_queue,nft_compat,nf_tables,nfnetlink_log br_netfilter 24576 0 bridge188416 1 br_netfilter x_tables 45056 7 xt_conntrack,nft_compat,xt_multiport,xt_tcpudp,ipt_REJECT,ip_tables,ip6t_REJECT Cheers, Alex [1] grep "NETFILTER\|NFT" /boot/config-4.19.0-5-amd64 CONFIG_NETFILTER=y CONFIG_NETFILTER_ADVANCED=y CONFIG_BRIDGE_NETFILTER=m CONFIG_NETFILTER_INGRESS=y CONFIG_NETFILTER_NETLINK=m CONFIG_NETFILTER_FAMILY_BRIDGE=y CONFIG_NETFILTER_FAMILY_ARP=y CONFIG_NETFILTER_NETLINK_ACCT=m CONFIG_NETFILTER_NETLINK_QUEUE=m CONFIG_NETFILTER_NETLINK_LOG=m CONFIG_NETFILTER_NETLINK_OSF=m CONFIG_NETFILTER_CONNCOUNT=m CONFIG_NETFILTER_NETLINK_GLUE_CT=y CONFIG_NETFILTER_SYNPROXY=m CONFIG_NFT_NUMGEN=m CONFIG_NFT_CT=m CONFIG_NFT_FLOW_OFFLOAD=m CONFIG_NFT_COUNTER=m CONFIG_NFT_CONNLIMIT=m CONFIG_NFT_LOG=m CONFIG_NFT_LIMIT=m CONFIG_NFT_MASQ=m CONFIG_NFT_REDIR=m CONFIG_NFT_NAT=m CONFIG_NFT_TUNNEL=m CONFIG_NFT_OBJREF=m CONFIG_NFT_QUEUE=m CONFIG_NFT_QUOTA=m CONFIG_NFT_REJECT=m CONFIG_NFT_REJECT_INET=m CONFIG_NFT_COMPAT=m CONFIG_NFT_HASH=m CONFIG_NFT_FIB=m CONFIG_NFT_FIB_INET=m CONFIG_NFT_SOCKET=m CONFIG_NFT_OSF=m CONFIG_NFT_TPROXY=m CONFIG_NFT_DUP_NETDEV=m CONFIG_NFT_FWD_NETDEV=m CONFIG_NFT_FIB_NETDEV=m CONFIG_NETFILTER_XTABLES=m CONFIG_NETFILTER_XT_MARK=m CONFIG_NETFILTER_XT_CONNMARK=m CONFIG_NETFILTER_XT_SET=m CONFIG_NETFILTER_XT_TARGET_AUDIT=m CONFIG_NETFILTER_XT_TARGET_CHECKSUM=m CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m CONFIG_NETFILTER_XT_TARGET_CONNMARK=m CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=m CONFIG_NETFILTER_XT_TARGET_CT=m CONFIG_NETFILTER_XT_TARGET_DSCP=m CONFIG_NETFILTER_XT_TARGET_HL=m CONFIG_NETFILTER_XT_TARGET_HMARK=m CONFIG_NETFILTER_XT_TARGET_IDLETIMER=m CONFIG_NETFILTER_XT_TARGET_LED=m CONFIG_NETFILTER_XT_TARGET_LOG=m CONFIG_NETFILTER_XT_TARGET_MARK=m CONFIG_NETFILTER_XT_NAT=m CONFIG_NETFILTER_XT_TARGET_NETMAP=m CONFIG_NETFILTER_XT_TARGET_NFLOG=m CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m # CONFIG_NETFILTER_XT_TARGET_NOTRACK is not set CONFIG_NETFILTER_XT_TARGET_RATEEST=m CONFIG_NETFILTER_XT_TARGET_REDIRECT=m CONFIG_NETFILTER_XT_TARGET_TEE=m CONFIG_NETFILTER_XT_TARGET_TPROXY=m CONFIG_NETFILTER_XT_TARGET_TRACE=m CONFIG_NETFILTER_XT_TARGET_SECMARK=m CONFIG_NETFILTER_XT_TARGET_TCPMSS=m CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=m CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m CONFIG_NETFILTER_XT_MATCH_BPF=m CONFIG_NETFILTER_XT_MATCH_CGROUP=m CONFIG_NETFILTER_XT_MATCH_CLUSTER=m CONFIG_NETFILTER_XT_MATCH_COMMENT=m CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m CONFIG_NETFILTER_XT_MATCH_CONNLABEL=m CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m CONFIG_NETFILTER_XT_MATCH_CONNMARK=m CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m CONFIG_NETFILTER_XT_MATCH_CPU=m CONFIG_NETFILTER_XT_MATCH_DCCP=m CONFIG_NETFILTER_XT_MATCH_DEVGROUP=m CONFIG_NETFILTER_XT_MATCH_DSCP=m CONFIG_NETFILTER_XT_MATCH_ECN=m CONFIG_NETFILTER_XT_MATCH_ESP=m CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m CONFIG_NETFILTER_XT_MATCH_HELPER=m CONFIG_NETFILTER_XT_MATCH_HL=m CONFIG_NETFILTER_XT_MATCH_IPCOMP=m CONFIG_NETFILTER_XT_MATCH_IPRANGE=m CONFIG_NETFILTER_XT_MATCH_IPVS=m CONFIG_NETFILTER_XT_MATCH_L2TP=m CONFIG_NETFILTER_XT_MATCH_LENGTH=m CONFIG_NETFILTER_XT_MATCH_LIMIT=m CONFIG_NETFILTER_XT_MATCH_MAC=m CONFIG_NETFILTER_XT_MATCH_MARK=m CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m CONFIG_NETFILTER_XT_MATCH_NFACCT=m CONFIG_NETFILTER_XT_MATCH_OSF=m CONFIG_NETFILTER_XT_MATCH_OWNER=m CONFIG_NETFILTER_XT_MATCH_POLICY=m CONFIG_NETFILTER_XT_MATCH_PHYSDEV=m CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m CONFIG_NETFILTER_XT_MATCH_QUOTA=m CONFIG_NETFILTER_XT_MATCH_RATEEST=m CONFIG_NETFILTER_XT_MATCH_REALM=m CONFIG_NETFILTER_XT_MATCH_RECENT=m CONFIG_NETFILTER_XT_MATCH_SCTP=m CONFIG_NETFILTER_XT_MATCH_SOCKET=m CONFIG_NETFILTER_XT_MATCH_STATE=m CONFIG_NETFILTER_XT_MATCH_STATISTIC=m CONFIG_NETFILTER_XT_MATCH_STRING=m CONFIG_NETFILTER_XT_MATCH_TCPMSS=m CONFIG_NETFILTER_XT_MATCH_TIME=m CONFIG_NETFILTER_XT_MATCH_U32=m CONFIG_NFT_CHAIN_ROUTE_IPV4=m CONFIG_NFT_REJECT_IPV4=m
Re: I Can't use adminer
> > You must also install and setup a php-enabled web server for it to > > work. > > > > The simplest way to get it running is: > > $ cd /usr/share/adminer > > $ php -S localhost:8000 > > > > and you'll find adminer at http://localhost:8000/adminer/ > > > > (There are many other ways to run a php app) > > > > Alex > > Thanks. I make a file in /etc/apache2/conf-available/adminer.conf And > place > Alias /adminer.php /usr/share/adminer/adminer/index.phpthis. Is > it allright? You must also enable some php runtime to process the scripts. In your case, maybe libapache2-mod-php is the simplest. There are numerous tutorials about how to do this. Feel free to get back here if you get stuck somewhere in the process. Alex
Re: I Can't use adminer
Hi, > I want to use adminer for php operations. I installed it via apt install > adminer. > But I am not able to open it on localhost. Can anyone help me? You must also install and setup a php-enabled web server for it to work. The simplest way to get it running is: $ cd /usr/share/adminer $ php -S localhost:8000 and you'll find adminer at http://localhost:8000/adminer/ (There are many other ways to run a php app) Alex
Re: systemd-nspawn + systemd-networkd
Hi, For the container I need a static address, I know in can be configured on container side. Is there a way to do this config only on host side? Edit a file to bind mac address and ip for example. Like kvm network or "real" dhcp can do? There does not seem to be any other option than running a full featured DHCP server or configuring networking in the container. Alex
Re: Windows 10 & Debian 9: Win 10 not updating
Hi, >Problem: Neither Win 10 OS has been able to successfully update since >about last April. I have tried all the things I have found in an >Internet search, including making sure the Win partition is marked >boot-able, and downloading and running the Win 10 trouble shooter--all >to no avail. A while ago I had found out that bypassing grub, that is boot to Windows using the bios boot menu, helped some specific win7 updates get installed. Maybe this is the same here. Good luck. Alex
Re: Upgrading with a low data cap
Hi, > Something just brought to mind apt-offline. The introductory paragraph > in the man page states: > > apt-offline brings offline package management functionality to Debian > based system. It can be used to download packages and its dependencies > to be installed later on (or required to update) a disconnected machine. > Packages can be downloaded from a different connected machine. > > Don't know how suitable it would be FOR ME. However studying its use may > prompt questions &/or answers I haven't thought about. >From looking at the source[1], apt-offline seems to be looking in the local cache first before fetching files from the Web. [1] https://github.com/rickysarraf/apt-offline/blob/master/apt_offline_core/AptOfflineCoreLib.py#L1231 Alex
Re: Autologin not working (lightdm, openbox)
Hi, > Before anyone asks, i've looked all over the wiki and every other post online > so i'm not sure why this isn't working. When I start up my machine X starts > up fine. and it goes to the lightdm login screen, but it still makes me put > in the password. > > My user is in the autologin and nopasswdlogin groups, i've made the right > changes to both the files listed below as A and B sources. I've always had no problem with autologin with lightdm, all I ever had to do was to set autologin-user in the [Seat:*] in /etc/lightdm/lightdm.conf . Another option that I have used successfuly is using lightdm-autologin-greeter and setting up autologin-user in /etc/lightdm/lightdm.conf.d/lightdm-autologin-greeter.conf I guess you already checked this but double check you are able to login with that user using a password. Alex
Re: Cannot start davmail service
Hi, > I have a problem with davmail package in debian testing and need some advise. > > If I install it I can start and stop the service via systemctl without any > problem and it works flawlessly. > > However, after a reboot, the service does not start. I get the following > error: > > abr 26 10:51:00 localhot systemd[17207]: davmail.service: Failed to execute > command: Exec format error > abr 26 10:51:00 localhot systemd[17207]: davmail.service: Failed at step EXEC > spawning /usr/bin/davmail: Exec format error davmail is an executable jar which uses jarwrapper which uses binfmt_misc[1] to make arbitrary files executable. It seems the binfmt-support service has not run properly on your machine. Does restarting it fix the problem? [1] https://en.wikipedia.org/wiki/Binfmt_misc Alex
Re: on-screen artifacts (red pixels) at high resolution with Intel HD 630 (Kaby Lake)
>> Two other PCs (Linux and Windows) going through the same HDMI cable to >> the same TV and same TV port using the same 1920x1080 resolution work >> perfectly. > > How long is the cable? Do you have access to another to try? ~20% of the HDMI > cables I have are either useless or flaky with at least one device. Same symptoms with another cable. > Does the TV label any of its HDMI ports differently from the others? One of > mine > does, labeling one HDMI-3/DVI. It does behave differently than the others. Same symptoms with the other TV ports, some being worse than others. >> Outputting to another 1920x1080 monitor works well. > > Do you have another, to which you could connect using DisplayPort or HDMI? Yes, another screen is working perfectly through the same HDMI cable. >> I've tried multiple combinations of Xorg setup with no working setup : >> - modesetting Xorg driver with glamor or none as AccelMethod >> - intel Xorg driver with sna or uxa as AccelMethod, DRI 2 or 3. >> I've also tried with i915.enable_rc6=0 and this does not change anything. > > The log you previously attached reports "Indeterminate output size" from the > Samsung 659's EDID. I wonder if it would change anything to include an output > size in xorg.conf? > > Same log shows both 60.0 and 59.9 1920x1080 modes. You could try forcing to > use > the other, or 50.0, at least to see if the problem remains. $ xrandr # bad picture Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192 DP-1 disconnected primary (normal left inverted right x axis y axis) HDMI-1 disconnected (normal left inverted right x axis y axis) HDMI-2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 160mm x 90mm 1920x1080 60.00*+ 50.0059.9430.0025.0024.00 29.9723.98 1920x1080i60.0050.0059.94 1600x1200 60.00 1680x1050 59.88 1280x1024 75.0260.02 1440x900 74.9859.90 1280x960 60.00 1360x768 60.02 1280x800 59.91 1152x864 75.00 1280x720 60.0050.0059.94 1024x768 75.0370.0760.00 832x624 74.55 800x600 72.1975.0060.32 720x576 50.00 720x480 60.0059.94 640x480 75.0072.8166.6760.0059.94 720x400 70.08 DP-2 disconnected (normal left inverted right x axis y axis) HDMI-3 disconnected (normal left inverted right x axis y axis) $ xrandr -s 1920x1080 -r 30 # good picture, yeah! thanks! $ xrandr # seems like I switched to 1080i [...] 1920x1080 60.00 + 50.0059.9430.0025.0024.00 29.9723.98 1920x1080i60.00* 50.0059.94 [...] The problem remains using xrandr -s 1920x1080 -r 50. What I do not understand is : $ xrandr -s 1920x1080 -r 59.94 Rate 59.94 Hz not available for this size Because the refresh rate is listed. Seems like a rounded output? Also, documentation is lacking for xorg.conf.d (or I could not find it) because the following does not seem to be taken into account : $ cat /etc/X11/xorg.conf.d/20-samsung.conf Section "Monitor" Identifier "SAMSUNG" Option "PreferredMode" "1920x1080i" # or whatever value EndSection so I'm stuck with the xrandr call in ~/.xsession . >> I would also love >> to get any other idea or pointer regarding solving this. > > Bring it up on: > http://lists.freedesktop.org/mailman/listinfo/intel-gfx Will do when I understand refresh rate manipulation a bit more. Thanks _a lot_ for the pointers. Alex
Re: on-screen artifacts (red pixels) at high resolution with Intel HD 630 (Kaby Lake)
>> I'm experiencing red blinking pixels in dark areas in the displayed >> Xorg picture on my TV connected using a HDMI cable. > > can you test with another HDMI cable? Just because the HDMI cable works > under Windows or Linux with a different GPU does not mean it will work under > Linux with your HD Graphics 630. I am no expert, but there are all sorts of > complications like HDMI clock frequency and colour depths. Linux with your > 630 might be negotiating an HDMI connection that almost works but that your > cable cannot reliably support. I would try another HDMI cable to eliminate > it as an issue. Bad or marginal HDMI cables are a common problem. With another HDMI cable, I have the same symptoms. With the same cable, TV, and computer, under Windows, picture is perfect. Alex
Re: on-screen artifacts (red pixels) at high resolution with Intel HD 630 (Kaby Lake)
Hi, I finally got some time to investigate further. Setup I'm running Debian Stretch with a backported 4.13 Linux kernel on an Intel Kaby Lake (chipset H110 and HD graphics 630) machine. I've installed firmware-misc-nonfree and updated my BIOS to fix the Kavy Lake HT bug. Problem I'm experiencing red blinking pixels in dark areas in the displayed Xorg picture on my TV connected using a HDMI cable. Looking more closely, I also see blue pixels. Those anomalies seem to follow colors in the displayed picture. They occur on the root window, in mpv, vlc, at least, it seems color based and not app based. Hardware tests Two other PCs (Linux and Windows) going through the same HDMI cable to the same TV and same TV port using the same 1920x1080 resolution work perfectly. The same PC when using Windows 10 also displays a perfect picture. Using a HDMI port multiplier makes the problem worse. Outputting to another 1920x1080 monitor works well. Software tests Ubuntu 17.10 on a live CD show the same symptoms. I've tried multiple combinations of Xorg setup with no working setup : - modesetting Xorg driver with glamor or none as AccelMethod - intel Xorg driver with sna or uxa as AccelMethod, DRI 2 or 3. I've also tried with i915.enable_rc6=0 and this does not change anything. Lowering the resolution to 1280x720 works around the problem. My conclusion Windows 10 manage to setup the video GPU to input a stronger HDMI signal and my TV is sensitive to this. I was wondering if there was anything I could investigate further regarding this. I would also love to get any other idea or pointer regarding solving this. Thanks for reading, Alex
Re: on-screen artifacts (red pixels) at high resolution with Intel HD 630 (Kaby Lake)
> could you show your Xorg.0.log files? Here it is attached. > The Kaby Lake GPU needs some firmware. Therefore, what is the print out of > grep firmware /var/log/dmesg $ sudo dmesg | grep firmware [9.165601] i915 :00:02.0: firmware: direct-loading firmware i915/kbl_dmc_ver1_01.bin [9.166202] [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_01.bin (v1.1) Xorg.0.0.log.gz Description: GNU Zip compressed data
Re: on-screen artifacts (red pixels) at high resolution with Intel HD 630 (Kaby Lake)
> The image with errors looks as it was manipulated in a photoeditor, eg. > Gamma/levels curves ... Does the driver have some image adjustment enabled? I use defaults everywhere, and the behavior is the same with a ubuntu live image. $ xgamma -> Red 1.000, Green 1.000, Blue 1.000
Re: on-screen artifacts (red pixels) at high resolution with Intel HD 630 (Kaby Lake)
> Screenshot [1] looks normal to me, but on screenphoto [2] I clearly see > red-ish stripes and pink spots in the middle. > > Now it looks like your LCD could be faulty not PC hardware\software. Can you > test it with another LCD monitor, or connect it to TV via HDMI cable if it's > possible? The same TV and cable work fine at the same resolution with another PC and another laptop. The same TV, cable and same computer work fine if using Windows 10. So the problem only happens with that PC _AND_ Linux/Xorg. Alex
Re: on-screen artifacts (red pixels) at high resolution with Intel HD 630 (Kaby Lake)
(please CC me as I am not subscribed to the list) > A screenshot would be helpful. Does these artifacts appear every single time > or sporadically? The artifact appear at the same place every single time and seem to follow (in videos) a single set of colors (dark brownish areas). You can look at a screenshot[1] of the root window image as taken by imagemagick and the photo[2] of the result on the screen. [1] https://sml.zincube.net/~niol/tmp/screenshot.jpg [2] https://sml.zincube.net/~niol/tmp/screenphoto.jpg > I'd suggest to check RAM first of all with `memtest86+` and let it run > overnight. Not sure if test will get into memory area used as video memory > though. The system is otherwise quite stable, and also brand new. I have two RAM banks, and I tried with both alone with no improvement. I'll test the memtest but chances both of the RAM sticks are not good seem unlikely. > There was a microcode bug discovered recently in Kabylake-Skylake CPUs. It > causes memory corruption if I remember it correctly. It could be fixed for > certain CPUs by updating firmware for your motherboard or installing > "intel-microcode" package. It could be the cause for your issue. I had updated the BIOS/UEFI for this fix, but installed intel-microcode to be sure and this did not change anything (microcode version is the same and artifacts still present). Thanks for your advice, Alex
on-screen artifacts (red pixels) at high resolution with Intel HD 630 (Kaby Lake)
(please CC me as I am not subscribed to the list) Hi, I am experiencing on-screen artifacts (red dots) when running at 1920x1080 on HDMI out. I've ruled out a hardware (cable, TV or GPU) issue by installing win10 which does not show those problems. This is by using stretch, issue occurs with both kernel 4.9 or 4.13 available in the backports. The hardware is intel HD 630 (Kaby Lake). Xorg uses the modeset driver. I was wondering where to get help regarding whether this is a bug : - xorg? - kernel i915? - kernel drm? - other component? Thanks, Alex
Re: python readlines() is slow when run in an apache2 cgi running in a vserver
So, I finally solved my problem[1]. Darcsweb was slow under vserver because python dup2 is slow when ulimit -H -n is high : closing all those fd's in a python loop is slow, see Lib/popen2.py in the python source that says : for i in xrange(3, MAXFD): try: os.close(i) And in a vserver, the default ulimit -H -n which is RLIMIT_NOFILE is 1024^2. This means that MAXFD is also 1024^2 and that the loop is long. This does not happen on a Gentoo box because the gentoo apache2 initscript does not use apache2ctl whereas debian does. And because of this magic line in /usr/sbin/apache2ctl : ULIMIT_MAX_FILES="ulimit -S -n `ulimit -H -n`" soft limits become hard and apache gains 1024^2 max fd's. Thanks to the good guys at #vserver irc channel, I fixed my slowness doing : echo 1024 >/etc/vservers//ulimits/nofile.hard I still do not know where this 1024 on the host or this 1024^2 on the guest come from, but my problem is fixed. Cheers everybody, Alexandre [1] http://lists.debian.org/debian-user/2007/01/msg02688.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
python readlines() is slow when run in an apache2 cgi running in a vserver
Hi, I'm just clueless with one particular behavior of the readlines function. I've written a sample program that illustrates this "prehaps bug" I'm encountering. The box I used for this is an AMD Sempron 2800+ with 256 Mb of RAM : - When run on this standard etch box as a cgi script in apache2, it runs in less than a second. - When run in a vserver guest on this standard etch box from the commandline, it runs in less than a second. When run in a vserver guest on this standard etch box as a cgi script in apache2, it takes 7 seconds to complete! During this time, CPU usage is 100%. A friend of mine cannot reproduce on a Gentoo box with a similar setup. Updating vserver and the kernel to the latest version does not fix the problem. Using a brand new vserver (using newvserver and aptitude install apache2, with standard conffiles) does not fix the issue. I've narrowed the problem to the readlines() function. Questions arise from this : - can I narrow it better than readlines(), perhaps in C/C++ ? - is this apache2's or vserver's fault although similar perl or php programs (i.e. that read input) do not have the same problem? - any ideas, advices on all this? Thanks in advance, Alexandre test.cgi Description: Binary data
Re: ways to prevent certain programs accesing the internet in Linux
> I just wonder how I can control which programs can or cannot have > access to the internet/intranet or resources outside the local > computer. This may be what your are looking for. http://www.debian-administration.org/articles/120