Getting around Roskilde
More
You can easily walk from the train station to the main square with the cathedral and from there to the Viking Ship Museum.
There are a few local buses running from the train station.
Source: Wikivoyage, Roskilde, written by volunteers (CC BY-SA 4.0), not a government source. Prices and timings may be old; confirm before you travel.