=== brainwash_ is now known as brainwash === guiverc2 is now known as guiverc [05:51] Is there a way to set a working equalizer which whould equalize all the sounds in the system before playing them? [05:51] Haven't found anything working yet. [05:59] I hear a lot of crackling from fluidsynth/qsynth when theres a lot of sound going on (e.g. 4+ notes being played and a youtube video in the background, or just using a complicated soundfont). Qsynth complains about not being able to change priority, and when ran as root it freezes the computer, requiring me to go into a tty to pkill -9 qsynth. Any [05:59] ideas? [08:25] Good morning. Whats the alternative to "/etc/rc.local" on Xubuntu last version? I need to start a command when the SO boot up [08:26] I thought to do it with crontab @reboot but I reed that in some distros and versions doesnt work always fine [08:35] just add a oneshot service [08:35] rc.local really wasn't a good solution for anything at any point in time :) [08:36] And how can I do that? I mean add the service [08:38] !systemd [08:38] systemd is the default init system for Ubuntu 15.04 onwards. For information on transitioning from upstart to systemd, see https://wiki.ubuntu.com/SystemdForUpstartUsers For a guide to basic service management with systemd, see https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-systemd-services-and-units [08:38] xubuntu88w: https://pastebin.com/raw/RXd5BMv5 [08:38] put that in /etc/systemd/system [08:38] systemctl daemon-reload [08:38] systemctl enable whateveryoucalledit.service [09:11] So, if I get it right, I created a file on /etc/systemd/system/ and the file have the next info: [09:12] [Service] [09:12] Type=oneshot [09:12] ExecStart=x11vnc -forever -rfbauth [pathfile] [09:15] Ups, actually the ExecStart= it contain the path to a .sh file where is the command line [09:21] you might need to add some Requires= in that, like X as a guess [09:26] https://unix.stackexchange.com/questions/402201/creating-x11vnc-system-service might help [09:51] why anyone would want to use -rfbauth is beyond me. "Note that due to the VNC protocol only the first 8 characters of a password are used (DES key)." [09:53] ssh is enough for most people [09:54] exactly. and heaps more secure by default. [09:54] some demand the gui though ... [09:54] but you can still run x11vnc and tunnel the actual VNC data over a ssh session. this is exactly what I suggested yesterday, but this wasn't taken into account by this individual for some reason. [09:55] oh well [09:55] security can be hard sometimes [09:56] :) [10:25] Hi to everyone, I still trying to run the service when the so boot up. The "systemctl status x11vnc.service" command give me the next error "x11vnc.service: Failed to execute command: Permision denied, and x11vnc.service_ Failed at step EXEC spawning /etc/.vnc/x11vncstart.sh: Permission denied [10:25] Both files x11vnc.service and x11vncstart.sh are in /etc/ with permissions for root [10:27] did you see "https://unix.stackexchange.com/questions/402201/creating-x11vnc-system-service might help" [10:32] xubuntu11w: uhm? a .sh file in /etc ? [10:33] xubuntu11w: is your .sh executable? [10:33] also, isn't x11vnc supposed to run in your session? [10:34] ah no [10:39] Ok, now the status service is right, the problem was the passwd file owner after changed the owner to root the service work fine now [10:49] For some reason, after reboot the system the service failed again with the same permissions error :/ [10:50] And yes well_laid_lawn i checked that link [10:51] pmjdebruijn the .sh is executable yes, if I executed the .sh from shell the vnc server start fine [10:51] keep in mind that systemd does not impart env vars like your shell does [10:51] you need to use Environment=WHATEVER=whatever to set anything that process needs in an env var [10:55] But if I put the order command into the "ExecStart=" or if the "ExecStart=" target a .sh file, should work fine, no? [10:57] not sure what you mean [10:57] For example: I have the next file into /etc/xdg/autostart/whatever.desktop [10:58] [Desktop Entry] [10:58] Name=whatever [10:58] please use pastebin [10:58] Exec= xmodmap -e "pointer = 1 2 99" [10:58] keep in mind a .desktop is executed inside your desktop session [10:58] a .service is not, and that's a HUUUUUUGE difference [10:59] And that file execute that command when a user log in, basicly i wnat to do the same but with x11vnc command but when the SO boot up [11:00] SO? [11:00] OS* sorry [11:00] Operative System [11:00] yeah no clue about the specifics [11:00] again, it seems x11vnc is built to run in session [11:00] without a user logged in, there is no session [11:02] the tricks in that stackexchange thing is probably to simulate a session environment [11:02] but you'll have to struggle through that [11:06] I've seen the vnc working without a session and then, login with a user [11:07] I never said I couldn't be done [11:07] I'm just saying it's non-trivial [11:07] again, did you read the stackexchange article thoroughly [11:08] also what specific permissions error [11:08] pastebin journalctl -u yourservice [11:09] I didnt see any "stackexchange article". It didnt say anything else, just "Failed to execute command: Permission denied" [11:09] Wait, because Im in another machine [11:11] -- Logs begin at Fri 2020-02-14 13:52:15 CET, end at Wed 2020-02-26 12:00:58 CET. -- [11:11] x11vnc -forever -rfbauth /etc/.vnc/passwd [11:11] /etc/.vnc/x11vncstart.sh: Permission denied [11:13] sorry, the session expired. Here is the journal [11:13] -- Logs begin at Fri 2020-02-14 13:52:15 CET, end at Wed 2020-02-26 12:00:58 CET. -- [11:13] x11vnc -forever -rfbauth /etc/.vnc/passwd [11:13] /etc/.vnc/x11vncstart.sh: Permission denied [11:15] The chat is just send me out when I paste the journal xD [11:15] -- Logs begin at Fri 2020-02-14 13:52:15 CET, end at Wed 2020-02-26 12:00:58 CET. -- [11:15] x11vnc -forever -rfbauth /etc/.vnc/passwd [11:16] -- Reboot -- [11:16] viladomat-pc systemd[1]: x11vnc.service: Main process exited, code=exited, status=203/EXEC [11:16] feb 26 11:29:14 viladomat-pc systemd[1]: Started Inicia x11vnc al arrancar. [11:16] systemd[1]: x11vnc.service: Main process exited, code=exited, status=203/EXEC [11:17] Now with the journal I see the "Executable path is not absolute error" [11:24] i downloaded Xubuntu 19.10 (Eoan Ermine) i found now that it was supported until July 2020D: [11:25] Well, I have to leave now, I will try to run the service later [11:25] Anyway, thanks to everyone for your help and patient :) [11:29] xubuntu82w: was? it still is supported [11:30] yes, i means ... just till july 2020? [11:37] xubuntu82w: you will keep upgrading to the next release [11:37] every 6 months basically, unless you switch to the LTS cycle [11:39] thanks! === GridCube_ is now known as GridCube [15:09] Is there a place where the raw images for the mouse pointer graphics are stored? I mean in a kind of GIMP file, where mouse arrow and shadow are still separated? === GridCube_ is now known as GridCube