VNC Weird Behavior

Just installed with i3wm. I primarily use VNC on this server. When I am at the actual machine with the wired in monitor and keyboard, everything looks and behaves as expected. I installed and enabled vnc exactly as to the arch instructions.

I have two users on my system, josh for myself and one called test. I have configured them exactly the same, with the same groups, same config files for vnc, etc.

When I login to the VNC session for josh, it works, but it’s like the system never runs any of the profile setting scripts. I have a blank background. When I open terminal, I start in the “/” directory. None of the aliases in my profile settings are recognized. When I try and set the background image, there is not even a configured director in the selector. My terminal that opens up shows the full menu bar at the top (file, edit, etc.). The terminal color is black and has no transparency. When at the physical desktop none of this is the case. It’s all the default EndeavourOS stuff.

When I login to the VNC session for test, it works, but is a little different. I still start my terminal session in “/”. But my desktop background picture is there. The terminal that opens is light purple with a little transparency. The top menu bar with file and edit is not shown. But also, custom aliases are not available.

When I SSH in, all of the settings are setup correctly.

When I start vncserver from the command line, the logging output seems to indicate that my environment is not setup right. It says things like such and such file are not found in PATH. Like the PATH isn’t configured.

What in the world would cause this?

Attached are the text files of the output for each user when starting vncserver.

Also a couple screenshots to show you what it looks like.

josh@jeter ~ % vncserver :1
Using desktop session i3

New 'jeter:1 (josh)' desktop is jeter:1

Starting desktop session i3


Xvnc TigerVNC 1.11.0 - built Nov 24 2020 19:41:47
Copyright (C) 1999-2020 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12009000, The X.Org Foundation


Thu Feb  4 09:29:40 2021
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on all interface(s), port 5901
 vncext:      created VNC server for screen 0
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
Running X session wrapper
Loading profile from /etc/profile
Loading xinit script /etc/X11/xinit/xinitrc.d/40-libcanberra-gtk-module.sh
Loading xinit script /etc/X11/xinit/xinitrc.d/50-systemd-user.sh
Loading xinit script /etc/X11/xinit/xinitrc.d/80xapp-gtk3-module.sh
X session wrapper complete, running session i3
server does not have extension for dpms option
xset:  unknown option 600

usage:  xset [-display host:dpy] option ...
    To turn bell off:
	-b                b off               b 0
    To set bell volume, pitch and duration:
	 b [vol [pitch [dur]]]          b on
    To disable bug compatibility mode:
	-bc
    To enable bug compatibility mode:
	bc
    To turn keyclick off:
	-c                c off               c 0
    To set keyclick volume:
	 c [0-100]        c on
    To control Energy Star (DPMS) features:
	-dpms      Energy Star features off
	+dpms      Energy Star features on
	 dpms [standby [suspend [off]]]
	      force standby
	      force suspend
	      force off
	      force on
	      (also implicitly enables DPMS features)
	      a timeout value of zero disables the mode
    To set the font path:
	 fp= path[,path...]
    To restore the default font path:
	 fp default
    To have the server reread font databases:
	 fp rehash
    To remove elements from font path:
	-fp path[,path...]  fp- path[,path...]
    To prepend or append elements to font path:
	+fp path[,path...]  fp+ path[,path...]
    To set LED states off or on:
	-led [1-32]         led off
	 led [1-32]         led on
	-led named 'name'   led off
	 led named 'name'   led on
    To set mouse acceleration and threshold:
	 m [acc_mult[/acc_div] [thr]]    m default
    To set pixel colors:
	 p pixel_value color_name
    To turn auto-repeat off or on:
	-r [keycode]        r off
	 r [keycode]        r on
	 r rate [delay [rate]]
    For screen-saver control:
	 s [timeout [cycle]]  s default    s on
	 s blank              s noblank    s off
	 s expose             s noexpose
	 s activate           s reset
    For status information:  q
    To print version: -version
