[Pkg-tigervnc-devel] Bug#984826: tigervnc-standalone-server: Unable to init server: Could not connect: Connection refused
Joachim Falk
joachim.falk at gmx.de
Mon Mar 8 21:44:37 GMT 2021
Hi Matthias,
I tried to replicate the problem, but could start the mate desktop just fine.
I will attache my configuration. I used
apt install mate-core
and used the default configuration in /etc/tigervnc. Moreover, I have
[bash joachim at xerstin:~]$ ls -la ~/.vnc/
drwxrwxr-x 2 joachim joachimg 4096 8. Mär 22:19 .
drwxr-x--x 187 joachim joachimg 20480 8. Mär 22:29 ..
-rw-rw-r-- 1 joachim joachimg 6098 8. Mär 22:28 alpha.jfalk.de:5901.log
-rw-rw-r-- 1 joachim joachimg 6 8. Mär 22:19 alpha.jfalk.de:5901.pid
-rw------- 1 joachim joachimg 8 8. Mär 22:12 passwd
-rwxr-xr-x 1 joachim joachimg 91 8. Mär 22:10 xstartup
[bash joachim at xerstin:~]$ cat .vnc/xstartup
#! /bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
exec /usr/bin/mate-session
I used the following command to start.
[bash joachim at alpha:~]$ tigervncserver --localhost no
New Xtigervnc server 'alpha.jfalk.de:1 (joachim)' on port 5901 for display :1.
Use xtigervncviewer -SecurityTypes VncAuth,TLSVnc -passwd /home/joachim/.vnc/passwd alpha.jfalk.de:1 to connect to the VNC server.
I used tigervncserver --list to confirm that the server is running.
[bash joachim at alpha:~]$ tigervncserver --list
TigerVNC server sessions:
X DISPLAY # RFB PORT # PROCESS ID SERVER
:1 5901 29417 Xtigervnc
Moreover, connecting to alpha.jfalk.de:1 with a VNC viewer gets me the mate desktop environment.
Can you try to start something simpler to determine where exactly the problem is?
Use something like: tigervncserver --localhost no --xstartup /usr/bin/xterm
This should get you a VNC session running a simple xterm.
Best,
Joachim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vnc-configs.tgz
Type: application/x-compressed-tar
Size: 5337 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-tigervnc-devel/attachments/20210308/e16e6fa6/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-tigervnc-devel/attachments/20210308/e16e6fa6/attachment-0003.sig>
More information about the Pkg-tigervnc-devel
mailing list