On 14 Jul 2013 at 22:36, Erik P. Olsen wrote: Date sent: Sun, 14 Jul 2013 22:36:07 +0200 From: "Erik P. Olsen" <epod...@gmail.com> Organization: EPO data To: tigervnc-users@lists.sourceforge.net Subject: [Tigervnc-users] Getting "Connection Refused (111)" at vncviewer.
> I have googled subject message and got many hits which however did not > seem to solve my problem. Both server and client are fedora 19 and > xfce. On vncserver I get: > > [root@epohost etc]# systemctl status vncserver@:1.service > vncserver@:1.service - Remote desktop service (VNC) > Loaded: loaded (/usr/lib/systemd/system/vncserver@:1.service; > enabled) Active: inactive (dead) since Sun 2013-07-14 21:58:55 > CEST; 14min ago > Process: 1418 ExecStop=/sbin/runuser -l erik -c /usr/bin/vncserver > -kill %i > (code=exited, status=0/SUCCESS) > Process: 776 ExecStart=/sbin/runuser -l erik -c /usr/bin/vncserver > %i > (code=exited, status=0/SUCCESS) > Process: 661 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill %i > > /dev/null > 2>&1 || : (code=exited, status=0/SUCCESS) > > Jul 14 21:58:50 epohost.epolan.dk systemd[1]: Starting Remote desktop > service (VNC)... Jul 14 21:58:55 epohost.epolan.dk systemd[1]: Started > Remote desktop service (VNC). > > So I believe this looks healthy but no vnc (I suppose it is Xvnc) is > listening on the relevant ports: > > [root@epohost etc]# lsof -i -P|grep -i listen > cupsd 532 root 11u IPv6 18142 0t0 TCP > localhost6.localdomain6:631 (LISTEN) > cupsd 532 root 12u IPv4 18143 0t0 TCP > localhost.localdomain:631 (LISTEN) bacula-sd 658 bacula 3u IPv4 > 18107 0t0 TCP *:9103 (LISTEN) bacula-di 662 bacula 4u IPv4 > 23421 0t0 TCP *:9101 (LISTEN) bacula-fd 663 root 3u IPv4 > 19591 0t0 TCP *:9102 (LISTEN) sshd 753 root 3u IPv4 > 19495 0t0 TCP *:22 (LISTEN) sshd 753 root 4u IPv6 > 19497 0t0 TCP *:22 (LISTEN) rpcbind 754 rpc 9u IPv4 > 18308 0t0 TCP *:111 (LISTEN) rpcbind 754 rpc 12u IPv6 > 18311 0t0 TCP *:111 (LISTEN) mysqld 1028 mysql 14u IPv4 > 22614 0t0 TCP *:3306 (LISTEN) sendmail 1519 root 4u IPv4 > 21956 0t0 TCP localhost.localdomain:25 (LISTEN) dropbox 1877 > erik 27u IPv4 28497 0t0 TCP *:17500 (LISTEN) > > The vnc log shows: > > Sun Jul 14 21:58:51 2013 > vncext: VNC extension running! > vncext: Listening for VNC connections on all interface(s), port > 5901 vncext: Listening for HTTP connections on all > interface(s), port 5801 vncext: created VNC server for screen 0 > XIO: fatal IO error 11 (Resource temporarily unavailable) on X server > ":1" > after 141 requests (141 known processed) with 0 events > remaining. > > (imsettings-check:1564): IMSettings-WARNING **: Could not connect: > Connection refused > > (imsettings-check:1564): GLib-GIO-CRITICAL **: > g_dbus_proxy_call_sync_internal: assertion `G_IS_DBUS_PROXY (proxy)' > failed /usr/bin/xsetroot: unable to open display ':1' > > Clearly something is wrong - but what could it be. Hoping someone may > cast some light on this problem. > > Thanks in advance. Haven't done anything on f19 yet, and have done a little on f18, but do have a system with vnc running with xfce. Did have to modify the xstartup script though #!/bin/sh # Uncomment the following two lines for normal desktop: unset SESSION_MANAGER unset DBUS_SESSION_BUS_ADDRESS exec /bin/sh /etc/xdg/xfce4/xinitrc # X11/xinit/xinitrc [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey #vncconfig -iconic & xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & startxfce4 & #twm & That does work, and I was just vnced into the machine with no problem, but he systemctl status vncserver@:xx.service shows that it failed? ps -ef | grep vnc show that it is running, but not sure what is starting it. What happens if you manuall start a vnc session locally on another port? vncserver :2 vncviewer 127.0.0.1:2 > > -- > Erik > > Concordia parvæ res crescunt discordia maximæ dilabuntur > > ---------------------------------------------------------------------- > -------- See everything from the browser to the database with > AppDynamics Get end-to-end visibility with application monitoring from > AppDynamics Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.c > lktrk _______________________________________________ Tigervnc-users > mailing list Tigervnc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tigervnc-users +----------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor Guam Community College Computer Center mailto:mi...@kuentos.guam.net mailto:msetze...@gmail.com http://www.guam.net/home/mikes Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +----------------------------------------------------------+ http://setiathome.berkeley.edu (Original) Number of Seti Units Returned: 19,471 Processing time: 32 years, 290 days, 12 hours, 58 minutes (Total Hours: 287,489) BOINC@HOME CREDITS SETI 15415534.932100 | EINSTEIN 12352665.739852 ROSETTA 7951452.550077 | ABC 16142728.136986 ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Tigervnc-users mailing list Tigervnc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-users