WARNING: No dunstrc found.
[libi3] ../i3-4.19.1/libi3/font.c Using Pango font Noto Sans Regular 10,FontAwesome, size 10
Gtk-Message: 09:29:40.316: Failed to load module "xapp-gtk3-module"

(nitrogen:1083870): Gtk-WARNING **: 09:29:40.320: Unable to locate theme engine in module_path: "adwaita",

(nitrogen:1083870): Gtk-WARNING **: 09:29:40.321: Unable to locate theme engine in module_path: "adwaita",
No support for device type: power_supply
Use of uninitialized value $acpi in pattern match (m//) at /home/josh/.config/i3/scripts/battery.sh line 33.
Use of uninitialized value $acpi in concatenation (.) or string at /home/josh/.config/i3/scripts/battery.sh line 34.

<3>[battery:1] Command '~/.config/i3/scripts/battery.sh' exited unexpectedly with code 1
SSH_AUTH_SOCK=/run/user/1026/keyring/ssh
SSH_AUTH_SOCK=/run/user/1026/keyring/ssh
SSH_AUTH_SOCK=/run/user/1026/keyring/ssh
rm: cannot remove '/tmp/eos-update-notifier.log.ZLtVv5tn': Operation not permitted
[ 02/04/2021 09:29:40.386 vsync_init ERROR ] No supported vsync method found for this backend
[ 02/04/2021 09:29:40.386 session_init FATAL ERROR ] Failed to initialize the backend

(nitrogen:1083870): Gtk-WARNING **: 09:29:40.478: Unable to locate theme engine in module_path: "adwaita",

(nitrogen:1083870): Gtk-WARNING **: 09:29:40.479: Unable to locate theme engine in module_path: "adwaita",
WARNING: No icon found in path: 'nm-device-wired'

(process:1083933): GLib-CRITICAL **: 09:29:41.382: g_strv_contains: assertion 'str != NULL' failed
[test@jeter ~]$ vncserver :2
Using desktop session i3

New 'jeter:2 (test)' desktop is jeter:2

Starting desktop session i3


Xvnc TigerVNC 1.11.0 - built Nov 24 2020 19:41:47
Copyright (C) 1999-2020 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12009000, The X.Org Foundation


Thu Feb  4 09:32:47 2021
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on all interface(s), port 5902
 vncext:      created VNC server for screen 0
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
Running X session wrapper
Loading profile from /etc/profile
Loading resource: /home/test/.Xresources
/home/test/.Xresources:2:2: error: invalid preprocessing directive #!
    2 | #! ------------------------------------------------------------------------------
      |  ^
/home/test/.Xresources:3:2: error: invalid preprocessing directive #!
    3 | #! ROFI Color theme 1
      |  ^
/home/test/.Xresources:4:2: error: invalid preprocessing directive #!
    4 | #! ------------------------------------------------------------------------------
      |  ^
/home/test/.Xresources:5:2: error: invalid preprocessing directive #rofi
    5 | #rofi.color-enabled: true
      |  ^~~~
/home/test/.Xresources:6:2: error: invalid preprocessing directive #rofi
    6 | #rofi.color-window: #393939, #393939, #268bd2
      |  ^~~~
/home/test/.Xresources:7:2: error: invalid preprocessing directive #rofi
    7 | #rofi.color-normal: #393939, #ffffff, #393939, #268bd2, #ffffff
      |  ^~~~
/home/test/.Xresources:8:2: error: invalid preprocessing directive #rofi
    8 | #rofi.color-active: #393939, #268bd2, #393939, #268bd2, #205171
      |  ^~~~
/home/test/.Xresources:9:2: error: invalid preprocessing directive #rofi
    9 | #rofi.color-urgent: #393939, #f3843d, #393939, #268bd2, #ffc39c
      |  ^~~~
/home/test/.Xresources:12:3: error: invalid preprocessing directive #--
   12 | # ------------------------------------------------------------------------------
      |   ^~
/home/test/.Xresources:13:3: error: invalid preprocessing directive #ROFI
   13 | # ROFI Color theme 2
      |   ^~~~
/home/test/.Xresources:14:3: error: invalid preprocessing directive #--
   14 | # ------------------------------------------------------------------------------
      |   ^~
Loading xinit script /etc/X11/xinit/xinitrc.d/40-libcanberra-gtk-module.sh
Loading xinit script /etc/X11/xinit/xinitrc.d/50-systemd-user.sh
Loading xinit script /etc/X11/xinit/xinitrc.d/80xapp-gtk3-module.sh
X session wrapper complete, running session i3
server does not have extension for dpms option
xset:  unknown option 600

usage:  xset [-display host:dpy] option ...
    To turn bell off:
	-b                b off               b 0
    To set bell volume, pitch and duration:
	 b [vol [pitch [dur]]]          b on
    To disable bug compatibility mode:
	-bc
    To enable bug compatibility mode:
	bc
    To turn keyclick off:
	-c                c off               c 0
    To set keyclick volume:
	 c [0-100]        c on
    To control Energy Star (DPMS) features:
	-dpms      Energy Star features off
	+dpms      Energy Star features on
	 dpms [standby [suspend [off]]]
	      force standby
	      force suspend
	      force off
	      force on
	      (also implicitly enables DPMS features)
	      a timeout value of zero disables the mode
    To set the font path:
	 fp= path[,path...]
    To restore the default font path:
	 fp default
    To have the server reread font databases:
	 fp rehash
    To remove elements from font path:
	-fp path[,path...]  fp- path[,path...]
    To prepend or append elements to font path:
	+fp path[,path...]  fp+ path[,path...]
    To set LED states off or on:
	-led [1-32]         led off
	 led [1-32]         led on
	-led named 'name'   led off
	 led named 'name'   led on
    To set mouse acceleration and threshold:
	 m [acc_mult[/acc_div] [thr]]    m default
    To set pixel colors:
	 p pixel_value color_name
    To turn auto-repeat off or on:
	-r [keycode]        r off
	 r [keycode]        r on
	 r rate [delay [rate]]
    For screen-saver control:
	 s [timeout [cycle]]  s default    s on
	 s blank              s noblank    s off
	 s expose             s noexpose
	 s activate           s reset
    For status information:  q
    To print version: -version
[libi3] ../i3-4.19.1/libi3/font.c Using Pango font Noto Sans Regular 10,FontAwesome, size 10
Gtk-Message: 09:32:47.824: Failed to load module "xapp-gtk3-module"
/home/test/.gtkrc-2.0:4: Unable to find include file: "~/.gtkrc-2.0.mine"

(nitrogen:1089172): Gtk-WARNING **: 09:32:47.833: Unable to locate theme engine in module_path: "adwaita",

(nitrogen:1089172): Gtk-WARNING **: 09:32:47.833: Unable to locate theme engine in module_path: "adwaita",
ERROR: Could not load file in bg set: Failed to open file “/usr/share/endeavouros/backgrounds/endeavouros_i3.png”: No such file or directory
No support for device type: power_supply
Use of uninitialized value $acpi in pattern match (m//) at /home/test/.config/i3/scripts/battery.sh line 33.
Use of uninitialized value $acpi in concatenation (.) or string at /home/test/.config/i3/scripts/battery.sh line 34.

<3>[battery] Command '~/.config/i3/scripts/battery.sh' exited unexpectedly with code 1
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
rm: cannot remove '/tmp/eos-update-notifier.log.T6LLTQeO': Operation not permitted
[ 02/04/2021 09:32:47.922 get_buffer_age WARN ] GLX_EXT_buffer_age not supported by your driver,`use-damage` has to be disabled
/usr/share/endeavouros/scripts/welcome: line 1687: /tmp/yad-zombies.log: Permission denied

(process:1089288): GLib-CRITICAL **: 09:32:48.899: g_strv_contains: assertion 'str != NULL' failed
/usr/bin/eos-FindAppIcon: line 50: /tmp/eos-FindAppIcon-issues.log: Permission denied