Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
eole-wol
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
primtux-eole
Grenoble
eole-wol
Commits
00b6b908
Verified
Commit
00b6b908
authored
Aug 2, 2018
by
David Beniamine
Browse files
Options
Downloads
Patches
Plain Diff
XRDP config with a file
parent
2e3ea0e1
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
wol/www/boot.php
+8
-6
8 additions, 6 deletions
wol/www/boot.php
wol/www/config.rdp.sample
+44
-0
44 additions, 0 deletions
wol/www/config.rdp.sample
with
52 additions
and
6 deletions
wol/www/boot.php
+
8
−
6
View file @
00b6b908
...
...
@@ -24,10 +24,12 @@
}
else
{
$cmd
=
"../scripts/sendmac.sh"
;
echo
"<p> Démarrage de la machine "
.
$args
.
" terminé</p>"
;
echo
"<p>Pour vous y connecter, cliquez sur "
;
echo
'<a href="rdp://full%20address=s:'
.
$_SERVER
[
"HTTP_HOST"
]
.
':3389&audiomode=i:2&disable%20themes=i:1&disable%20wallpaper=i:1'
.
'&session%20bpp=i:8&redirectprinters=i:0&disable%20menu%20anims=i:1'
.
'">ce lien</a></p>'
;
echo
"Et entrez l'adress IP suivante : "
.
shell_exec
(
"
$cmd
$args
"
);
echo
"<p>Pour vous y connecter, téléchargez"
;
system
(
"cp config.rdp.sample config.rdp;echo
\"
full address:s:
\"
"
.
$_SERVER
[
"HTTP_HOST"
]
.
" >> config.rdp"
);
echo
'<a href="config.rdp'
;
echo
'">ce fichier</a> et lancez le.<br />'
;
echo
"Cela ouvrira XRDP, il vous suffir alors d'indiquer l'adresse IP : "
.
shell_exec
(
"
$cmd
$args
"
);
echo
"Et le mot de passe adequate"
;
echo
"</p>"
;
}
This diff is collapsed.
Click to expand it.
wol/www/config.rdp.sample
0 → 100644
+
44
−
0
View file @
00b6b908
screen mode id:i:2
use multimon:i:0
session bpp:i:15
winposstr:s:0,1,2062,66,2862,666
compression:i:1
keyboardhook:i:2
audiocapturemode:i:0
videoplaybackmode:i:1
connection type:i:1
networkautodetect:i:0
bandwidthautodetect:i:1
displayconnectionbar:i:1
enableworkspacereconnect:i:0
disable wallpaper:i:1
allow font smoothing:i:0
allow desktop composition:i:0
disable full window drag:i:1
disable menu anims:i:1
disable themes:i:1
disable cursor setting:i:0
bitmapcachepersistenable:i:1
audiomode:i:2
redirectprinters:i:0
redirectcomports:i:0
redirectsmartcards:i:0
redirectclipboard:i:1
redirectposdevices:i:0
autoreconnection enabled:i:1
authentication level:i:2
prompt for credentials:i:0
negotiate security layer:i:1
remoteapplicationmode:i:0
alternate shell:s:
shell working directory:s:
gatewayhostname:s:
gatewayusagemethod:i:4
gatewaycredentialssource:i:4
gatewayprofileusagemethod:i:1
promptcredentialonce:i:0
gatewaybrokeringtype:i:0
use redirection server name:i:0
rdgiskdcproxy:i:0
kdcproxyname:s:
drivestoredirect:s:
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment