Skip to content

Commit

Permalink
set display on linux subsystem for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
timfel committed May 31, 2016
1 parent 8cb3e66 commit 4af716d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .bash_profile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ function determine_os {
export SPEEDLINUX=1
export DISPLAY=192.168.0.1:0.0
fi
if [ -d /mnt/c/Windows ]; then
export DISPLAY=:0.0
return
fi
lsmod | grep vboxguest 2>&1 >/dev/null
if [ $? -eq 0 ]; then
ps aux | grep -v grep | grep X 2>&1 >/dev/null
Expand Down

0 comments on commit 4af716d

Please sign in to comment.