the xterm launches into a "Google 403. That's an error" window
the minimal commands to invoke xterm gives errors as follows

Hi @prikarsartam
The error is not able to be produced in our demo colab at this point of time.
Do you mind trying it again to see if the error remains? If so, pls provide some detail, such as what other installed pip packages are.
Thanks
HI @prikarsartam
Certain ad-blocks extension could lead this kinda of error. You may try it again after disabling extensions. Here is the finding by other users.
I'm getting this error always, even with your demo colab. I tried with all extensions disabled including adblocker, still getting this error. I'm using Firefox.
I'm getting this error always, even with your demo colab. I tried with all extensions disabled including adblocker, still getting this error. I'm using Firefox.
OK I found the issue, it doesn't work on Firefox's "Private Window" because Service Workers are disabled in Firefox Private Windows.
Also, third-party cookies should be enabled for it to work: https://research.google.com/colaboratory/faq.html#third-party-cookies
In my case it was Bitdefender antivirus plugin in Chrome blocking cookies even after enabled in Chrome settings 😅 . Same in Brave, the shields and the BD shields were both blocking it until turned off. And then it worked
@prikarsartam I have employed reasonable amount of time on this and encountered a way to make it work!! I hope this won't waste yours's time or anyone who encounters it from here on. The issue arises when we try to launch xterm with magic keyword. Instead we should try to load this with the help of a small python script. I guess this solves the issue.
# These 2 lines allow te start of ngrok asynchronously. If you want information regarding it do let me know
# from ngrok_ import async_tasks
# async_tasks()
# Installation of colabxterm by !pip install colab-xterm
from colabxterm import notebook
# This would start off a local server on VM which should be tunneled through ngrok to access it in your browser tab
notebook._xterm_magic('')
receiving 403 when using colab-xterm
I have tested and verified. Adblocker is indeed causing the issue, even there are only 2 tracking scripts. just disable adblocker and 403 would go away. I tested it and now is working. I am using brave browser btw.
You may close the issue now