Fix for :0 in remote ssh sessions