After the ban on Lithuanian language was lifted in 1904, Vileišis obtained permission to publish the newspaper Lietuvos Ūkininkas and was its editor-in-chief from 1905 to 1906.
At the beginning of World War I, Vileišis co-founded a Lithuanian organization aimed at helping war victims with agronomic and legal support, and became its chairman.