LoginSignup
2
1

More than 1 year has passed since last update.

WSL2のUbuntu 22.04起動時に「リモートデスクトップ接続(mstsc.exe)」が起動して困った方へ

Posted at

WSL2のUbuntuを22.04にした後「リモートデスクトップ接続」(プロセス=mstsc.exe)が自動的に起動してしまい、困ってる方へ。
output.gif
以下に、回避方法があります。

具体的には .wslconfig に以下の記述をすればOKです。(ファイルが無ければ新規作成)

.wslconfig
[wsl2]
guiapplications=false

このファイルは %UserProfile% ディレクトリに保存します。一般的には C:\Users\<ユーザー名>\ ディレクトリです。

参考

WSL での詳細設定の構成

EoT

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1