> The log file ends up in ~/.vnc. Please check there for any errors.
Here is the output of semazen\1:.log
Thu Oct 6 18:11:08 2016
vncext: VNC extension running!
vncext: Listening for VNC connections on local interface(s), port 5901
vncext: created VNC server for screen 0
/usr/bin/vncconfig: unable to open display "semazen:1"
xrdb: Connection refused
xrdb: Can't open display 'semazen:1'
/etc/X11/xinit/xinitrc: line 52: xclock: command not found
xterm: Xt error: Can't open display: semazen:1
xterm: Xt error: Can't open display: semazen:1
xterm: Xt error: Can't open display: semazen:1
twm: unable to open display "semazen:1"
I am not sure why this file is named as semazen\:1.log, since I the command to start vncserver is
sudo systemctl start vncserver@:10.service
Therefore the display number is supposed to be 10 not 1.
I am also puzzled with the lines that report problem with xrdb. Is this a typo? Does it mean xrdp instead?
So complicated...
PAMName=login
Please see below the new log file, still named as semazen:1.log since vncserver seems to ignore my setting to open display 10 instead of 1 for some reason:
Xvnc TigerVNC 1.7.0 - built Sep 8 2016 19:36:24
Copyright (C) 1999-2016 TigerVNC Team and many others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.
Underlying X server release 11804000, The X.Org Foundation
Sat Oct 8 12:36:25 2016
vncext: VNC extension running!
vncext: Listening for VNC connections on local interface(s), port 5901
vncext: created VNC server for screen 0
/usr/bin/vncconfig: unable to open display "semazen:1"
xrdb: Connection refused
xrdb: Can't open display 'semazen:1'
Failed to connect to bus: No such file or directory
dbus-update-activation-environment: error: unable to connect to D-Bus: /usr/bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
/etc/X11/xinit/xinitrc: line 52: xclock: command not found
xterm: Xt error: Can't open display: semazen:1
twm: unable to open display "semazen:1"
xterm: Xt error: Can't open display: semazen:1
xterm: Xt error: Can't open display: semazen:1
Looks like there seems to be a connection problem to D-Bus. This seems reasonable to me since my original working system failed after a KDE update. Any thoughts?
Thanks!
On 07/10/16 22:30, hakayova wrote:
I am not sure why this file is named as semazen\:1.log, since I the command to start vncserver is
sudo systemctl start vncserver@:10.service
Therefore the display number is supposed to be 10 not 1.
Odd. Does things work for you if you choose a lower display number?
I am also puzzled with the lines that report problem with xrdb. Is this a typo? Does it mean xrdp instead?
Nope, xrdb is a different thing.
Regards
--
Pierre Ossman Software Development
Cendio AB https://cendio.com
Teknikringen 8 https://twitter.com/ThinLinc
583 30 Linköping https://facebook.com/ThinLinc
Phone: +46-13-214600 https://plus.google.com/+CendioThinLinc
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
--
You received this message because you are subscribed to the Google Groups "TigerVNC User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tigervnc-users+unsubscribe@googlegroups.com.
To post to this group, send email to tigervn...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tigervnc-users/e5e73f5b-b0c3-17f5-6cb8-b785ad5e29b8%40cendio.se.
On 17/10/16 11:51, Ben Hildred wrote:
I am also puzzled with the lines that report problem with xrdb. Is this a
typo? Does it mean xrdp instead?
Nope, xrdb is a different thing.
um, not exactly. xrdb is a rdp to vnc shim that uses Xvnc for its Xserver.
if you are serving both rdp and vnc clients the errors can be quite
confusing if you don't take into account that multiple servers are
involved.
xrd*B* has nothing to do with RDP. It's an X11 thing that's been around for ages.
Regards
--
Pierre Ossman Software Development
Cendio AB https://cendio.com
Teknikringen 8 https://twitter.com/ThinLinc
583 30 Linköping https://facebook.com/ThinLinc
Phone: +46-13-214600 https://plus.google.com/+CendioThinLinc
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
This is on Manjaro Linux (an Arch linux based distribution), and tigervnc 1.7.1-1 is the current version installed.
Hakan
> >
>
> Hmmm... How did you set up this service? This is a dynamic service that
> can be launch multiple copies. As such it should not be called just
> vncserver.service.
Following is the systemd service file named vncserver@:10.service
[Unit]
Description=Remote desktop service (VNC)
After=syslog.target network.target
[Service]
Type=simple
User=mancar
PAMName=login
ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'
ExecStart=/usr/bin/vncserver -geometry 1440x900 -alwaysshared -fg %i
ExecStop=/usr/bin/vncserver -kill %i
[Install]
WantedBy=multi-user.target
This is the file generated after service fails to stay alive, named ~/.vnc/localhost:3.log
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
(EE)
Fatal server error:
(EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)
Well the X server is already running when I attempt to start the service by issuing the command sudo systemctl start vncserver@:10.service. VNC server on the other hand starts but does not stay alive at the boot with the error I posted in my previous message, showed as a response to the sudo systemctl status vncs...@10.service command.
I hope this is clear enough. If not, please let me know I am more than happy to experiment to solve this problem.
Hakan