Hi Glen,

Could you please check that your vncserver executable doesn't have the setuid
bit set?  (Try: ls -l `which vncserver`)

If the vncserver is not a setuid binary, it could be that the vncserver is on
a list of "protected" apps in AppArmor. The kernel doesn't allow LD_PRELOAD on
such applications. We can suggest some workarounds depending on what you have.

Thanks,
Rohan

----- Original Message -----
From: "Glen MacLachlan" <macl...@gwu.edu>
To: "dmtcp-forum" <dmtcp-forum@lists.sourceforge.net>
Sent: Monday, April 13, 2015 5:25:30 PM
Subject: [Dmtcp-forum] DMTCP+VNC

Hi, 

First, dmtcp is great and I'm very happy with it, generally. I've been trying 
to get the recipe for using dmtcp with vnc (found here: 
http://dmtcp.sourceforge.net/FAQ.html ) working and I've run into some 
unanticipated trouble that I'd like to bounce off somebody more knowledgeable 
than I. 

I am using 2.4.0-rc2 and tightvnc for this discussion. Following the 
instructions, in a terminal I do the following: 

[maclach@localhost ~]$ dmtcp_launch vncserver :1 
dmtcp_coordinator starting... 
Host: localhost.localdomain (127.0.0.1) 
Port: 7779 
Checkpoint Interval: disabled (checkpoint manually instead) 
Exit on last client: 1 
Backgrounding... 
ERROR: ld.so: object '/disk01/apps/dmtcp/lib/dmtcp/libdmtcp_alloc.so' from 
LD_PRELOAD cannot be preloaded: ignored. 
ERROR: ld.so: object '/disk01/apps/dmtcp/lib/dmtcp/libdmtcp_dl.so' from 
LD_PRELOAD cannot be preloaded: ignored. 
ERROR: ld.so: object '/disk01/apps/dmtcp/lib/dmtcp/libdmtcp_ipc.so' from 
LD_PRELOAD cannot be preloaded: ignored. 
ERROR: ld.so: object '/disk01/apps/dmtcp/lib/dmtcp/libdmtcp_timer.so' from 
LD_PRELOAD cannot be preloaded: ignored. 
ERROR: ld.so: object '/disk01/apps/dmtcp/lib/dmtcp/libdmtcp.so' from LD_PRELOAD 
cannot be preloaded: ignored. 
ERROR: ld.so: object '/disk01/apps/dmtcp/lib/dmtcp/libdmtcp_pid.so' from 
LD_PRELOAD cannot be preloaded: ignored. 

The problem preloading only happens when I try to start the vncserver. I can 
use dmtcp just fine with all other applications, including the examples 
provided in the test directory. I've tried preloading the libraries above with 
the --with-plugin option but this does change anything (apart from additional 
messages about not being able to preload). 

When I continue on despite the preload issues I try running the vnc client 
which does not work: 
[maclach@localhost ~]$ vncviewer :1 

TigerVNC Viewer for X version 1.1.0 - built Oct 30 2014 12:44:50 
Copyright (C) 1999-2011 TigerVNC Team and many others (see README.txt) 
See http://www.tigervnc.org for information on TigerVNC. 

Mon Apr 13 17:06:32 2015 
main: unable connect to socket: Connection refused (111) 


Without dmtcp there is no problem running tightvnc. Any ideas about where I'm 
going wrong or how to work around this problem would be _greatly_ appreciated. 

Thanks, Glen. 


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Dmtcp-forum mailing list
Dmtcp-forum@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Dmtcp-forum mailing list
Dmtcp-forum@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum

Reply via email to