But when I start vnc with root, the smae log is also got: 18/03/20 20:21:01 Xvnc version TightVNC-1.3.9 18/03/20 20:21:01 Copyright (C) 2000-2007 TightVNC Group 18/03/20 20:21:01 Copyright (C) 1999 AT&T Laboratories Cambridge 18/03/20 20:21:01 All Rights Reserved. 18/03/20 20:21:01 See http://www.tightvnc.com/ for information on TightVNC 18/03/20 20:21:01 Desktop name 'X' (athena:2) 18/03/20 20:21:01 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t 18/03/20 20:21:01 Listening for VNC connections on TCP port 5902 xrdb: No such file or directory xrdb: can't open file '/root/.Xresources' Terminated
18/03/20 20:21:24 Got connection from client 127.0.0.1 18/03/20 20:21:24 Using protocol version 3.8 18/03/20 20:21:24 Enabling TightVNC protocol extensions 18/03/20 20:21:27 Full-control authentication passed by 127.0.0.1 18/03/20 20:21:27 Pixel format for client 127.0.0.1: 18/03/20 20:21:27 32 bpp, depth 24, little endian 18/03/20 20:21:27 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0 18/03/20 20:21:27 no translation needed 18/03/20 20:21:27 Using raw encoding for client 127.0.0.1 18/03/20 20:21:27 Using compression level 1 for client 127.0.0.1 18/03/20 20:21:27 Using image quality level 6 for client 127.0.0.1 18/03/20 20:21:27 Enabling X-style cursor updates for client 127.0.0.1 18/03/20 20:21:27 Enabling cursor position updates for client 127.0.0.1 18/03/20 20:21:27 Enabling LastRect protocol extension for client 127.0.0.1 And the same blank screen was got in the client. -----原始邮件----- 发件人:"Ola Lundqvist" <o...@inguza.com> 发送时间:2020-03-18 19:55:05 (星期三) 收件人: gulfstream <wg...@china.com>, 954...@bugs.debian.org 抄送: "Ola Lundqvist" <o...@inguza.com> 主题: Re: Bug#954158: Re: Bug#954158: Re: Bug#954158: tightvncserver output a blank screen with gray color under gnome Hi Then I understand. It must have changed path from /usr/bin to /usr/sbin I do not really understand why. It is not only for root to run... // Ola On Wed, 18 Mar 2020 at 11:39, <wg...@china.com> wrote: I installed xrdp with apt-get, so its path is default of debian. $ whereis xrdp xrdp: /usr/sbin/xrdp /usr/lib/x86_64-linux-gnu/xrdp /etc/xrdp /usr/share/xrdp /usr/share/man/man8/xrdp.8.gz -----原始邮件----- 发件人:"Ola Lundqvist" <o...@inguza.com> 发送时间:2020-03-18 16:29:28 (星期三) 收件人:wg...@china.com, 954...@bugs.debian.org 抄送: 主题: Re: Bug#954158: Re: Bug#954158: tightvncserver output a blank screen with gray color under gnome What is the path of xrdb on your installation? // Ola On Wed, 18 Mar 2020 at 06:57, <wg...@china.com> wrote: Hi, I am glad to receive your reply. I have checked the xstartup which in the folder ~/.vnc. It is created by tightvncserver automatically. It is as below, #!/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 And the log file is, 20 23:07:54 Xvnc version TightVNC-1.3.9 17/03/20 23:07:54 Copyright (C) 2000-2007 TightVNC Group 17/03/20 23:07:54 Copyright (C) 1999 AT&T Laboratories Cambridge 17/03/20 23:07:54 All Rights Reserved. 17/03/20 23:07:54 See http://www.tightvnc.com/ for information on TightVNC 17/03/20 23:07:54 Desktop name 'X' (athena:1) 17/03/20 23:07:54 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t 17/03/20 23:07:54 Listening for VNC connections on TCP port 5901 xrdb: No such file or directory xrdb: can't open file '/home/wgl/.Xresources' 17/03/20 23:08:29 Got connection from client 127.0.0.1 17/03/20 23:08:29 Using protocol version 3.8 17/03/20 23:08:29 Enabling TightVNC protocol extensions 17/03/20 23:08:32 Full-control authentication passed by 127.0.0.1 17/03/20 23:08:32 Pixel format for client 127.0.0.1: 17/03/20 23:08:32 32 bpp, depth 24, little endian 17/03/20 23:08:32 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0 17/03/20 23:08:32 no translation needed 17/03/20 23:08:32 Using raw encoding for client 127.0.0.1 17/03/20 23:08:32 Using compression level 1 for client 127.0.0.1 17/03/20 23:08:32 Using image quality level 6 for client 127.0.0.1 17/03/20 23:08:32 Enabling X-style cursor updates for client 127.0.0.1 17/03/20 23:08:32 Enabling cursor position updates for client 127.0.0.1 17/03/20 23:08:32 Enabling LastRect protocol extension for client 127.0.0.1 17/03/20 23:09:23 Client 127.0.0.1 gone 17/03/20 23:09:23 Statistics: 17/03/20 23:09:23 key events received 0, pointer events 34 17/03/20 23:09:23 framebuffer updates 1, rectangles 3, bytes 3145834 17/03/20 23:09:23 cursor shape updates 1, bytes 82 17/03/20 23:09:23 cursor position updates 1, bytes 12 17/03/20 23:09:23 raw rectangles 1, bytes 3145740 17/03/20 23:09:23 raw bytes equivalent 3145740, compression ratio 1.000000 There is a message "xrdb: No such file or directory" in the log, but the xrdb was installed in the computer. I don't know if it is a bug of tightvnc or a mistake configuration of xstratup. Btw, I test the tightvncserver in Debian Buster, and same result was got. Best regards, Gulfstream -----原始邮件----- 发件人:"Ola Lundqvist" <o...@inguza.com> 发送时间:2020-03-18 04:31:44 (星期三) 收件人: gulfstream <wg...@china.com>, 954...@bugs.debian.org 抄送:cont...@bugs.debian.org 主题: Re: Bug#954158: tightvncserver output a blank screen with gray color under gnome tags 954158 + moreinfo severity 954158 minor thanks Hi Have you checked your vnc startup script in ~/.vnc/xstartup or alternatively the startup script in ~/.vncstartup This is the set of commands used to start the window manager and other stuff. When reading the manual I can see that this is not really clear. This could be improved. // Ola On Tue, 17 Mar 2020 at 16:33, gulfstream <wg...@china.com> wrote: Package: tightvncserver Version: 1:1.3.9-9.1 Severity: grave Hello, I want to use tightvnc under the gnome desktop, but only a blank screen was got in the client. Nothing is on the screen except a cursor. What is the matter? Would you please resolve it? Thank you very much! Best regards, Gulfstream -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.4.0-4-amd64 (SMP w/12 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), LANGUAGE=zh_CN.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages tightvncserver depends on: ii libc6 2.29-10 ii libjpeg62-turbo 1:1.5.2-2+b1 ii libx11-6 2:1.6.9-2 ii perl 5.30.0-9 ii x11-common 1:7.7+20 ii x11-utils 7.7+5 ii xauth 1:1.0.10-1 ii xserver-common 2:1.20.7-4 ii zlib1g 1:1.2.11.dfsg-2 Versions of packages tightvncserver recommends: ii x11-xserver-utils 7.7+8 ii xfonts-base 1:1.0.5 Versions of packages tightvncserver suggests: pn tightvnc-java <none> -- no debconf information -- --- Inguza Technology AB --- MSc in Information Technology ---- | o...@inguza.com o...@debian.org | | http://inguza.com/ Mobile: +46 (0)70-332 1551 | --------------------------------------------------------------- -- --- Inguza Technology AB --- MSc in Information Technology ---- | o...@inguza.com o...@debian.org | | http://inguza.com/ Mobile: +46 (0)70-332 1551 | --------------------------------------------------------------- -- --- Inguza Technology AB --- MSc in Information Technology ---- | o...@inguza.com o...@debian.org | | http://inguza.com/ Mobile: +46 (0)70-332 1551 | ---------------------------------------------------------------