View Issue Details

IDProjectCategoryView StatusLast Update
0006197Kali Linux[All Projects] Kali Package Bugpublic2020-03-17 12:41
Reporterg0tmi1k Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
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 new TightVNC - Grey screen 

Activities

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

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:~$
```

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