A sex offender was told he will be jailed, given his record, after he admitted trying to incite a boy to take part in sexual activity.