Stationary states of random Hamiltonian systems