FOR MAC USERS ONLY:

To get the display in an ssh connection:

  1. download xquartz
  2. open xquartz
  3. connect with X forwarding: ssh -X URL
  4. test if forwarding worked using one of those software: xeyes, xclock, xdisp

To allow pasting inside the xquartz terminal:

  1. create the file ~/.Xdefaults
  2. edit it and add the line: *VT100.translations: #override Meta <KeyPress> V: insert-selection(PRIMARY, CUT_BUFFER0) \n
  3. run: xrdb -merge ~/.Xdefaults