Yes, you still may obtain a real estate license if you have a prior conviction; however, the Real Estate Board has the right to deny your application if they find that "the applicant is unfit or unsuited to engage" in the real estate profession.
Section 54.1-204 of the Code of Virginia states the following:
"A personal shall not be refused a license in any regulated occupation or profession solely because of a prior criminal conviction, unless the criminal conviction directly relates to the occupation or profession for which the license is sought. However, the Real Estate Board shall have the authority to refuse a license based upon all the information available, including the applicant's record of prior convictions, it finds that the applicant is unfit or unsuited to engage in the real estate profession."