- Package:
- tightvncserver
- Source:
- tightvnc
- Description:
- virtual network computing server software
- Submitter:
- gulfstream
- Date:
- 2021-07-24 12:51:03 UTC
- Severity:
- minor
- Tags:
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
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
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" <ola@inguza.com> 发送时间:2020-03-18 04:31:44 (星期三) 收件人: gulfstream <wglxy@china.com>, 954158@bugs.debian.org 抄送: control@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 <wglxy@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
What is the path of xrdb on your installation? // Ola
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" <ola@inguza.com> 发送时间:2020-03-18 16:29:28 (星期三) 收件人: wglxy@china.com, 954158@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, <wglxy@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" <ola@inguza.com> 发送时间:2020-03-18 04:31:44 (星期三) 收件人: gulfstream <wglxy@china.com>, 954158@bugs.debian.org 抄送:control@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 <wglxy@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
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
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" <ola@inguza.com> 发送时间:2020-03-18 19:55:05 (星期三) 收件人: gulfstream <wglxy@china.com>, 954158@bugs.debian.org 抄送: "Ola Lundqvist" <ola@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, <wglxy@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" <ola@inguza.com> 发送时间:2020-03-18 16:29:28 (星期三) 收件人:wglxy@china.com, 954158@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, <wglxy@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" <ola@inguza.com> 发送时间:2020-03-18 04:31:44 (星期三) 收件人: gulfstream <wglxy@china.com>, 954158@bugs.debian.org 抄送:control@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 <wglxy@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
Hi Yes root does not help because the search path is not including /usr/sbin for vnc. /usr/sbin and /sbin is only intended for system commands that root run for system maintenance and for system services. This is why I do not understand why xrdb has moved its location. The intention of this tool is for the user to run. In your case you can edit your startup file manually to include the path directly. Best regards // Ola
I looked through the folder /usr/bin just now, and found the xrdp is also in the folder /usr/bin # ls xr* xrandr xrdb xrdp-dis xrdp-genkeymap xrdp-keygen xrdp-sesadmin xrdp-sesrun xrefresh So the message in the vnc log fle is so strange.
Yes then it is really strange... Den ons 18 mars 2020 13:59 <wglxy@china.com> skrev:
Hello Gulfstream, on X it required X11's Xcomposite extension for quite some time now. On the other hand, Thightvnc is old software. It bases on Xfree86, an outdated implementation of X. Thightvnc's X server doesn't comprise the Xcomposite extension. Also, upstream does not maintain Thightvnc on Linux any more. Conclusion: Tightvncserver cannot serve a recent Gnome desktop. Recommendation: Install the gnome-remote-desktop package and enable screen sharing in your Gnome Settings. Sven