edoooooon | I 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, same | 00:51 |
---|---|---|
edoooooon | result. 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 |
golinux | edoooooon: Might have something to do with this: https://dev1galaxy.org/viewtopic.php?id=2858 | 00:58 |
fsmithred | edoooooon, what do you mean by 'port forward'? | 00:59 |
fsmithred | you just trying to run vnc in ssh tunnel? | 01:00 |
edoooooon | fsmithred: 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 |
fsmithred | beowulf is your local machine or the remote? | 01:06 |
edoooooon | local machine. | 01:06 |
fsmithred | ok, that means I need to get out of my chair. brb | 01:07 |
fsmithred | works here with slightly different command. I tested jessie to beowulf and beowulf to ascii | 01:09 |
edoooooon | fsmithred: What command are you using? | 01:10 |
fsmithred | I've got it set in a script to start in xterm. You can do without that part. | 01:11 |
fsmithred | xterm -hold -e ssh -t -L 5900:localhost:5900 $remote_host 'x11vnc -localhost -display :0' & | 01:11 |
fsmithred | xterm -hold -e vncviewer -encodings "copyrect tight hextile" localhost & | 01:11 |
fsmithred | you got a message about 'bind [127.0.0.1]:5901: Cannot assign requested address' | 01:13 |
fsmithred | that seems weird. What's your localhost address? | 01:13 |
edoooooon | those 3 lines are the error message that seem the most relevant. | 01:14 |
edoooooon | bind [127.0.0.1]:5901: Cannot assign requested address | 01:14 |
edoooooon | channel_setup_fwd_listener_tcpip: cannot listen to port: 5901 | 01:14 |
edoooooon | Could not request local forwarding. | 01:14 |
edoooooon | 127.0.0.1 localhost | 01:15 |
edoooooon | 127.0.1.1 mylocalcomputername | 01:15 |
fsmithred | is right | 01:15 |
fsmithred | what vnc are you using? | 01:15 |
edoooooon | I dont really even get to the vnc, I run the ssh command first which fails. | 01:15 |
fsmithred | and how are you starting it on the remote? | 01:15 |
fsmithred | I'll try your command | 01:17 |
edoooooon | On 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 crazy | 01:19 |
fsmithred | I'm getting a Usage: message | 01:21 |
fsmithred | can't see what's wrong with my command | 01:21 |
fsmithred | ok, I did 'user@remote' but 'user remote' does give me a login prompt. | 01:23 |
fsmithred | Then just returns me to the local prompt. | 01:23 |
edoooooon | correct, it does return you to your shell, but the port has been forwarded. | 01:23 |
edoooooon | nothing is wrong with your command, they do the same thing really except you spawn vnc in the ssh session and mine is always running reguardless | 01:24 |
edoooooon | your command and mine are the same really, in the first part ssh fails to do the port forwarding. | 01:25 |
fsmithred | have you tried using a different port? Does it think 5901 is occupied? | 01:28 |
edoooooon | ah yes, I did verify the local port was unused, and tried a random port "15900:127.0.0.1:5900" | 01:30 |
edoooooon | channel_setup_fwd_listener_tcpip: cannot listen to port: 15900 | 01:30 |
edoooooon | I also tried sudo/su | 01:31 |
systemdlete | the damage from u-no-watt never ceases, it seems: https://bbs.archlinux.org/viewtopic.php?id=182055 | 02:48 |
systemdlete | From 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 |
systemdlete | Yeah, I guess it is more logical to drive the Benz than the Corolla. | 02:50 |
systemdlete | The rule today seems to be this: If I need X, it has been deprecated in favor of X-systemd instead. | 02:56 |
djph | systemdlete: 'systemd-Xd' | 02:56 |
systemdlete | oops. You are correct! | 02:56 |
systemdlete | (how foolish of me) | 02:56 |
djph | s'all good :) | 02:57 |
systemdlete | Meanwhile, 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... 3x | 02:57 |
specing | systemd-devuan | 02:58 |
specing | when? | 02:58 |
systemdlete | We had local power failures due to a bad storm here. | 02:58 |
systemdlete | Seems a Pacific cyclone tore through here, knocking out power along the way. | 02:59 |
djph | specing: you go sit in the corner and think about what you've said. | 02:59 |
systemdlete | Rained like a dog. | 02:59 |
specing | djph:lol | 02:59 |
specing | systemd-devuand! | 02:59 |
systemdlete | I hear there's a performance improvement coming up called systemd-everythingelsed | 03:00 |
systemdlete | That post, btw, is from 2014. | 03:01 |
specing | systemd-empired | 03:04 |
systemdlete | cysticd | 03:37 |
systemdlete | I 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 |
systemdlete | What 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 |
systemdlete | It doesn't seem likely to me, but I'd just like a tiny bit of re-assurance. Thanks everyone! | 11:41 |
r3boot | You 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 safe | 11:43 |
systemdlete | thanks, good point r3boot! | 11:44 |
systemdlete | I actually didn't think of that. | 11:44 |
systemdlete | It'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 |
r3boot | Alternatively, 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 then | 11:45 |
systemdlete | no, don't want to do that! | 11:45 |
r3boot | Good :) | 11:46 |
systemdlete | I'll just pick a VERY unique name, not likely to be duplicated | 11:46 |
r3boot | vi /etc/init.d/`echo $RANDOM | sha1sum` ;P | 11:46 |
systemdlete | I 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 |
systemdlete | ehhh. yeah. | 11:46 |
r3boot | isdn, wow, people still use that?? | 11:46 |
systemdlete | I've heard (horror) stories that some people livig in at least certain parts of Australia still have ADSL | 11:47 |
guido_g | prefix it with something like 'local-', so you have a pattern to search for (i.e. for backups) | 11:47 |
systemdlete | yeah, I back up /etc every night anyway | 11:47 |
systemdlete | and I can run a cron job to make sure that MY scripts got included in the backup | 11:48 |
systemdlete | if not, send me mail, etc etc | 11:48 |
systemdlete | I am not THAT paranoid about this particular issue, though. I'd just like to achieve a more graceful shutdown when I lose AC here | 11:48 |
systemdlete | Last night, I had 3 power outages. Drove me crazy. | 11:49 |
onefang | I'm in Australia, and I have ADSL. Well, ADSL2. lol | 11:49 |
systemdlete | ATM, I am trying to get a different issue addressed. | 11:49 |
systemdlete | sorry to hear that onefang. | 11:49 |
systemdlete | (truly) | 11:49 |
onefang | I had fibre to the bedroom in my last home, but had to move. | 11:50 |
systemdlete | We're "spoilt" here in the US; I pay $40/mo for about 80Gb down | 11:50 |
systemdlete | the xfce4-power-manager seems to ignore my "critical power" setting. It is the default, 10%. | 11:50 |
systemdlete | But 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 dropped | 11:51 |
systemdlete | It got to 8%, and still, the shutdown did not start. | 11:51 |
systemdlete | I googled this issue and found a few hits. Seems others have this also. | 11:51 |
systemdlete | Filed a (potential) bug against this; waiting for response. | 11:52 |
systemdlete | actually, not a bug, per se. Just a post to the forums at xfce. Hate filing actual bugs if they aren't. | 11:56 |
systemdlete | Could be something wrong at my end, or something easy to correct. | 11:56 |
systemdlete | onefang: How fast is your ADSL2? Doesn't that vary with distance to the ISP or phone company office, just like DSL? | 12:00 |
systemdlete | When I had DSL, I thought I was the King of the Internet, with (I think) 256Mbps. That was in Seattle, c. 1997 or so | 12: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 fiber | 12:06 | |
r3boot | (for 45 euro/month btw, so that's pretty cheap :) | 12:06 |
systemdlete | well, that's a good bit more than $40 I pay. What are you getting for that? | 12:09 |
r3boot | 100/100mbit, non-ratelimited | 12:09 |
r3boot | plus fixed ip addresses, reverse-dns, ipv6 delegations, etc | 12:09 |
systemdlete | so 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 Europeans | 12:10 | |
guido_g | don't | 12:10 |
systemdlete | I am noticing that Ascii has the 1.4.1 version of the power manager for xfce4. | 12:10 |
guido_g | there are parts wher eyou can't get this kind of connection | 12:10 |
systemdlete | But that was released about 5 years ago. | 12:10 |
r3boot | yep.. .nl is pretty good wrt internet connectivity, esp compared to the rest of europe | 12:11 |
guido_g | ack, .de sucks (still) | 12:11 |
r3boot | There are even experiments with 10GE connections | 12:11 |
systemdlete | guido_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 |
systemdlete | So I am running with ancientware. That's probably the most likely explanation. | 12:12 |
guido_g | yeh, hamburg is way to small... | 12:12 |
systemdlete | Hamburg? Seriously -- shipping mecca doesn't have HSI? | 12:12 |
guido_g | welcome to germany | 12:12 |
r3boot | Ugh .. 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 |
systemdlete | That surprises me. The Germans are usually far ahead in tech, aren't they? | 12:13 |
guido_g | you're reading history books too much | 12: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 |
systemdlete | I 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 |
systemdlete | But, me, living about a mile or two away, in a crappy rental apartment, in the 'hood I mean, I had cable. | 12:14 |
systemdlete | Go figure. | 12:14 |
systemdlete | Anyway, there's been 3 releases since then. | 12:15 |
systemdlete | beowulf has 1.6... | 12:16 |
systemdlete | Looks like I just need to wait for beowulf. | 12:16 |
systemdlete | It'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 systems | 12:17 |
systemdlete | there was still some breakage. | 12:18 |
guido_g | hmm what changed here since yesterday: https://gist.github.com/guidog/b9d877d7119a310d51f27c9cabedf768 | 12:18 |
guido_g | getting these errors now | 12:18 |
systemdlete | Hopefully 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 |
systemdlete | I ran into missing release files at bareos.org, but I think I got around it by rebuilding the key for it. | 12:20 |
systemdlete | something like apt-key adv and such | 12:20 |
systemdlete | anyone have even a flimsy estimate when beowulf might arrive? Months or weeks do you think? | 12:21 |
systemdlete | Well, it's 3am here and I think I've beaten my head against a wall enough for one day. | 12:23 |
systemdlete | Thanks all for the help and the convo. | 12:23 |
systemdlete | night all! | 12:23 |
furrywolf | also, I'm perm-banned from ##woodworking, which is proof we need another woodworking channel. :) | 17:19 |
furrywolf | grr, wong window. lol | 17:19 |
r3boot | nah, just do proper ban evasion, it's doable :) | 17:20 |
furrywolf | lol. 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 |
djph | that you're a bad dog and got yourself banned? | 17:27 |
furrywolf | no, 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_g | the woodworking channel, crosses only! ;) | 17:29 |
guido_g | lots of assh*s around | 17:31 |
furrywolf | r3boot: hrmm, that looks to me like "it'll be ok! they've promised not to be evil!" | 17:33 |
r3boot | correct. 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 |
r3boot | Basically they're selling .org from a non-profit to a investment corporation | 17:34 |
systemdlete | Most 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 |
systemdlete | It's an APC Back-650. | 18:17 |
systemdlete | and 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 |
systemdlete | Is the problem that my UPS is now totally fried? | 18:18 |
systemdlete | I've had it several years, but I don't remember how long. | 18:19 |
systemdlete | And there is no chirp indicating when it is going to battery power and back. | 18:19 |
systemdlete | And, 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 |
systemdlete | I'm thinking that maybe the UPS's brain is scattered, so the monitor applet is not getting correct/timely info? | 18:21 |
furrywolf | yeah, I wanted to go to the hardware store today, but they're closed... | 18:21 |
systemdlete | I 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 |
systemdlete | Best Buy is nearby me, but I'm certain they are closed also. | 18:22 |
systemdlete | hmmm. Looks like Best Buy might be open today after all, starting at 5PM. Getting the jump on black Friday I suppose. | 18:24 |
systemdlete | Wonder 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 end | 18:42 |
snake0 | UPS usually just need new batteries, when they start beeping after 3-5 years. | 19:02 |
golinux | Good 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/!