2020年7月21日 星期二

解決WSL2沒辦法使用screen的問題

用WSL2裝的Ubuntu 20.04上,screen這個程式已預先安裝但執行時出現:
  • Cannot make directory '/run/screen': Permission denied

解決方案為指定SCREENDIR這個環境參數,方法如下:
  • mkdir $HOME/.screen && chmod 700 $HOME/.screen
  • export SCREENDIR=$HOME/.screen


參考資料

_EOF_

Furniture designs in the style of bauhaus movement, design sheet, 3d render, Les Edwards, Zdzislaw Beksinski, Carl Gustav Carus, John Harris, Michal Karcz, Zhang Kechun, Mikko Lagerstedt, Scott Listfield, Steven Outram, Jessica Rossier.

Steps: 36, Sampler: DPM++ 2M Karras, CFG scale: 7, Seed: 3171930921, Size: 512x256, Model hash: fc2511737a, Model: chilloutmix_NiPrunedFp32Fix, Version: v1.6.1

Time taken: 2 min. 33.9 sec. on Nvidia MX550
A: 1.70 GB, R: 2.26 GB, Sys: 2.0/2 GB (100.0%)

沒有留言:

張貼留言