auto or freetrack (Wine)rfactor2 processTracking should start (look for a green light on the top right corner) once you're on the track.
Head tracking should work automatically. If it doesn't respond, check the game's settings for a TrackIR or head tracking option that may need to be enabled.
Thanks to wlencio for helping with this guide.