X-haul is a key evolution in novel 5G and 6G RAN architectures to transform the traditional backhaul-fronthaul scheme in a more complex nodes structure, introducing midhaul links, to satisfy the growing demand of traffic and quality of service. As an alternative to fiber based deployment, wireless ultra capacity, tens or hundreds of gigabits per second (Gb/s), for flexible and low latency architectures can only be supported by the wide unexploited frequency bands in the sub-THz spectrum (70 -300 GHz). In particular, the development of new radio technology at D-band (110 -174.5 GHz) and G-band (190 -310 GHz) enables ultra capacity links for backhaul, midhaul and fronthaul with tens of Gb/s throughput.A novel sub-THz X-haul architecture will be described focusing on features such as capacity, adaptive distribution, low latency, efficiency and flexibility, relevant for enabling the three main classes of applications defined in 5G, Extreme Mobile Broadband (eMBB), Ultra-Reliable Low Latency Communications (URLLC) and Massive Machine Type Communication (mMTC). This new network concept will be one of the enabling elements of the future 6G, leading to unifying the satellite and terrestrial networks.