diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/xvncviewer.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/xvncviewer.py b/plugins/xvncviewer.py index 0a8c696..3e6daa6 100644 --- a/plugins/xvncviewer.py +++ b/plugins/xvncviewer.py @@ -22,12 +22,10 @@ class plugin_xvncviewer: self.description = "Start a VNC connections with xvncviewer" def connect(self, use_host_names, name, stype, hostname, address, port, txts): - if use_host_names == True: - address = hostname print "connecting using xvncviewer" - cmdline = ["xvncviewer", "-xrm", "*passwordDialog:true", hostname, "&"] + cmdline = ["xvncviewer", "-xrm", "*passwordDialog:true", hostname ] print cmdline - pid = subprocess.Popen(cmdline, shell=True, close_fds=True).pid + pid = subprocess.Popen(cmdline, close_fds=True).pid def load(): return plugin_xvncviewer() |