=== brainwash_ is now known as brainwash | ||
=== guiverc2 is now known as guiverc | ||
Robert18 | Is there a way to set a working equalizer which whould equalize all the sounds in the system before playing them? | 05:51 |
---|---|---|
Robert18 | Haven't found anything working yet. | 05:51 |
daffy1234 | 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 |
daffy1234 | ideas? | 05:59 |
xubuntu88w | 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:25 |
xubuntu88w | I thought to do it with crontab @reboot but I reed that in some distros and versions doesnt work always fine | 08:26 |
pmjdebruijn | just add a oneshot service | 08:35 |
pmjdebruijn | rc.local really wasn't a good solution for anything at any point in time :) | 08:35 |
xubuntu88w | And how can I do that? I mean add the service | 08:36 |
well_laid_lawn | !systemd | 08:38 |
ubottu | 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 |
pmjdebruijn | xubuntu88w: https://pastebin.com/raw/RXd5BMv5 | 08:38 |
pmjdebruijn | put that in /etc/systemd/system | 08:38 |
pmjdebruijn | systemctl daemon-reload | 08:38 |
pmjdebruijn | systemctl enable whateveryoucalledit.service | 08:38 |
xubuntu88w | So, if I get it right, I created a file on /etc/systemd/system/ and the file have the next info: | 09:11 |
xubuntu88w | [Service] | 09:12 |
xubuntu88w | Type=oneshot | 09:12 |
xubuntu88w | ExecStart=x11vnc -forever -rfbauth [pathfile] | 09:12 |
xubuntu88w | Ups, actually the ExecStart= it contain the path to a .sh file where is the command line | 09:15 |
well_laid_lawn | you might need to add some Requires= in that, like X as a guess | 09:21 |
well_laid_lawn | https://unix.stackexchange.com/questions/402201/creating-x11vnc-system-service might help | 09:26 |
lighterowl | 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:51 |
well_laid_lawn | ssh is enough for most people | 09:53 |
lighterowl | exactly. and heaps more secure by default. | 09:54 |
well_laid_lawn | some demand the gui though ... | 09:54 |
lighterowl | 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:54 |
lighterowl | oh well | 09:55 |
well_laid_lawn | security can be hard sometimes <shrug> | 09:55 |
lighterowl | :) | 09:56 |
xubuntu11w | 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 |
xubuntu11w | Both files x11vnc.service and x11vncstart.sh are in /etc/ with permissions for root | 10:25 |
well_laid_lawn | did you see "https://unix.stackexchange.com/questions/402201/creating-x11vnc-system-service might help" | 10:27 |
pmjdebruijn | xubuntu11w: uhm? a .sh file in /etc ? | 10:32 |
pmjdebruijn | xubuntu11w: is your .sh executable? | 10:33 |
pmjdebruijn | also, isn't x11vnc supposed to run in your session? | 10:33 |
pmjdebruijn | ah no | 10:34 |
xubuntu11w | 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:39 |
xubuntu11w | For some reason, after reboot the system the service failed again with the same permissions error :/ | 10:49 |
xubuntu11w | And yes well_laid_lawn i checked that link | 10:50 |
xubuntu11w | pmjdebruijn the .sh is executable yes, if I executed the .sh from shell the vnc server start fine | 10:51 |
pmjdebruijn | keep in mind that systemd does not impart env vars like your shell does | 10:51 |
pmjdebruijn | you need to use Environment=WHATEVER=whatever to set anything that process needs in an env var | 10:51 |
xubuntu11w | But if I put the order command into the "ExecStart=" or if the "ExecStart=" target a .sh file, should work fine, no? | 10:55 |
pmjdebruijn | not sure what you mean | 10:57 |
xubuntu11w | For example: I have the next file into /etc/xdg/autostart/whatever.desktop | 10:57 |
xubuntu11w | [Desktop Entry] | 10:58 |
xubuntu11w | Name=whatever | 10:58 |
pmjdebruijn | please use pastebin | 10:58 |
xubuntu11w | Exec= xmodmap -e "pointer = 1 2 99" | 10:58 |
pmjdebruijn | keep in mind a .desktop is executed inside your desktop session | 10:58 |
pmjdebruijn | a .service is not, and that's a HUUUUUUGE difference | 10:58 |
xubuntu11w | 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 | 10:59 |
pmjdebruijn | SO? | 11:00 |
xubuntu11w | OS* sorry | 11:00 |
xubuntu11w | Operative System | 11:00 |
pmjdebruijn | yeah no clue about the specifics | 11:00 |
pmjdebruijn | again, it seems x11vnc is built to run in session | 11:00 |
pmjdebruijn | without a user logged in, there is no session | 11:00 |
pmjdebruijn | the tricks in that stackexchange thing is probably to simulate a session environment | 11:02 |
pmjdebruijn | but you'll have to struggle through that | 11:02 |
xubuntu11w | I've seen the vnc working without a session and then, login with a user | 11:06 |
pmjdebruijn | I never said I couldn't be done | 11:07 |
pmjdebruijn | I'm just saying it's non-trivial | 11:07 |
pmjdebruijn | again, did you read the stackexchange article thoroughly | 11:07 |
pmjdebruijn | also what specific permissions error | 11:08 |
pmjdebruijn | pastebin journalctl -u yourservice | 11:08 |
xubuntu11w | I didnt see any "stackexchange article". It didnt say anything else, just "Failed to execute command: Permission denied" | 11:09 |
xubuntu11w | Wait, because Im in another machine | 11:09 |
xubuntu11w | -- Logs begin at Fri 2020-02-14 13:52:15 CET, end at Wed 2020-02-26 12:00:58 CET. -- | 11:11 |
xubuntu11w | x11vnc -forever -rfbauth /etc/.vnc/passwd | 11:11 |
xubuntu11w | /etc/.vnc/x11vncstart.sh: Permission denied | 11:11 |
xubuntu34w | sorry, the session expired. Here is the journal | 11:13 |
xubuntu34w | -- Logs begin at Fri 2020-02-14 13:52:15 CET, end at Wed 2020-02-26 12:00:58 CET. -- | 11:13 |
xubuntu34w | x11vnc -forever -rfbauth /etc/.vnc/passwd | 11:13 |
xubuntu34w | /etc/.vnc/x11vncstart.sh: Permission denied | 11:13 |
xubuntu35w | The chat is just send me out when I paste the journal xD | 11:15 |
xubuntu35w | -- Logs begin at Fri 2020-02-14 13:52:15 CET, end at Wed 2020-02-26 12:00:58 CET. -- | 11:15 |
xubuntu35w | x11vnc -forever -rfbauth /etc/.vnc/passwd | 11:15 |
xubuntu35w | -- Reboot -- | 11:16 |
xubuntu35w | viladomat-pc systemd[1]: x11vnc.service: Main process exited, code=exited, status=203/EXEC | 11:16 |
xubuntu35w | feb 26 11:29:14 viladomat-pc systemd[1]: Started Inicia x11vnc al arrancar. | 11:16 |
xubuntu35w | systemd[1]: x11vnc.service: Main process exited, code=exited, status=203/EXEC | 11:16 |
xubuntu35w | Now with the journal I see the "Executable path is not absolute error" | 11:17 |
xubuntu82w | i downloaded Xubuntu 19.10 (Eoan Ermine) i found now that it was supported until July 2020D: | 11:24 |
xubuntu35w | Well, I have to leave now, I will try to run the service later | 11:25 |
xubuntu35w | Anyway, thanks to everyone for your help and patient :) | 11:25 |
brainwash | xubuntu82w: was? it still is supported | 11:29 |
xubuntu82w | yes, i means ... just till july 2020? | 11:30 |
brainwash | xubuntu82w: you will keep upgrading to the next release | 11:37 |
brainwash | every 6 months basically, unless you switch to the LTS cycle | 11:37 |
xubuntu82w | thanks! | 11:39 |
=== GridCube_ is now known as GridCube | ||
DarkTrick | 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? | 15:09 |
=== GridCube_ is now known as GridCube |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!