Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
client
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
2
Merge Requests
0
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
293ce465
authored
Sep 17, 2014
by
Csók Tamás
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
client: linux installer packages for 64 and 32bit
parent
ecfb7753
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletions
+10
-1
cloud_connect_from_linux
+10
-1
dist/circle-client_amd64.deb
+0
-0
dist/circle-client_i386.deb
+0
-0
No files found.
cloud_connect_from_linux
View file @
293ce465
...
...
@@ -14,6 +14,14 @@ import glob
import
remminapasswd
def
check_remmina
():
config_file
=
os
.
path
.
expanduser
(
"~/.remmina/remmina.pref"
)
if
not
os
.
path
.
isfile
(
config_file
):
process
=
subprocess
.
Popen
(
"remmina"
)
time
.
sleep
(
2
)
process
.
terminate
()
def
connect
(
vm
):
"""
Handles to connection to the Virtual Machines from the local
...
...
@@ -36,6 +44,7 @@ def connect(vm):
})
subprocess
.
call
(
command
,
shell
=
True
)
elif
vm
.
protocol
in
(
"NX"
,
"RDP"
):
check_remmina
()
server
=
"
%
s:
%
s"
%
(
vm
.
host
,
vm
.
port
)
listdir
=
os
.
path
.
expanduser
(
"~/.remmina/*.remmina"
)
found
=
False
...
...
@@ -47,7 +56,7 @@ def connect(vm):
if
not
found
:
config_file
=
"
%
s
%
s
%
s"
%
(
os
.
path
.
expanduser
(
"~/.remmina/"
),
str
(
int
(
time
.
time
()
*
1000
)),
".remmina"
)
str
(
int
(
time
.
time
()
*
1000
)),
".remmina"
)
password
=
remminapasswd
.
remminapasswd
(
vm
.
password
)
f
=
open
(
config_file
,
'w'
)
if
vm
.
protocol
==
"NX"
:
...
...
dist/circle-client_amd64.deb
0 → 100644
View file @
293ce465
File added
dist/circle-client_i386.deb
0 → 100644
View file @
293ce465
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment