Not getting SU authentication dialog via VNC
I currently have Xubuntu 18.04 installed on a small server box and appear to be experiencing a strange problem whilst attempting to access it via VNC: whenever I run a package which requires "pkexec" escalation such as the synaptic package manager or "users-admin", the authentication dialog is sent to display ":0" and not the VNC display ":1".
The issue appears to occur whether I use vnc4server or tightvnc.
My xstartup is as follows:
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xrdb $HOME/.Xresources
/usr/bin/startxfce4 &
Any advice or suggestions regarding this issue would be greatly appreciated.
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: