View Issue Details

IDProjectCategoryView StatusLast Update
0006197Kali LinuxKali Package Bugpublic2020-12-01 10:42
Reporterg0tmi1k Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionopen 
Summary0006197: TigerVNC-Standalone-Server - Not working with Xfce
Description
sudo apt update
sudo apt install -y tigervnc-standalone-server

vncserver
[password]
[password again]
[n to view only]
Additional Information
g0tmi1k@kali:~$ vncserver 

You will require a password to access your desktops.

Password:
Verify:
Would you like to enter a view-only password (y/n)? n

New 'kali:1 (g0tmi1k)' desktop at :1 on machine kali

Starting applications specified in /etc/X11/Xvnc-session
Log file is /home/g0tmi1k/.vnc/kali:1.log

Use xtigervncviewer -SecurityTypes VncAuth -passwd /home/g0tmi1k/.vnc/passwd :1 to connect to the VNC server.

vncserver: Failed command '/etc/X11/Xvnc-session': 256!

=================== tail -15 /home/g0tmi1k/.vnc/kali:1.log ===================
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12006000, The X.Org Foundation

Tue Mar 17 12:38:08 2020
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on local interface(s), port 5901
 vncext:      created VNC server for screen 0
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Internal error:   Could not resolve keysym XF86FullScreen
Errors from xkbcomp are not fatal to the X server
 ComparingUpdateTracker: 0 pixels in / 0 pixels out
 ComparingUpdateTracker: (1:-nan ratio)
X connection to :1 broken (explicit kill or server shutdown).
Killing Xtigervnc process ID 1377... which seems to be deadlocked. Using SIGKILL!

==============================================================================

Starting applications specified in /etc/X11/Xvnc-session has failed.
Maybe try something simple first, e.g.,
        tigervncserver -xstartup /usr/bin/xterm
g0tmi1k@kali:~$ 
g0tmi1k@kali:~$ 
g0tmi1k@kali:~$ cat .vnc/
kali:1.log  passwd      
g0tmi1k@kali:~$ cat .vnc/kali\:1.log 

Xvnc TigerVNC 1.10.0 - built Dec 30 2019 14:38:21
Copyright (C) 1999-2019 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12006000, The X.Org Foundation

Tue Mar 17 12:38:08 2020
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on local interface(s), port 5901
 vncext:      created VNC server for screen 0
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Internal error:   Could not resolve keysym XF86FullScreen
Errors from xkbcomp are not fatal to the X server
 ComparingUpdateTracker: 0 pixels in / 0 pixels out
 ComparingUpdateTracker: (1:-nan ratio)
X connection to :1 broken (explicit kill or server shutdown).
Killing Xtigervnc process ID 1377... which seems to be deadlocked. Using SIGKILL!
g0tmi1k@kali:~$ 

Relationships

related to 0006173 closed TightVNC - Grey screen 

Activities

g0tmi1k

g0tmi1k

2020-03-17 12:40

administrator   ~0012422

The following then works for me:

g0tmi1k@kali:~$ cat <<EOF> ~/.vnc/xstartup
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
/usr/bin/startxfce4 &
EOF
g0tmi1k@kali:~$
g0tmi1k@kali:~$ vncserver 

New 'kali:1 (g0tmi1k)' desktop at :1 on machine kali

Starting applications specified in /home/g0tmi1k/.vnc/xstartup
Log file is /home/g0tmi1k/.vnc/kali:1.log

Use xtigervncviewer -SecurityTypes VncAuth -passwd /home/g0tmi1k/.vnc/passwd :1 to connect to the VNC server.

g0tmi1k@kali:~$ 
g0tmi1k

g0tmi1k

2020-03-17 12:41

administrator   ~0012423

g0tmi1k@kali:~$ cat /etc/X11/Xvnc-session 
#! /bin/sh

test x"$SHELL" = x"" && SHELL=/bin/bash
test x"$1"     = x"" && set -- default

vncconfig -iconic &
"$SHELL" -l <<EOF
exec /etc/X11/Xsession "$@"
EOF
vncserver -kill $DISPLAY
g0tmi1k@kali:~$ 
g0tmi1k

g0tmi1k

2020-12-01 10:42

administrator   ~0013874

This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity.
Please could you see if you are able to replicate this issue with the latest version of Kali Linux (https://www.kali.org/downloads/)?
If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing, and also give information about your setup?
For more information, please read: https://kali.training/topic/filing-a-good-bug-report/

Issue History

Date Modified Username Field Change
2020-03-17 12:39 g0tmi1k New Issue
2020-03-17 12:39 g0tmi1k Relationship added related to 0006173
2020-03-17 12:40 g0tmi1k Note Added: 0012422
2020-03-17 12:41 g0tmi1k Note Added: 0012423
2020-12-01 10:42 g0tmi1k Note Added: 0013874
2020-12-01 10:42 g0tmi1k Status new => closed