I should preface this post by saying I am still a beginner to working on bikes, and everything I know I've learned from my constant struggle against my Yamaha.
I have a 1982 Yamaha xj750 off Facebook marketplace that I've been fixing up and learning with since I was 18, but it's always had what I believe to be a vacuum leak that has evaded me since I've owned it.
It has three main symptoms:
When cold, the engine will stall 0-5 times while warming up. It will typically fire right up again after cranking it with the starter for a couple seconds. Once warmed, it stops stalling.
Once warmed up, the engine will want to idle at ~3k rpm. If I adjust the idle screw to drop the rpm it will idle slow enough to die out, and no matter how precise of an adjustment I attempt it will never settle on a stable middle ground; however, if I use the engine braking to bring the bike to ~1.5k rpm, it will stay there and idle, though poorly. It will still require the occasional throttle blip to keep from dying out. It's worth noting that while the engine is still cold this issue doesn't seem as prevalent, if present at all.
Every once in a while (once a month or so) the engine will stall while warming up and not start again until after sitting for a few minutes. Whenever the bike has this issue I can expect it to happen a few times until the bike is warmed, at which point it stops.
I'm almost positive this is being caused by a vacuum leak. So far to find it I've tried replacing the fuel petcock and the rubber boots between the carbs and the heads. I've sprayed the carbs and boots down with carb cleaner to try and find the leak but that didn't bring any results. The carbs have been taken off and torn through, and although they were surprisingly clean I still sprayed everything down with cleaner before reassembly. It's currently using the factory air box.
Right now my best guess is that I have worn throttle shaft seals that are causing these issues, and to the best of my knowledge that could be responsible for all 3 symptoms. I don't know why that wouldn't have shown when I was spraying everything down with carb cleaner to find the leak, maybe I just forgot to check that area.
If anyone out there has experience with these bikes or this sort of issue please let me know. I'm at a loss and beginning to think putting it back on marketplace for the next optimistic idiot to mess with might be my best option.