The x-guard is a versatile position that you can use to transition to multiple sweeps and submissions, and the kneebar is one of them.
This video from Upstream BJJ demonstrates how to transition from a modified x-guard to a tight kneebar. Give it a try in training and at your next competition if you’re a fan of this guard!