This is an old revision of the document!
# How to run xv6/qemu on a CSE machine
## 0: Get a CSE account
You can use the *guest* account on a lab machine, but your data will be deleted on logout!
## 1: Log into a CSE machine
You can SSH into a CSE login machine like so: ``` $ ssh USER@login.cs.nmt.edu ``` If you'd like to use qemu graphically, you should use this ssh command instead: ``` $ ssh -XYC USER@login.cs.nmt.edu ```
There are more in-depth instructions here. Or, of course, you can log into any CSE lab machine.
## 2: Clone the xv6 project
Next, you'll need a copy of the *xv6* repository. You can copy it like so:
``` $ git clone https://bitbucket.com/jzhengnmt/xv6.git $ cd xv6 ```
## 3: Make and run xv6/qemu
We've created a script that'll make and run *xv6/qemu* for you! It's as simple as:
``` $ runxv6 ```
If you'd like a text-only view you can run it with the `–nox` argument:
``` $ runxv6 –nox ```