Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a workaround to open login terminals on remote connections to compute instances #2095

Open
sevillal opened this issue Jun 22, 2023 · 1 comment

Comments

@sevillal
Copy link
Contributor

In Azure ML Studio terminal conda activate works out of the box. We identified that conda activate does not work out of the box when connected to a compute instance with VS Code, user needs to run conda init first or source /etc/profile.

From this issue looks like it is a problem with remote extensions.

We can work around it by manually changing the remote settings.json with:

{
    "terminal.integrated.defaultProfile.linux": "bash",
    "terminal.integrated.profiles.linux": {
        "bash": {
            "path": "bash",
            "icon": "terminal-bash",
            "args": ["-l"]
        }
    }
}
@tbombach
Copy link
Member

Affects other remote experiences - let's discuss with VS Code about a solution that doesn't just patch our experience

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants