In using gedit from command line, I will see these errors?

(gedit:18414): dconf-CRITICAL **: unable to create directory '/run/user/1000/dconf': Permission denied.  dconf will not work properly.

The directory actually does not exist, but there are other /urn/user directories.

If I ssh into the machine using the user id, then the /run/user/1000 directory and subdirectories are created, and then using gedit does not issue the errors?

Question:
1. Why isn't the /run/user/1000 directory created with a login (actually connected via VNC)
2. Why does an ssh login create it, but not the vnc session?