Use 'Window key + R' , and type 'services.msc' and press 'comfirm'
Once the services opened, find 'Xbox Live Auth Manager' , 'Xbox Live Game Save' , 'Xbox Live Networking Service'.
Right click on them, and press 'properties(R)'
Check if their option is 'Disabled', if they are, follow the 5. but if not, this method won't work, meaning you have different issue.
Change the option in 'start priority(E)' into 'Manual' option, and press 'comfirm', make sure you do this on 'Xbox Live Auth Manager' , 'Xbox Live Game Save' , 'Xbox Live Networking Service.
Once you finished, You will be able to login without restarting the Minecraft.
I had same issue on PC, and heres how i fixed it:
Use 'Window key + R' , and type 'services.msc' and press 'comfirm'
Once the services opened, find 'Xbox Live Auth Manager' , 'Xbox Live Game Save' , 'Xbox Live Networking Service'.
Right click on them, and press 'properties(R)'
Check if their option is 'Disabled', if they are, follow the 5. but if not, this method won't work, meaning you have different issue.
Change the option in 'start priority(E)' into 'Manual' option, and press 'comfirm', make sure you do this on 'Xbox Live Auth Manager' , 'Xbox Live Game Save' , 'Xbox Live Networking Service.
Once you finished, You will be able to login without restarting the Minecraft.