Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VNC on debian 11 can't get it working on fress install

100 views
Skip to first unread message

Mark Tyfish

unread,
Sep 30, 2022, 7:00:06 AM9/30/22
to
Hello all,

I am struggling getting VNC to behave on a fresh install.

I followed these instructions:



~~~~~ This command works and brings up a vnc server I can log into:

vncserver -xstartup startxfce4 &


~~~~~ Here is the start of the logfile of a successful start:
mark@debian:~/.vnc$ cat debian\:5901.log

Xvnc TigerVNC 1.11.0 - built 2022-01-26 17:59
Copyright (C) 1999-2020 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12011000, The X.Org Foundation


Fri Sep 30 20:21:56 2022
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on local interface(s), port 5901
 vncext:      created VNC server for screen 0
3NI3X0 New Xtigervnc server 'debian:1 (mark)' on port 5901 for display :1.
3NI3X0 Use xtigervncviewer -SecurityTypes VncAuth -passwd /home/mark/.vnc/passwd :1 to connect to the VNC server.
/usr/bin/startxfce4: X server already running on display :1
gpg-agent: a gpg-agent is already running - not starting a new one

(xfwm4:4458): xfwm4-WARNING **: 20:21:57.417: Unsupported GL renderer (llvmpipe (LLVM 11.0.1, 256 bits)).

** (xfce4-power-manager:4492): WARNING **: 20:21:57.987: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.xfce.PowerManager': no such name


** (xfce4-power-manager:4492): WARNING **: 20:21:57.988: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.freedesktop.PowerManagement': no such name

Xfce power manager is not running
Xlib:  extension "DPMS" missing on display ":1".

(xfce4-power-manager:4492): xfce4-power-manager-WARNING **: 20:21:57.991: Monitor is not DPMS capable
~~~~~ log continues



~~~~~ This command does not work:
mark@debian:~/.vnc$ vncserver

New Xtigervnc server 'debian:1 (mark)' on port 5901 for display :1.
Use xtigervncviewer -SecurityTypes VncAuth -passwd /home/mark/.vnc/passwd :1 to connect to the VNC server.


=================== tail /home/mark/.vnc/debian:5901.log ===================
xrdb: No such file or directory
xrdb: can't open file '/.Xresources'
============================================================================

Session startup via '/home/mark/.vnc/xstartup' cleanly exited too early (< 3 seconds)!

Maybe try something simple first, e.g.,
        tigervncserver -xstartup /usr/bin/xterm
The X session cleanly exited!
Killing Xtigervnc process ID 4806... success!

~~~~~ This is the log I get:
mark@debian:~/.vnc$ cat debian\:5901.log

Xvnc TigerVNC 1.11.0 - built 2022-01-26 17:59
Copyright (C) 1999-2020 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12011000, The X.Org Foundation


Fri Sep 30 20:32:01 2022
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on local interface(s), port 5901
 vncext:      created VNC server for screen 0
3NI3X0 New Xtigervnc server 'debian:1 (mark)' on port 5901 for display :1.
3NI3X0 Use xtigervncviewer -SecurityTypes VncAuth -passwd /home/mark/.vnc/passwd :1 to connect to the VNC server.
xrdb: No such file or directory
xrdb: can't open file '/.Xresources'
/usr/bin/startxfce4: X server already running on display :1
 ComparingUpdateTracker: 0 pixels in / 0 pixels out
 ComparingUpdateTracker: (1:-nan ratio)
xrdb: Connection refused
xrdb: Can't open display ':1'
Unable to init server: Could not connect: Connection refused
xfce4-session: Cannot open display: .
Type 'xfce4-session --help' for usage.

Any ideas?  thanks
0 new messages