Evening,
im having problems getting a working VNC server on my OS leap setup. I followed the very simple guide in the docs but to no avail. I suspect its something to do with graphics drivers but wanted to check I’d not missed something else before I consign the idea to the scrap heap.
Current set up is as follows;
enabled remote connections as per https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.reference/cha.vnc.html#sec.vnc.one-time.config including firewall config.
checked xinetd logs for visible connection attempts, output of the xinetd log is promising
16/6/24@22:48:22: START: vnc1 from=192.168.0.3
16/6/24@22:48:22: EXIT: vnc1 status=1 duration=0(sec)
as does xinetd status via “rcxinetd status”
matt@linux-3o78:~> sudo rcxinetd status
xinetd.service - Xinetd A Powerful Replacement For Inetd
Loaded: loaded (/usr/lib/systemd/system/xinetd.service; enabled)
Active: active (running) since Fri 2016-06-24 22:47:57 BST; 28s ago
Main PID: 10318 (xinetd)
CGroup: /system.slice/xinetd.service
└─10318 /usr/sbin/xinetd -stayalive -dontfork
Jun 24 22:47:57 linux-3o78 xinetd[10318]: Reading included configuration file: /etc/xinetd.d/sane-port [file=/etc/xinetd.d/sane-port] [line=12]
Jun 24 22:47:57 linux-3o78 xinetd[10318]: Reading included configuration file: /etc/xinetd.d/servers [file=/etc/xinetd.d/servers] [line=14]
Jun 24 22:47:57 linux-3o78 xinetd[10318]: Reading included configuration file: /etc/xinetd.d/services [file=/etc/xinetd.d/services] [line=14]
Jun 24 22:47:57 linux-3o78 xinetd[10318]: Reading included configuration file: /etc/xinetd.d/svnserve [file=/etc/xinetd.d/svnserve] [line=14]
Jun 24 22:47:57 linux-3o78 xinetd[10318]: Reading included configuration file: /etc/xinetd.d/systat [file=/etc/xinetd.d/systat] [line=15]
Jun 24 22:47:57 linux-3o78 xinetd[10318]: Reading included configuration file: /etc/xinetd.d/time [file=/etc/xinetd.d/time] [line=17]
Jun 24 22:47:57 linux-3o78 xinetd[10318]: Reading included configuration file: /etc/xinetd.d/time-udp [file=/etc/xinetd.d/time-udp] [line=15]
Jun 24 22:47:57 linux-3o78 xinetd[10318]: Reading included configuration file: /etc/xinetd.d/vnc [file=/etc/xinetd.d/vnc] [line=15]
Jun 24 22:47:57 linux-3o78 xinetd[10318]: xinetd Version 2.3.15 started with libwrap loadavg options compiled in.
Jun 24 22:47:57 linux-3o78 xinetd[10318]: Started working: 1 available service
but then my VLC client running on windows and android both fail to connect to my vlc session with the error “the session closed unexpectedly”
im guessing this is the Xvlc process then crashing out, but I dont know why. My /etc/xinetd.d/vnc file is,
service vnc1
{
socket_type = stream
protocol = tcp
wait = no
user = vnc
server = /usr/bin/Xvnc
server_args = -noreset -inetd -once -query localhost -geometry 1360x768 -x509key /etc/vnc/tls.key -x509cert /etc/vnc/tls.cert -InetdLogFile /home/matt/VNCLOG-$DISPLAYNUM-$USER.log -log *:syslog:30 -$
type = UNLISTED
port = 5901
}
i’ve tried to get the process to log to a local file for me so I can see whats going on, but so far nothing.
Any help would be appreciated.