Hacker News new | ask | show | jobs
by 2almalki 3564 days ago
may i ask what you connect via thunderbolt? I connect the two thunderbolt to two monitors. I might actually connect to three now i think about it cause i still have an HDMI out that is not used
3 comments

I have one constantly connected to an ethernet adapter because my MBP's wifi cuts out randomly throughout the day (which kills all my remote sessions of course).
Use mosh for the remote sessions: https://mosh.org
This helps only with laggy connections with the occasional lost packet. Not with hard network drops (not to mention, there is more than just the terminal impacted by hard network drops).
No, mosh doesn't work like that. You can turn off the network connection in one of the nodes (both the server and the client) for hours and when they come back you still have your session like it was before the connection dropped.

I do this everyday on the client side (taking my laptop to work, opening the lid and having my session going on), and sometime on the server side as well.

Only if keepalive is disabled; in which case regular SSH will work the same way.
The WiFi cuts drop the RDP sessions I have and I cannot reconnect until I toggle the WiFi off and on.

Using the thunderbolt Ethernet helps.

Use tmux on your remote sessions. Game changer.

Edit: just read parent's reply talking about RDP

So my thunderbolt ports are:

* One port dedicated to a monitor * The second has to do double duty, swapping between ethernet ports and another monitor as needed.

I also have a USB->DVI adapter (https://www.engadget.com/2013/05/11/kensington-usb-3-0-multi...) when I need both the monitor and the ethernet port, but it's crappy. (Flickering cursor, occasionally cutting out, some applications like IntelliJ and Sublime Text have issues rendering on that monitor)

If you don't need the speed, Apple sell a USB to ethernet adapter. I think it's only 100 Mb/s.

That could then go in a USB hub, which my Apple display includes.

(I haven't tried this.)

FYI unless you have a dedicated graphics card (if you have the 13" you don't for sure) you can't use both Thunderbolt and HDMI to power 3 external monitors. Source: I tried and expected it work based on various news articles that said you could but left off the fact you need a dedicated graphics card. That said 2 external and my macbook open is good enough until Apple releases an upgrade to the MBPr that I think is worth buying (and upgrading the the 15" with dedicated).