View Issue Details

IDProjectCategoryView StatusLast Update
0006173Kali Linux[All Projects] Kali Package Bugpublic2020-05-15 09:13
Reporterg0tmi1k Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0006173: TightVNC - Grey screen
DescriptionSo running tightvnc as a non-root user, when using Xfce, ends up with a "grey" screen.

Steps To Reproduce```
sudo apt update
sudo apt install -y tightvncserver xtightviewer

vncserver :1
[password]
[password again]
[n to view only]

vncviewer localhost:5901
```


Additional InformationSo it looks like the issue is with xstartup.

Default value:
```
g0tmi1k@kali-dev:~/.vnc$ cat xstartup
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
# Fix to make GNOME work
export XKL_XMODMAP_DISABLE=1
/etc/X11/Xsession
g0tmi1k@kali-dev:~/.vnc$
```

Based on ~ https://askubuntu.com/questions/1068370/vnc-grey-screen-16-04-tightvnc-xfce4-solved
The following works:

```
g0tmi1k@kali-dev:~/.vnc$ cat xstartup
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
/usr/bin/startxfce4 &
g0tmi1k@kali-dev:~/.vnc$
```


Using the root user, the default values will work (just don't restart afterwards, because some files with then be owned as root, and unable to log back in!).

Relationships

related to 0006197 new TigerVNC-Standalone-Server - Not working with Xfce 

Activities

g0tmi1k

2020-03-09 12:23

administrator   ~0012390

Not sure if this is an issue with Kali's Xfce. or Debian, or tightVNC.

Ive not tested anything more than Kali.

rhertzog

2020-05-15 09:13

administrator   ~0012781

Is this something that still needs to be investigated? What exactly are you trying to achieve?

Issue History

Date Modified Username Field Change
2020-03-09 12:22 g0tmi1k New Issue
2020-03-09 12:23 g0tmi1k Summary TightVNC => TightVNC - Grey screen
2020-03-09 12:23 g0tmi1k Note Added: 0012390
2020-03-17 12:39 g0tmi1k Relationship added related to 0006197
2020-05-15 09:13 rhertzog Note Added: 0012781