XFCE Authenticate dialogs do no appear or show up on server's display

75 views
Skip to first unread message

Abobo

unread,
Jun 2, 2023, 8:57:00 PM6/2/23
to TigerVNC User Discussion/Support
I'm running Xvnc TigerVNC 1.11.0 on MX Linux 21.3/Debian 11 (bullseye) with XFCE 4.18.1.  After creating a password with  vncpasswd , I can start the server with vncserver --localhost no , and connect from a Mac with the Screen Sharing app. 

Performance is good, and there are no errors in the log, but I'm running into an issue that's making tigervnc unusable.  The password input dialog does not appear when I try to open an application that requires authentication.

I tried a bunch of  ~/.vnc/xstartup configurations I found around the Internet, and at one point, I could get the password dialog to show up on the server-side display.  Once I authenticated using the server-side keyboard, the app window would correctly pop up on the client display.  However, I can't get that to happen again.

While I'm comfortable in Linux, I don't have any experience with VNC or X11 configuration.  Any pointers would be greatly appreciated on getting TigerVNC to work.  Thanks!

 

Michael D. Setzer II

unread,
Jun 2, 2023, 9:12:33 PM6/2/23
to Abobo, TigerVNC User Discussion/Support
On 2 Jun 2023 at 17:56, Abobo wrote:
Date sent: Fri, 2 Jun 2023 17:56:59 -0700 (PDT)
From: Abobo <usewit...@gmail.com>
To: TigerVNC User Discussion/Support <tigervn...@googlegroups.com>
Subject: [tigervnc-users] XFCE Authenticate dialogs do no appear or show up on
 server's display
>
> I'm running Xvnc TigerVNC 1.11.0 on MX Linux 21.3/Debian 11 (bullseye)
> with XFCE 4.18.1. After creating a password with vncpasswd, I can start
> the server with vncserver --localhost no  , and connect from a Mac with
> the Screen Sharing app.
>
> Performance is good, and there are no errors in the log, but I'm running into
> an issue that's making tigervnc unusable. The password input dialog does
> not appear when I try to open an application that requires authentication.
>
> I tried a bunch of ~/.vnc/xstartup configurations I found around the
> Internet, and at one point, I could get the password dialog to show up on the
> server-side display. Once I authenticated using the server-side keyboard, the
> app window would correctly pop up on the client display. However, I can't
> get that to happen again.
>
> While I'm comfortable in Linux, I don't have any experience with VNC or X11
> configuration. Any pointers would be greatly appreciated on getting
> TigerVNC to work. Thanks!
>
The xstartup that I use with XFCE is
#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
exec  /bin/sh /etc/xdg/xfce4/xinitrc #   X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
#vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
startxfce4 &
#twm &
I start it from rc.local using
runuser -l msetzerii -c 'vncserver :79 -geometry 1600x845'
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "TigerVNC User Discussion/Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> To view this discussion on the web visit
> a8627b5b26an%40googlegroups.com .
+------------------------------------------------------------+
 Michael D. Setzer II - Computer Science Instructor (Retired)    
 mailto:mi...@guam.net                           
 Guam - Where America's Day Begins                       
 G4L Disk Imaging Project maintainer
+------------------------------------------------------------+

Pierre Ossman

unread,
Jun 7, 2023, 1:28:06 AM6/7/23
to Abobo, TigerVNC User Discussion/Support
On 03/06/2023 02:56, Abobo wrote:
> I'm running Xvnc TigerVNC 1.11.0 on MX Linux 21.3/Debian 11 (bullseye) with
> XFCE 4.18.1. After creating a password with vncpasswd , I can start the
> server with vncserver --localhost no , and connect from a Mac with the
> Screen Sharing app.
>
> Performance is good, and there are no errors in the log, but I'm running
> into an issue that's making tigervnc unusable. The password input dialog
> does not appear when I try to open an application that requires
> authentication.
>

Those dialogs are controlled by a system called "PolicyKit". It sounds
like it is configured to deny access in remote sessions in your case, so
you'll need to reconfigure it to ask for authentication instead.

I'm afraid I don't have the details of configuring it, but it should
hopefully be easy to find a guide or other documentation for it.

Regards
--
Pierre Ossman Software Development
Cendio AB http://cendio.com
Teknikringen 8 http://twitter.com/ThinLinc
583 30 Linköping http://facebook.com/ThinLinc
Phone: +46-13-214600

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Reply all
Reply to author
Forward
0 new messages