I sat in my room looking longingly at the bed.
He didn't have to look longingly at it from the outside.
He looked longingly at the little fish in the lake, for example.
He looked longingly at the fire for a moment and then said, "Yeah."
The first officer looked longingly at the world he had created.
We looked back longingly toward the horizon to the south, but when I turned north they followed.
He went to his chamber and looked longingly at the bed.
Felix looked longingly after him, but decided he had to stay.
The parents of the boy in the wheelchair looked longingly at the blood; the child turned his head to the wall.
Another approach is to look longingly or hurt when he pulls away.