Installing w0vncserver on Ubuntu 24.04 (GNOME, Wayland)

6 views
Skip to first unread message

Al Savage

unread,
Jan 11, 2026, 11:00:12 PM (23 hours ago) Jan 11
to TigerVNC User Discussion/Support
If there's a recipe for installation, I want it.

I have a fresh install of 24.04, and I've installed 
tigervncserver_1.16.80-1ubuntu1_amd64.deb (nightly, though I've also tried 1.15.90 beta)

I've run vncpasswd to create ~/.vnc/passwd

When I run:
------------------------------------------------------------
asavage@joni-31:~$ w0vncserver -rfbauth ~/.vnc/passwd  -localhost=no -Log *:stderr:100

Sun Jan 11 19:23:28 2026
 main:        Listening for VNC connections on all interface(s), port 5900
 VNCServerST: Creating single-threaded server asavage@joni-31
------------------------------------------------------------

But when I attempt to connect (via either tigervncviewer or Remmina), the viewer(s) complain that (for tigervncviewer), "The connection was dropped by the server before the session could be established", and stderr shows (prior to entering the password in the viewer):
------------------------------------------------------------

Sun Jan 11 19:53:46 2026
 Connections: Accepted: 192.168.0.10::43582
 SConnection: Reading protocol version
 SConnection: Client needs protocol version 3.8
 SConnection: Processing security type message
 SConnection: Processing security type message
 SConnection: Client requests security type VeNCrypt(19)
 SConnection: Processing security message
 SConnection: Processing security message
 SConnection: Processing security message
 SVeNCrypt:   Client requests security type TLSVnc (258)
 TLS:         Process security message (session (nil))
 TLS:         Anonymous session has been set
 TLSSocket:   Deferring completion of TLS handshake: Resource temporarily
              unavailable, try again.
 SConnection: Processing security message
 TLS:         Process security message (session 0x62484a2f50b0)
 TLSSocket:   Deferring completion of TLS handshake: Resource temporarily
              unavailable, try again.
 SConnection: Processing security message
 TLS:         Process security message (session 0x62484a2f50b0)
 TLS:         TLS handshake completed with
              (TLS1.2)-(ANON-ECDH)-(AES-256-CBC)-(SHA1)

And after entering the password into the viewer:
------------------------------------------------------------

Sun Jan 11 19:53:57 2026
 SConnection: Processing security message
 SVncAuth:    Reading password file
 VNCServerST: Starting desktop
 SConnection: Reading client initialisation
 SConnection: Reading client initialisation
 VNCServerST: Non-shared connection - closing clients
 GSocketMonitor: Client gone, sock 7

 VNCSConnST:  Closing 192.168.0.10::43582:
              RemoteDesktop::handleCreateSession(): RemoteDesktop.CreateSession
              failed
 EncodeManager: Framebuffer updates: 0
 EncodeManager:   Total: 0 rects, 0 pixels
 EncodeManager:          0 B (1:-nan ratio)
 Connections: Closed: 192.168.0.10::43582
 VNCServerST: Stopping desktop
------------------------------------------------------------

The underlined output is not present when using Remmina as a client.

These files are un-modified from installation, and contain only comments:
/etc/tigervnc/vncserver-config-defaults ...
/etc/tigervnc/vncserver-config-mandatory

My understanding is that only the commandline options should be in force.

What are suggested troubleshooting steps for this situation?

Adam Halim

unread,
6:55 AM (15 hours ago) 6:55 AM
to Al Savage, TigerVNC User Discussion/Support
Missed to click reply all...

> What are suggested troubleshooting steps for this situation?

Do you have a graphical session running for the user, or are you
starting w0vncserver via ssh? You need to have a graphical session
running for the user for w0vncserver to work.

To see what is going on on the dbus side, you can run 'dbus-monitor' to
see if see any clues.

FWIW, I just tested the nightly build on Ubuntu 24.04 with GNOME and
could not reproduce this issue.

Al Savage

unread,
1:30 PM (9 hours ago) 1:30 PM
to TigerVNC User Discussion/Support
On 1/12/26 3:55 AM, Adam Halim wrote:

Do you have a graphical session running for the user, or are you starting w0vncserver via ssh? You need to have a graphical session running for the user for w0vncserver to work. 

Yes, the host has an active graphical session when I start w0vncserver on the host via ssh, and when I attempt to connect to it with the viewers.


To see what is going on on the dbus side, you can run 'dbus-monitor' to see if see any clues. 

I do know know what I'm seeing:
-----------------------------------------------------------------------------
asavage@joni-31:~$ dbus-monitor
signal time=1768241999.255441 sender=org.freedesktop.DBus -> destination=:1.406 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.406"
signal time=1768241999.255466 sender=org.freedesktop.DBus -> destination=:1.406 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
   string ":1.406"
method call time=1768242029.993880 sender=:1.407 -> destination=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method return time=1768242029.993906 sender=org.freedesktop.DBus -> destination=:1.407 serial=1 reply_serial=1
   string ":1.407"
signal time=1768242029.993915 sender=org.freedesktop.DBus -> destination=(null destination) serial=556 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.407"
   string ""
   string ":1.407"
signal time=1768242029.993928 sender=org.freedesktop.DBus -> destination=:1.407 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.407"
method call time=1768242029.994745 sender=:1.407 -> destination=org.freedesktop.DBus serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0='org.freedesktop.portal.Desktop'"
method return time=1768242029.994767 sender=org.freedesktop.DBus -> destination=:1.407 serial=3 reply_serial=2
method call time=1768242029.994771 sender=:1.407 -> destination=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.freedesktop.portal.Desktop"
method return time=1768242029.994778 sender=org.freedesktop.DBus -> destination=:1.407 serial=4 reply_serial=3
   string ":1.78"
method call time=1768242029.994803 sender=:1.407 -> destination=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.portal.Desktop',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged',path='/org/freedesktop/portal/desktop',arg0='org.freedesktop.portal.RemoteDesktop'"
method return time=1768242029.994820 sender=org.freedesktop.DBus -> destination=:1.407 serial=5 reply_serial=4
method call time=1768242029.994843 sender=:1.407 -> destination=org.freedesktop.DBus serial=5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.portal.Desktop',interface='org.freedesktop.portal.RemoteDesktop',path='/org/freedesktop/portal/desktop'"
method return time=1768242029.994852 sender=org.freedesktop.DBus -> destination=:1.407 serial=6 reply_serial=5
method call time=1768242029.994930 sender=:1.407 -> destination=org.freedesktop.DBus serial=6 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=StartServiceByName
   string "org.freedesktop.portal.Desktop"
   uint32 0
method return time=1768242029.994946 sender=org.freedesktop.DBus -> destination=:1.407 serial=7 reply_serial=6
   uint32 2
method call time=1768242029.995427 sender=:1.407 -> destination=org.freedesktop.DBus serial=7 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.freedesktop.portal.Desktop"
method return time=1768242029.995447 sender=org.freedesktop.DBus -> destination=:1.407 serial=8 reply_serial=7
   string ":1.78"
method call time=1768242029.995879 sender=:1.407 -> destination=:1.78 serial=8 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.DBus.Properties; member=GetAll
   string "org.freedesktop.portal.RemoteDesktop"
method return time=1768242029.996475 sender=:1.78 -> destination=:1.407 serial=643 reply_serial=8
   array [
      dict entry(
         string "AvailableDeviceTypes"
         variant             uint32 7
      )
      dict entry(
         string "version"
         variant             uint32 2
      )
   ]
method call time=1768242029.997186 sender=:1.407 -> destination=org.freedesktop.DBus serial=9 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.portal.Desktop',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged',path='/org/freedesktop/portal/desktop',arg0='org.freedesktop.portal.ScreenCast'"
method return time=1768242029.997218 sender=org.freedesktop.DBus -> destination=:1.407 serial=9 reply_serial=9
method call time=1768242029.997226 sender=:1.407 -> destination=org.freedesktop.DBus serial=10 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.portal.Desktop',interface='org.freedesktop.portal.ScreenCast',path='/org/freedesktop/portal/desktop'"
method return time=1768242029.997238 sender=org.freedesktop.DBus -> destination=:1.407 serial=10 reply_serial=10
method call time=1768242029.997276 sender=:1.407 -> destination=org.freedesktop.DBus serial=11 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=StartServiceByName
   string "org.freedesktop.portal.Desktop"
   uint32 0
method return time=1768242029.997301 sender=org.freedesktop.DBus -> destination=:1.407 serial=11 reply_serial=11
   uint32 2
method call time=1768242029.997614 sender=:1.407 -> destination=org.freedesktop.DBus serial=12 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.freedesktop.portal.Desktop"
method return time=1768242029.997655 sender=org.freedesktop.DBus -> destination=:1.407 serial=12 reply_serial=12
   string ":1.78"
method call time=1768242029.997902 sender=:1.407 -> destination=:1.78 serial=13 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.DBus.Properties; member=GetAll
   string "org.freedesktop.portal.ScreenCast"
method return time=1768242029.998412 sender=:1.78 -> destination=:1.407 serial=644 reply_serial=13
   array [
      dict entry(
         string "AvailableSourceTypes"
         variant             uint32 7
      )
      dict entry(
         string "AvailableCursorModes"
         variant             uint32 7
      )
      dict entry(
         string "version"
         variant             uint32 5
      )
   ]
method call time=1768242029.999046 sender=:1.407 -> destination=org.freedesktop.DBus serial=14 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.portal.Desktop',interface='org.freedesktop.portal.Request',member='Response',path='/org/freedesktop/portal/desktop/request/1_407/w0vncserver_63c22172_7c7d_461d_be51_8b0124e0a230'"
method return time=1768242029.999079 sender=org.freedesktop.DBus -> destination=:1.407 serial=13 reply_serial=14
method call time=1768242029.999087 sender=:1.407 -> destination=:1.78 serial=15 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.portal.RemoteDesktop; member=CreateSession
   array [
      dict entry(
         string "handle_token"
         variant             string "w0vncserver_63c22172_7c7d_461d_be51_8b0124e0a230"
      )
      dict entry(
         string "session_handle_token"
         variant             string "w0vncserver_38b06b43_62df_4db1_8709_8d2be2e20821"
      )
   ]
method call time=1768242029.999990 sender=:1.78 -> destination=org.freedesktop.DBus serial=645 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetConnectionUnixProcessID
   string ":1.407"
method return time=1768242030.000021 sender=org.freedesktop.DBus -> destination=:1.78 serial=599 reply_serial=645
   uint32 21515
method call time=1768242030.000798 sender=:1.78 -> destination=org.freedesktop.DBus serial=646 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.impl.portal.desktop.gnome',interface='org.freedesktop.impl.portal.Request',path='/org/freedesktop/portal/desktop/request/1_407/w0vncserver_63c22172_7c7d_461d_be51_8b0124e0a230'"
method return time=1768242030.000831 sender=org.freedesktop.DBus -> destination=:1.78 serial=600 reply_serial=646
method call time=1768242030.000874 sender=:1.78 -> destination=org.freedesktop.DBus serial=647 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=StartServiceByName
   string "org.freedesktop.impl.portal.desktop.gnome"
   uint32 0
method return time=1768242030.000904 sender=org.freedesktop.DBus -> destination=:1.78 serial=601 reply_serial=647
   uint32 2
method call time=1768242030.001416 sender=:1.78 -> destination=org.freedesktop.DBus serial=648 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.freedesktop.impl.portal.desktop.gnome"
method return time=1768242030.001447 sender=org.freedesktop.DBus -> destination=:1.78 serial=602 reply_serial=648
   string ":1.87"
method call time=1768242030.001870 sender=:1.78 -> destination=org.freedesktop.DBus serial=649 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.impl.portal.desktop.gnome',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged',path='/org/freedesktop/portal/desktop/session/1_407/w0vncserver_38b06b43_62df_4db1_8709_8d2be2e20821',arg0='org.freedesktop.impl.portal.Session'"
method return time=1768242030.001890 sender=org.freedesktop.DBus -> destination=:1.78 serial=603 reply_serial=649
method call time=1768242030.001965 sender=:1.78 -> destination=org.freedesktop.DBus serial=650 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.impl.portal.desktop.gnome',interface='org.freedesktop.impl.portal.Session',path='/org/freedesktop/portal/desktop/session/1_407/w0vncserver_38b06b43_62df_4db1_8709_8d2be2e20821'"
method return time=1768242030.001987 sender=org.freedesktop.DBus -> destination=:1.78 serial=604 reply_serial=650
method call time=1768242030.002038 sender=:1.78 -> destination=org.freedesktop.DBus serial=651 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=StartServiceByName
   string "org.freedesktop.impl.portal.desktop.gnome"
   uint32 0
method return time=1768242030.002066 sender=org.freedesktop.DBus -> destination=:1.78 serial=605 reply_serial=651
   uint32 2
method call time=1768242030.002361 sender=:1.78 -> destination=org.freedesktop.DBus serial=652 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.freedesktop.impl.portal.desktop.gnome"
method return time=1768242030.002378 sender=org.freedesktop.DBus -> destination=:1.78 serial=606 reply_serial=652
   string ":1.87"
method call time=1768242030.002614 sender=:1.78 -> destination=:1.87 serial=653 path=/org/freedesktop/portal/desktop/session/1_407/w0vncserver_38b06b43_62df_4db1_8709_8d2be2e20821; interface=org.freedesktop.DBus.Properties; member=GetAll
   string "org.freedesktop.impl.portal.Session"
error time=1768242030.003151 sender=:1.87 -> destination=:1.78 error_name=org.freedesktop.DBus.Error.UnknownMethod reply_serial=653
   string "Object does not exist at path “/org/freedesktop/portal/desktop/session/1_407/w0vncserver_38b06b43_62df_4db1_8709_8d2be2e20821”"
method call time=1768242030.003717 sender=:1.78 -> destination=:1.87 serial=654 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.impl.portal.RemoteDesktop; member=CreateSession
   object path "/org/freedesktop/portal/desktop/request/1_407/w0vncserver_63c22172_7c7d_461d_be51_8b0124e0a230"
   object path "/org/freedesktop/portal/desktop/session/1_407/w0vncserver_38b06b43_62df_4db1_8709_8d2be2e20821"
   string ""
   array [
   ]
method return time=1768242030.003758 sender=:1.78 -> destination=:1.407 serial=655 reply_serial=15
   object path "/org/freedesktop/portal/desktop/request/1_407/w0vncserver_63c22172_7c7d_461d_be51_8b0124e0a230"
method call time=1768242030.004511 sender=:1.87 -> destination=:1.34 serial=355 path=/org/gnome/Mutter/RemoteDesktop; interface=org.gnome.Mutter.RemoteDesktop; member=CreateSession
error time=1768242030.005195 sender=:1.34 -> destination=:1.87 error_name=org.freedesktop.DBus.Error.Failed reply_serial=355
   string "Session creation inhibited"
method return time=1768242030.005677 sender=:1.87 -> destination=:1.78 serial=356 reply_serial=654
   uint32 2
   array [
   ]
signal time=1768242030.006259 sender=:1.78 -> destination=:1.407 serial=656 path=/org/freedesktop/portal/desktop/request/1_407/w0vncserver_63c22172_7c7d_461d_be51_8b0124e0a230; interface=org.freedesktop.portal.Request; member=Response
   uint32 2
   array [
      dict entry(
         string "session_handle"
         variant             string "/org/freedesktop/portal/desktop/session/1_407/w0vncserver_38b06b43_62df_4db1_8709_8d2be2e20821"
      )
   ]
method call time=1768242030.006317 sender=:1.78 -> destination=:1.87 serial=657 path=/org/freedesktop/portal/desktop/session/1_407/w0vncserver_38b06b43_62df_4db1_8709_8d2be2e20821; interface=org.freedesktop.impl.portal.Session; member=Close
method call time=1768242030.006813 sender=:1.407 -> destination=org.freedesktop.DBus serial=16 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.portal.Desktop',interface='org.freedesktop.portal.Request',member='Response',path='/org/freedesktop/portal/desktop/request/1_407/w0vncserver_63c22172_7c7d_461d_be51_8b0124e0a230'"
method return time=1768242030.006838 sender=org.freedesktop.DBus -> destination=:1.407 serial=14 reply_serial=16
error time=1768242030.006847 sender=:1.87 -> destination=:1.78 error_name=org.freedesktop.DBus.Error.UnknownMethod reply_serial=657
   string "Object does not exist at path “/org/freedesktop/portal/desktop/session/1_407/w0vncserver_38b06b43_62df_4db1_8709_8d2be2e20821”"
method call time=1768242030.007394 sender=:1.407 -> destination=org.freedesktop.DBus serial=17 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.portal.Desktop',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged',path='/org/freedesktop/portal/desktop',arg0='org.freedesktop.portal.ScreenCast'"
method return time=1768242030.007429 sender=org.freedesktop.DBus -> destination=:1.407 serial=15 reply_serial=17
method call time=1768242030.007497 sender=:1.78 -> destination=org.freedesktop.DBus serial=658 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.impl.portal.desktop.gnome',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged',path='/org/freedesktop/portal/desktop/session/1_407/w0vncserver_38b06b43_62df_4db1_8709_8d2be2e20821',arg0='org.freedesktop.impl.portal.Session'"
method return time=1768242030.007542 sender=org.freedesktop.DBus -> destination=:1.78 serial=607 reply_serial=658
method call time=1768242030.007636 sender=:1.78 -> destination=org.freedesktop.DBus serial=659 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.impl.portal.desktop.gnome',interface='org.freedesktop.impl.portal.Session',path='/org/freedesktop/portal/desktop/session/1_407/w0vncserver_38b06b43_62df_4db1_8709_8d2be2e20821'"
method return time=1768242030.007658 sender=org.freedesktop.DBus -> destination=:1.78 serial=608 reply_serial=659
signal time=1768242030.008017 sender=org.freedesktop.DBus -> destination=:1.407 serial=16 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
   string ":1.407"
signal time=1768242030.008050 sender=org.freedesktop.DBus -> destination=(null destination) serial=557 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.407"
   string ":1.407"
   string ""
method call time=1768242030.008118 sender=:1.78 -> destination=org.freedesktop.DBus serial=660 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.impl.portal.desktop.gnome',interface='org.freedesktop.impl.portal.Request',path='/org/freedesktop/portal/desktop/request/1_407/w0vncserver_63c22172_7c7d_461d_be51_8b0124e0a230'"
method return time=1768242030.008152 sender=org.freedesktop.DBus -> destination=:1.78 serial=609 reply_serial=660
^C
----------------------------------------------------------------------------------------------------

FWIW, I just tested the nightly build on Ubuntu 24.04 with GNOME and could not reproduce this issue.


That's encouraging.  I'm going on the assumption that I've incorrectly installed or configured, as there are too many conflicting or out-of-date 'guides' for the installation of tigervnc, and none for use of w0vncserver.

I've been using tigervnc server on an Ubuntu 20.04 system for five years (not Wayland, of course).

-- 
Regards,
Al Savage

Michael D. Setzer II

unread,
4:38 PM (5 hours ago) 4:38 PM
to 'Al Savage' via TigerVNC User Discussion/Support, Al Savage
Just to note. Know that with Fedora if desktop is running wayland
you can not run a vnc session for same user. So, I use xvfc sessions,
since don't actually like wayland. Think same if you use the new
gnome dm, but classic did work I believe.


On 12 Jan 2026 at 10:30, 'Al Savage' via TigerVNC User wrote:

Date sent: Mon, 12 Jan 2026 10:30:10 -0800
Subject: Re: [tigervnc-users] Installing w0vncserver on Ubuntu
24.04 (GNOME, Wayland)
From: "'Al Savage' via TigerVNC User Discussion/Support"
<tigervn...@googlegroups.com>
To: TigerVNC User Discussion/Support
<tigervn...@googlegroups.com>
Send reply to: Al Savage <asa...@iname.com>
> --
> 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
> email to tigervnc-user...@googlegroups.com.
> To view this discussion visit
> https://groups.google.com/d/msgid/tigervnc-users/d9818870-1077-4fcc-84
> 5c-d669e737158f%40iname.com .


+------------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor (Retired)
mailto:mi...@guam.net
mailto:mset...@gmail.com
mailto:mset...@gmx.com
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+



Reply all
Reply to author
Forward
0 new messages