debian - How can I configure Octave to use gnuplot for plotting directly to image files?

I'm using Octave in a CLI only environment. I want to export plots to image files(jpg or png or any other image format). I read from manual that I can switch to gnuplot graphics by graphics_toolkit(gnuplot). I use the following commands in gnuplot to output a plot as file (as I can't use plot function in Octave due to absence of X11).set terminal pngset output "test.png"plot "data1.txt"unset outputBut I can't figure out a way to set terminal and output variables from Octave. So my question is how can I set those two variables from octave so th...Read more

debian - Supervisor fails to restart half of the time

I'm trying to deploy a Django app using Uwsgi and supervisor on a machine running Debian 8.1.When I restart via sudo systemctl restart supervisor it fails to restart half of the time.$ root@host:/# systemctl start supervisor Job for supervisor.service failed. See 'systemctl status supervisor.service' and 'journalctl -xn' for details.$ root@host:/# systemctl status supervisor.service ● supervisor.service - LSB: Start/stop supervisor Loaded: loaded (/etc/init.d/supervisor) Active: failed (Result: exit-code) since Wed 2015-09-23 ...Read more

debian - Packaging systemd without start service on install

I package my software with dpgk and dh-make for create directory and files.I would like to add systemd support, so I installed dh-systemd.But, after packaging, I try to install my package, the service is started.I would like to install my .deb without starting the service.Here my debian/rules file:%:dh $@ --with=systemdoverride_dh_installinit: dh_installinit --name=myapp --no-startI follow this : https://manpages.debian.org/testing/debhelper/dh_installinit.1.en.html I don't understand why the service startThanks ! :)...Read more

debian - Systemd unit does nothing

I need to mount a filesystem after another one but because there is apparently no way to specify an order in /etc/fstab, I made a systemd unit file like that:[Unit]Description=MountAfter=local-fs.target[Service]Type=simpleExecStart=/bin/mount /mnt/dir[Install]WantedBy=multi-user.targetThe problem is that it doesn't fail, but it doesn't succeed either. When I manually do systemctl restart <service> nothing happen, the filesystem is not mounted. If I do mount /mnt/dir it works though......Read more

debian - unattended-upgrades.service lacks ExecStart setting. Refusing

When I try to run apt-get upgrade, or install a package, I got following error response:Setting up unattended-upgrades (0.93.1+nmu1) ...Failed to start unattended-upgrades.service: Unit unattended-upgrades.service failed to load: Invalid argument. See system logs and 'systemctl status unattended-upgrades.service' for details.invoke-rc.d: initscript unattended-upgrades, action "start" failed.dpkg: error processing package unattended-upgrades (--configure):subprocess installed post-installation script returned error exit status 6Processing trigg...Read more

debian - LVM2 reporting a much smaller size than MDRAID

I have four 1.5TB drives raid 5'd with mdadm. According to mdadm, this raid group has a size of 4.5TB (makes sense as the cost of RAID 5 is ~1 disk's worth of space). On top of this mdraid, I have a lvm group. LVM reports (via pvdisplay) that only 3000GB (or 2.73 TiB) is available for the volume. What is going on here?Here is the output of various commands that might be useful: sudo mdadm --detail /dev/md2 /dev/md2: Version : 1.2 Creation Time : Sat May 26 18:28:26 2012 Raid Level : raid5 Array Size : 4395406848 (4191....Read more

debian - why guest additions needs xorgs packages

trying to install a vagrant i figured out a problem.I tried to install a debian jessie os and followed procedure from several docs.I choosed not to install a desktop environment.During the process i had to install linux headers and then guest additions wich failed many times.googling it it was due to the lack of 2 xorg package.I don't get why you need to have this xorg packages to install properly guest additions.Does any one has any clue?...Read more

debian - Error message "Invalid option -session"

When I start Xorg on my Debian8 (Jessie), and when session is ready to work I get error message "invalid option -session". When I skip this message there's nothing wrong happens. I use Xfce graphical environment, when tried run FluxBox(I know it's only window manager) don't get error box. What can I do to prevent our message?...Read more

Xrandr debian black screen when changing resolution

Impossible to change the resolution on wheezy to 1920x1080 I'm stuck and I'd down a bit as 1360x768.At the beginning in nvidia-settings i only had the choice to 1920x1080, after adding: Option "ModeValidation" "AllowNonEdidModes" in my xorg.conf any resolutions are listed but black screen when i want to change ...Same problem with xrandr when I change:xrandr --output LVDS-0 --mode 1360x768 --rate 60 ==> black screenI tested lot of solution but nothing happens, now i think the problem is edid and kms; I got the file edid.bin from nvidia-setti...Read more

Configure debian server host for ipv6

I nee my website to be accessible though ipv6 network, I used this page (IPv6 6to4 Configuration) and got some results but my website is still not reachable in ipv6.I tested my domain (creforma.fr) on several websites:http://ipv6-test.com AAAA DNS record fe80::207:cbff:fe03:aee9 IPv6 web server web server is unreachable : Invalid argumenthttp://ready.chair6.net-DNS (IPv6 NS)PASSHostname creforma.fr does have IPv6-addressed nameservers defined.-DNS (IPv6 TLD NS)PASSHostname top-level domain (fr.) does have IPv6-addressed nameserv...Read more

debian - Setting up Bind9 Nameserver. Editing /etc/init.d/sysklogd help?

I'm following along with this tutorial and I've successfully gotten as far as a part which tells me to edit the "sysklogd" file in /etc/init.d/The tutorial tells me that in order to allow logging of bind activity, I need to replace the lineSYSLOGD=""withSYSLOGD="-a /var/lib/named/dev/log"The trouble is that I can't find the first line.Has the sysklogd file changed since the time this tutorial was written? Should I just inset the line myself?Here is the contents of sysklogd below. I'm sorry it looks horrendous, I tried to format it better but it...Read more

On Debian Mate, Visual Studio Code renders fonts badly

Since a few days ago, Visual Studio Code badly displays fonts. I'm currently under Debian Buster with Mate as the desktop environment. As I don't know how to correctly describe the display, here are some screenshots (it's particularly visible in the fourth one) :File exampleA zoomWhen I open the View menuA zoom (again)Here are the actions I remember having done before noticing the problem :Creating a backup with Back In Time (I doubt the problem comes from this one)Upgrading from Debian "Stretch" 9 to Debian "Buster" 10Installing Firefox Quantu...Read more

Enabling WPS in wpa_supplicant on Debian (Raspbian Jessie)

I have a wireless network router setup under debian (jessie on a Raspberry Pi) with a fixed IP address, DHCP serving - and it all works fine.Now I want to enable the router (raspberry) to allow connections setup using a WPS button event.My (working) wpa_supplicant.conf looks like country=GB ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 #CONFIG_DRIVER_NL80211=y #CONFIG_WPS=y #CONFIG_WPS2=y #CONFIG_WPS_ER=y #uuid=6d035d39-aa07-5517-9e31-efd399828e00The commented outlines are things I have gradually added to try to enable...Read more

multi touch - Debian Jessie 8.3 can't close windows with touchscreen

I've got a problem with Debian Jessie (8.3 with XFCE) and can't use any one else.Touch screen works almost correctly ( cursor fallows finger, select new window when click on it ) but can't access to windows icons placed on menu bar (on right top: open, minimize maximize etc...). Nothing happen whenI click on it.I recompiled hid_multitouch drivers with last version of jessie and issue is not resolved.This is some information about the touchscreen device: lsusb: Bus 003 Device 004: ID 0c45:8420 Microdia. dmesg on connexion plug: Jan 2 2...Read more