Public bug reported: In a fresh install of Kubuntu Xenial 16.04.01, just installing vnc4server and starting a new instance with vnc4server :2 the kde is not started, I just can see the generic X environment with a copy of the vncconfig program.
The log for this session is: <code> Xvnc Free Edition 4.1.1 - built Feb 25 2015 23:02:21 Copyright (C) 2002-2005 RealVNC Ltd. See http://www.realvnc.com for information on VNC. Underlying X server release 40300000, The XFree86 Project, Inc Mon Oct 24 23:17:43 2016 vncext: VNC extension running! vncext: Listening for VNC connections on port 5902 vncext: created VNC server for screen 0 error opening security policy file /etc/X11/xserver/SecurityPolicy Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list! Could not init font path element /usr/share/fonts/X11/75dpi/, removing from list! Could not init font path element /usr/share/fonts/X11/100dpi/, removing from list! QCoreApplication::arguments: Please instantiate the QApplication object first x-terminal-emulator: Unknown option 'ls'. x-terminal-emulator: Use --help to get a list of available command line options. QXcbConnection: Failed to initialize XRandr Qt: XKEYBOARD extension not present on the X server. QXcbConnection: Failed to initialize XRandr Qt: XKEYBOARD extension not present on the X server. QXcbConnection: Failed to initialize XRandr Qt: XKEYBOARD extension not present on the X server. Setting the name of 0x22e81f0 to "org.kde.ActivityManager.ActivityTemplates" Setting the name of 0x22f32a0 to "org.kde.ActivityManager.RunApplication" Setting the name of 0x22fbec0 to "org.kde.ActivityManager.Resources.Scoring" Creating directory: "/home/radikal/.local/share/kactivitymanagerd/resources/" KActivities: Database connection: "kactivities_db_resources_139722819225792_readwrite" query_only: QVariant(qlonglong, 0) journal_mode: QVariant(QString, "wal") wal_autocheckpoint: QVariant(qlonglong, 100) synchronous: QVariant(qlonglong, 1) org.kde.kwindowsystem.keyserver.x11: Your keyboard setup doesn't provide a key to use for meta. See 'xmodmap -pm' or 'xkbcomp $DISPLAY' QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.3' QXcbConnection: XCB error: 16 (BadLength), sequence: 544, resource id: 4194315, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 545, resource id: 4194315, major code: 72 (PutImage), minor code: 0 kwin_core: Compositing is not possible QXcbConnection: XCB error: 16 (BadLength), sequence: 546, resource id: 4194315, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 547, resource id: 4194315, major code: 72 (PutImage), minor code: 0 detected kglobalaccel restarting, re-registering all shortcut keys Service started, version: 6.2.0 QXcbConnection: XCB error: 16 (BadLength), sequence: 557, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 558, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 559, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 560, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 561, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 562, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 563, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 564, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 565, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 566, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 567, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 568, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 569, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 570, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 571, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 572, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 573, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 574, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 575, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 576, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 577, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 578, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 579, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 580, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 581, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 582, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 583, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 584, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 585, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 586, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 587, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 588, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 589, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 590, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 591, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 592, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 593, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 594, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 595, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 596, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 597, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 598, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 599, resource id: 2097164, major code: 72 (PutImage), minor code: 0 QXcbConnection: XCB error: 16 (BadLength), sequence: 600, resource id: 2097164, major code: 72 (PutImage), minor code: 0 XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":2" after 175 requests (175 known processed) with 0 events remaining. The X11 connection broke (error 1). Did the X11 server die? Closing SQL connection: "kactivities_db_resources_139722819225792_readwrite" The X11 connection broke (error 1). Did the X11 server die? </code> if I uncomment the two lines in home/.vnc/xtartup: # Uncomment the following two lines for normal desktop: unset SESSION_MANAGER exec /etc/X11/xinit/xinitrc the result is different, now I just can see the X windows standard environment, without the vncconfig opened, but, the kde does not start. This is the log for that session: <code> Xvnc Free Edition 4.1.1 - built Feb 25 2015 23:02:21 Copyright (C) 2002-2005 RealVNC Ltd. See http://www.realvnc.com for information on VNC. Underlying X server release 40300000, The XFree86 Project, Inc Mon Oct 24 23:26:29 2016 vncext: VNC extension running! vncext: Listening for VNC connections on port 5902 vncext: created VNC server for screen 0 error opening security policy file /etc/X11/xserver/SecurityPolicy Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list! Could not init font path element /usr/share/fonts/X11/75dpi/, removing from list! Could not init font path element /usr/share/fonts/X11/100dpi/, removing from list! Mon Oct 24 23:26:43 2016 Connections: accepted: 0.0.0.0::49632 SConnection: Client needs protocol version 3.8 SConnection: Client requests security type VncAuth(2) VNCSConnST: Server default pixel format depth 16 (16bpp) little-endian rgb565 VNCSConnST: Client pixel format depth 16 (16bpp) little-endian rgb565 VNCSConnST: Client pixel format depth 16 (16bpp) little-endian rgb565 Mon Oct 24 23:26:46 2016 Connections: closed: 0.0.0.0::49632 (Clean disconnection) SMsgWriter: framebuffer updates 132 SMsgWriter: ZRLE rects 264, bytes 7728 SMsgWriter: raw bytes equivalent 1719364, compression ratio 222.484990 </code> I have installed a Ubuntu server, then I have installed KDE desktop and the vnc4server do the same thing. ** Affects: vnc4 (Ubuntu) Importance: Undecided Status: New ** Tags: vnc4server xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1636384 Title: Xenial: vnc4server doesn't start kde To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vnc4/+bug/1636384/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs