libera/#devuan/ Thursday, 2019-11-28

edoooooonI have been trying to figure this out for a few weeks now and feel like it's a super simple answer that I am missing. I am trying to do a port forward to VNC over SSH. "ssh -4 -L 5901:127.0.0.1:5901 -N -f -l user domain.com" - when I try on ascii (and other computers/OSs) I can do this no problem, but after upgrading to beowulf no luck. To test I rebuilt beowulf on a new drive and tried again thinking it was something in my config, same00:51
edoooooonresult. Output of ssh -vvv here https://rentry.co/h6gzv - ssh is running on ipv4 and I can ssh to the box directly no problem.00:51
golinuxedoooooon: Might have something to do with this: https://dev1galaxy.org/viewtopic.php?id=285800:58
fsmithrededoooooon, what do you mean by 'port forward'?00:59
fsmithredyou just trying to run vnc in ssh tunnel?01:00
edoooooonfsmithred: yeah. I just port forward port 5901 from my server to my localhost and connect with a vnc viewer to localhost:5901 using the command above.01:04
fsmithredbeowulf is your local machine or the remote?01:06
edoooooonlocal machine.01:06
fsmithredok, that means I need to get out of my chair. brb01:07
fsmithredworks here with slightly different command. I tested jessie to beowulf and beowulf to ascii01:09
edoooooonfsmithred: What command are you using?01:10
fsmithredI've got it set in a script to start in xterm. You can do without that part.01:11
fsmithredxterm -hold -e ssh -t -L 5900:localhost:5900 $remote_host 'x11vnc -localhost -display :0' &01:11
fsmithredxterm -hold -e vncviewer -encodings "copyrect tight hextile" localhost &01:11
fsmithredyou got a message about 'bind [127.0.0.1]:5901: Cannot assign requested address'01:13
fsmithredthat seems weird. What's your localhost address?01:13
edoooooonthose 3 lines are the error message that seem the most relevant.01:14
edoooooonbind [127.0.0.1]:5901: Cannot assign requested address01:14
edoooooonchannel_setup_fwd_listener_tcpip: cannot listen to port: 590101:14
edoooooonCould not request local forwarding.01:14
edoooooon127.0.0.1       localhost01:15
edoooooon127.0.1.1       mylocalcomputername01:15
fsmithredis right01:15
fsmithredwhat vnc are you using?01:15
edoooooonI dont really even get to the vnc, I run the ssh command first which fails.01:15
fsmithredand how are you starting it on the remote?01:15
fsmithredI'll try your command01:17
edoooooonOn the remote machine, I start vnc via cron. I can do this whole process on Ascii and from other computers (window, putty). For some reason on this computer running beowulf, and beowulf on my test computer, I cant seem to do the ssh. And I feel like ssh config is so simple this should be a no brainer but I haven't figured it out yet, driving me crazy01:19
fsmithredI'm getting a Usage: message01:21
fsmithredcan't see what's wrong with my command01:21
fsmithredok, I did 'user@remote' but 'user remote' does give me a login prompt.01:23
fsmithredThen just returns me to the local prompt.01:23
edooooooncorrect, it does return you to your shell, but the port has been forwarded.01:23
edoooooonnothing is wrong with your command, they do the same thing really except you spawn vnc in the ssh session and mine is always running reguardless01:24
edoooooonyour command and mine are the same really, in the first part ssh fails to do the port forwarding.01:25
fsmithredhave you tried using a different port? Does it think 5901 is occupied?01:28
edoooooonah yes, I did verify the local port was unused, and tried a random port "15900:127.0.0.1:5900"01:30
edoooooonchannel_setup_fwd_listener_tcpip: cannot listen to port: 1590001:30
edoooooonI also tried sudo/su01:31
systemdletethe damage from u-no-watt never ceases, it seems:  https://bbs.archlinux.org/viewtopic.php?id=18205502:48
systemdleteFrom that thread: hibernating, suspending etc. with upower is deprecated because it's more logical to use systemd+logind+polkit combination to achieve that capability for non-root users."02:49
systemdlete"More logical" --- ???02:50
systemdleteYeah, I guess it is more logical to drive the Benz than the Corolla.02:50
systemdleteThe rule today seems to be this:  If I need X, it has been deprecated in favor of X-systemd instead.02:56
djphsystemdlete: 'systemd-Xd'02:56
systemdleteoops.  You are correct!02:56
systemdlete(how foolish of me)02:56
djphs'all good :)02:57
systemdleteMeanwhile, the power manager in xfce don't work correctly anymore, which results in messy shutdowns when the power goes out here, like it did last night... 3x02:57
specingsystemd-devuan02:58
specingwhen?02:58
systemdleteWe had local power failures due to a bad storm here.02:58
systemdleteSeems a Pacific cyclone tore through here, knocking out power along the way.02:59
djphspecing: you go sit in the corner and think about what you've said.02:59
systemdleteRained like a dog.02:59
specingdjph:lol02:59
specingsystemd-devuand!02:59
systemdleteI hear there's a performance improvement coming up called systemd-everythingelsed03:00
systemdleteThat post, btw, is from 2014.03:01
specingsystemd-empired03:04
systemdletecysticd03:37
systemdleteI would like to add a shutdown script for handling running instances of VM's (there's a command that sends an acpi signal and it works).  I know how to do that part, and I understand how to create a kill script in /etc/init.d (and then add it to runlevels 0 and 6, right?).11:40
systemdleteWhat I want to know is, if there is a system update, do I need to worry that my local/custom script in /etc/init.d might be modified or obliterated somehow?11:40
systemdleteIt doesn't seem likely to me, but I'd just like a tiny bit of re-assurance.  Thanks everyone!11:41
r3bootYou can check to see if your script (/etc/init.d/somename) is mentioned in one of the devuan packages. If it is, it makes sense to rename your init script. If it doesnt, yay, you're upgrade safe11:43
systemdletethanks, good point r3boot!11:44
systemdleteI actually didn't think of that.11:44
systemdleteIt's unlikely, since I'll be calling mine vbox-something.  I think the only packages that put files there for vbox is vbox.11:45
r3bootAlternatively, if it is an existing script, and you cannot rename, you can always chattr +i the file to prevent it from being overwritten, but that will break your upgrades then11:45
systemdleteno, don't want to do that!11:45
r3bootGood :)11:46
systemdleteI'll just pick a VERY unique name, not likely to be duplicated11:46
r3bootvi /etc/init.d/`echo $RANDOM | sha1sum` ;P11:46
systemdleteI just checked, and there doesn't seem to be any packages even referring to vbox (aside from some isdn stuff, but I'll never use that I think)11:46
systemdleteehhh.  yeah.11:46
r3bootisdn, wow, people still use that??11:46
systemdleteI've heard (horror) stories that some people livig in at least certain parts of Australia still have ADSL11:47
guido_gprefix it with something like 'local-', so you have a pattern to search for (i.e. for backups)11:47
systemdleteyeah, I back up /etc every night anyway11:47
systemdleteand I can run a cron job to make sure that MY scripts got included in the backup11:48
systemdleteif not, send me mail, etc etc11:48
systemdleteI am not THAT paranoid about this particular issue, though.  I'd just like to achieve a more graceful shutdown when I lose AC here11:48
systemdleteLast night, I had 3 power outages.  Drove me crazy.11:49
onefangI'm in Australia, and I have ADSL.  Well, ADSL2.  lol11:49
systemdleteATM, I am trying to get a different issue addressed.11:49
systemdletesorry to hear that onefang.11:49
systemdlete(truly)11:49
onefangI had fibre to the bedroom in my last home, but had to move.11:50
systemdleteWe're "spoilt" here in the US; I pay $40/mo for about 80Gb down11:50
systemdletethe xfce4-power-manager seems to ignore my "critical power" setting.  It is the default, 10%.11:50
systemdleteBut I noticed that it was being ignored.  On the 3rd go around (when my UPS started beeping up a storm), I watched as the power level dropped11:51
systemdleteIt got to 8%, and still, the shutdown did not start.11:51
systemdleteI googled this issue and found a few hits.  Seems others have this also.11:51
systemdleteFiled a (potential) bug against this; waiting for response.11:52
systemdleteactually, not a bug, per se.  Just a post to the forums at xfce.   Hate filing actual bugs if they aren't.11:56
systemdleteCould be something wrong at my end, or something easy to correct.11:56
systemdleteonefang:  How fast is your ADSL2?  Doesn't that vary with distance to the ISP or phone company office, just like DSL?12:00
systemdleteWhen I had DSL, I thought I was the King of the Internet, with (I think) 256Mbps.  That was in Seattle, c. 1997 or so12:01
* r3boot used to run on 8/1 ADSL. Slow like molasses, but it was very reliable. Most of the old POTS connections have been disabled in .nl tho, and nowadays I am on 100/100 fiber12:06
r3boot(for 45 euro/month btw, so that's pretty cheap :)12:06
systemdletewell, that's a good bit more than $40 I pay.  What are you getting for that?12:09
r3boot100/100mbit, non-ratelimited12:09
r3bootplus fixed ip addresses, reverse-dns, ipv6 delegations, etc12:09
systemdleteso you are paying about 25% more and getting 25% more than I am.12:09
r3boot(and I get to talk to the admins over IRC, which is also nice :)12:10
* systemdlete envies Europeans12:10
guido_gdon't12:10
systemdleteI am noticing that Ascii has the 1.4.1 version of the power manager for xfce4.12:10
guido_gthere are parts wher eyou can't get this kind of connection12:10
systemdleteBut that was released about 5 years ago.12:10
r3bootyep.. .nl is pretty good wrt internet connectivity, esp compared to the rest of europe12:11
guido_gack, .de sucks (still)12:11
r3bootThere are even experiments with 10GE connections12:11
systemdleteguido_g:  But that's true in every country.  If you live in or near a major city, there is usually a cable provider, and they push Internet through their TV cable.12:11
systemdleteSo I am running with ancientware.  That's probably the most likely explanation.12:12
guido_gyeh, hamburg is way to small...12:12
systemdleteHamburg?  Seriously -- shipping mecca doesn't have HSI?12:12
guido_gwelcome to germany12:12
r3bootUgh .. I remember needing to hookup an office in berlin some years ago, and that was *so* frustrating. Only copper available at the location, while just across the street there was a DT fiber, but they would not attach the other side of the road :(12:13
systemdleteThat surprises me.  The Germans are usually far ahead in tech, aren't they?12:13
guido_gyou're reading history books too much12:13
r3boot(and the copper itself was total crap, with quite a lot of synchronization issues)12:13
r3boot(some 500m from alexanderplatz btw)12:14
systemdleteI ran into something like that here.  When I was living in Phoenix, a downtown(!) commercial building did not have cable service.  So they had copper, and sucky service.12:14
systemdleteBut, me, living about a mile or two away, in a crappy rental apartment, in the 'hood I mean, I had cable.12:14
systemdleteGo figure.12:14
systemdleteAnyway, there's been 3 releases since then.12:15
systemdletebeowulf has 1.6...12:16
systemdleteLooks like I just need to wait for beowulf.12:16
systemdleteIt's not that pressing really.  Linux cleans up hard shutdowns very nicely; still, it's not nice to do that, and I have had problems in a few cases where even after fsck cleaning up the file systems12:17
systemdletethere was still some breakage.12:18
guido_ghmm what changed here since yesterday: https://gist.github.com/guidog/b9d877d7119a310d51f27c9cabedf76812:18
guido_ggetting these errors now12:18
systemdleteHopefully there won't be another incident like this for a while.  And, no, I am not in a PG&E service area -- we have our own utility here.  I don't think we need to worry about blackouts due to the fires in California.12:19
systemdleteI ran into missing release files at bareos.org, but I think I got around it by rebuilding the key for it.12:20
systemdletesomething like apt-key adv and such12:20
systemdleteanyone have even a flimsy estimate when beowulf might arrive?  Months or weeks do you think?12:21
systemdleteWell, it's 3am here and I think I've beaten my head against a wall enough for one day.12:23
systemdleteThanks all for the help and the convo.12:23
systemdletenight all!12:23
furrywolfalso, I'm perm-banned from ##woodworking, which is proof we need another woodworking channel.  :)17:19
furrywolfgrr, wong window.  lol17:19
r3bootnah, just do proper ban evasion, it's doable :)17:20
furrywolflol.  I could, and given as it's been like five years the founder is very unlikely to notice (or remember that I existed), but that won't fix the real problem.17:21
djphthat you're a bad dog and got yourself banned?17:27
furrywolfno, that the founder is a biggoted prick, who banned me for not being a person acceptable to his christian world view.17:29
r3boot.. not as bad as ISOC tho .... http://www.circleid.com/posts/20191127_why_i_voted_to_sell_org/17:29
guido_gthe woodworking channel, crosses only! ;)17:29
guido_glots of assh*s around17:31
furrywolfr3boot:  hrmm, that looks to me like "it'll be ok!  they've promised not to be evil!"17:33
r3bootcorrect. It's a major sellout. They want money, because their steady income based on domain registrations is not enough, and it's 'okay', since the equity firm promises to do good(tm)17:34
r3bootBasically they're selling .org from a non-profit to a investment corporation17:34
systemdleteMost people complain about the chirping noises coming from their UPS.  But I have a different problem now:  The only time my UPS chirps is when I turn it on.18:17
systemdleteIt's an APC Back-650.18:17
systemdleteand the xfce4-power-manager is giving the wrong info -- telling me it's on battery when it shouldn't be, or on AC when it shouldn't be, and often there is a delay before it updates itself.18:18
systemdleteIs the problem that my UPS is now totally fried?18:18
systemdleteI've had it several years, but I don't remember how long.18:19
systemdleteAnd there is no chirp indicating when it is going to battery power and back.18:19
systemdleteAnd, damnit, it's a federal holiday in the US, so there is probably no place to get a new one if this one is done for.18:20
systemdleteI'm thinking that maybe the UPS's brain is scattered, so the monitor applet is not getting correct/timely info?18:21
furrywolfyeah, I wanted to go to the hardware store today, but they're closed...18:21
systemdleteI guess Target and Walmart are possibilities, but I hate buying anything in those stores.  And Fry's Electronics is almost definitely out of the question.18:22
systemdleteBest Buy is nearby me, but I'm certain they are closed also.18:22
systemdletehmmm.  Looks like Best Buy might be open today after all, starting at 5PM.  Getting the jump on black Friday I suppose.18:24
systemdleteWonder if it pays to spend $13 on a new battery for the UPS or just chuck the whole thing and get a new UPS.  I'd think the electronics are prob still OK even if the battery is nearing the end18:42
snake0UPS usually just need new batteries, when they start beeping after 3-5 years.19:02
golinuxGood grief Please keep this channel related to Devuan.19:10

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!