1
0

ajout config remmina dans connect2member.sh

This commit is contained in:
Daniel Tartavel 2021-09-29 17:59:47 +02:00
parent 9aaf5f3079
commit b42ce1001c
2 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,7 @@
#!/bin/sh #!/bin/sh
ssh -N -f -L 5900:localhost:5900 -p 10022 lalis69.ddns.net ssh -N -f -L 5900:localhost:5900 -p 10022 lalis69.ddns.net
if ! [ -e ~/.config/remmina/group_vnc_lalis_localhost-5900.remmina ]
cp /usr/share/lalis/group_vnc_lalis_localhost-5900.remmina ~/.config/remmina/
fi
remmina -c ~/.config/remmina/group_vnc_lalis_localhost-5900.remmina remmina -c ~/.config/remmina/group_vnc_lalis_localhost-5900.remmina

View File

@ -1,7 +1,7 @@
Summary: Install LALIS Assistance Summary: Install LALIS Assistance
Name: lalis-assistance Name: lalis-assistance
Version: 1 Version: 1
Release: %mkrel 4 Release: %mkrel 5
License: GPLv3 License: GPLv3
Group: Tools Group: Tools
Url: http://lalis.fr Url: http://lalis.fr
@ -11,6 +11,7 @@ Source1: connect2member.sh
Source2: sshconnect Source2: sshconnect
Source3: Assistance_Lalis_vnc.desktop Source3: Assistance_Lalis_vnc.desktop
Source4: Assistance_Lalis_ssh.desktop Source4: Assistance_Lalis_ssh.desktop
Source5: group_vnc_lalis_localhost-5900.remmina
Requires: tigervnc Requires: tigervnc
Requires: openssh-clients Requires: openssh-clients
@ -32,9 +33,11 @@ cp %{SOURCE3} %{buildroot}%{_datadir}/kio_desktop/
cp %{SOURCE3} %{buildroot}%{_datadir}/dist/desktop-files/default/ cp %{SOURCE3} %{buildroot}%{_datadir}/dist/desktop-files/default/
cp %{SOURCE4} %{buildroot}%{_datadir}/kio_desktop/ cp %{SOURCE4} %{buildroot}%{_datadir}/kio_desktop/
cp %{SOURCE4} %{buildroot}%{_datadir}/dist/desktop-files/default/ cp %{SOURCE4} %{buildroot}%{_datadir}/dist/desktop-files/default/
cp %{SOURCE5} %{buildroot}%{_datadir}/lalis/group_vnc_lalis_localhost-5900.remmina
%files %files
%{_bindir}/connect2member.sh %{_bindir}/connect2member.sh
%{_bindir}/sshconnect %{_bindir}/sshconnect
%{_datadir}/kio_desktop/* %{_datadir}/kio_desktop/*
%{_datadir}/dist/desktop-files/default/* %{_datadir}/dist/desktop-files/default/*
%{_datadir}/lalis/group_vnc_lalis_localhost-5900.remmina