Skip to content

Instantly share code, notes, and snippets.

@g--o
Created February 9, 2019 23:49
Show Gist options
  • Save g--o/369b6db1d69f32fbc2d643da92b7b202 to your computer and use it in GitHub Desktop.
Save g--o/369b6db1d69f32fbc2d643da92b7b202 to your computer and use it in GitHub Desktop.
start x server on different tty
#tty8 as default
function start-xinit()
{
sudo xinit "$1" -- :1 vt8
}
function pyxinit()
{
sudo xinit "/usr/bin/python $1" -- :1 vt8
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment