You are not logged in.
Pages: 1
Hello, thank you for your time,
I have a problem in the visualization of external links.
I would like to put inside each computer an external link to open my vnc application.
I can open vnc and it's ok but each computer have all the configuration and it is difficult to see more than 2 computers.
It's possible to explain if there are a way for not see all the text in each computer?
For example I would wanna see this only,
VNC Link #1: [Connection] Host=192.168.0.243
I see this now, in each computer
VNC Link #1: [Connection] Host=192.168.0.243 port=5900 proxyhost= proxyport=16832 [options] use_encoding_0=1 use_encoding_1=1 use_encoding_2=1 use_encoding_3=0 use_encoding_4=1 use_encoding_5=1 use_encoding_6=1 use_encoding_7=1 use_encoding_8=1 use_encoding_9=1 use_encoding_10=1 use_encoding_11=0 use_encoding_12=0 use_encoding_13=0 use_encoding_14=0 use_encoding_15=0 use_encoding_16=1 use_encoding_17=1 preferred_encoding=16 restricted=0 viewonly=0 nostatus=0 nohotkeys=0 showtoolbar=1 AutoScaling=0 fullscreen=0 directx=0 autoDetect=0 8bit=1 shared=1 swapmouse=0 belldeiconify=0 emulate3=1 JapKeyboard=0 emulate3timeout=100 emulate3fuzz=4 disableclipboard=0 localcursor=1 Scaling=0 scale_num=100 scale_den=100 cursorshape=1 noremotecursor=0 compresslevel=6 quality=6 ServerScale=1 Reconnect=0 EnableCache=0 QuickOption=3 UseDSMPlugin=0 UseProxy=0 sponsor=0 selectedscreen=1 DSMPlugin=NoPlugin AutoReconnect=3 ExitCheck=0 FileTransferTimeout=30 KeepAliveInterval=5 SocketKeepAliveTimeout=10000 ThrottleMouse=0 AutoAcceptIncoming=0 AutoAcceptNoDSM=0 RequireEncryption=0 PreemptiveUpdates=0
thank you very much for your attention.
Offline
Pour moi il faut définir un lien externe applicable à l'object Ordinateur
lien du style http://[IP]:5900 ou http://[NAME].[DOMAIN]:5900.
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
I don't have installed in my client machines, RVNC. I have installed UltraVNC and it does not have Web service.
I need to execute a file extension .vnc and I can execute, the problem is that the line is very large.
Thank you very much for your attention
Offline
Have you try the external link like i said?
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
I have found a solution and it works for me.
I think that in future versions, we could have an option to see the value of the link or not.
I show you the difference between to see value or not in the link.
Before
After
I have modified the core file link.class.php
Line 532:
} else {
// Generate files
$files = $item->generateLinkContents($params['link'], $item);
$links = $item->generateLinkContents($params['data'], $item);
$i = 1;
foreach ($links as $key => $val) {
$name = (isset($names[$key]) ? $names[$key] : reset($names));
if (isset($files[$key])) {
// a different name for each file, ex name = foo-[IP].txt
$file = $files[$key];
} else {
// same name for all files, ex name = foo.txt
$file = reset($files);
}
$url = $CFG_GLPI["root_doc"]."/front/link.send.php?lID=".$params['id'].
"&itemtype=".$item->getType().
"&id=".$item->getID()."&rank=$key";
$newlink = "<a href='$url' target='_blank'>";
$linkname = sprintf(__('%1$s #%2$s'), $name, $i);
/************************* MODIFIED LINE ****************************************/
$newlink .= sprintf(__('%1$s: %2$s'), $linkname," ");// $val);
/************************* MODIFIED LINE ****************************************/
$newlink .= "</a>";
$computedlinks[] = $newlink;
$i++;
}
}
return $computedlinks;
}
Will you put this feature in the next versions?
Thank you very much for your attention,
Offline
Pages: 1