Skip to content

Instantly share code, notes, and snippets.

@vinipsmaker
Created October 5, 2013 12:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vinipsmaker/6840505 to your computer and use it in GitHub Desktop.
Save vinipsmaker/6840505 to your computer and use it in GitHub Desktop.
USER=$(whoami)
COOKIE=${HOME}/.pulse-cookie
xhost +SI:localuser:${USER}
xhost +SI:localuser:root
cp ${COOKIE} /srv/chroot/lucid/home/${USER}
sudo cp ${COOKIE} /srv/chroot/lucid/root
#sudo chroot /srv/chroot/lucid/ su ${USER}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment