Re: HIDE LOGIN PROCEDURE IN RDP
To the best of my knowledge, there is no such "ready event" for Windows RDP. There is no way for an RDP client to know that the desktop has loaded. Assuming that device redirection will only become ready when the login screen has disappeared and the desktop is ready for use is not a safe assumption: the components of a Windows session load asynchronously and the specific components you would be relying on are not documented as providing any such guarantees. - Mike On Thu, Mar 7, 2019 at 11:18 PM Amarjeet Singh wrote: > If we were going to make the change, however, I would argue that Device >> Redirection is an unreliable way of accomplishing this. What if the user >> isn't redirecting any devices? What if they're trying, but it isn't >> allowed by the remote server? What if it fails? > > > Yes, I agree with you. > > I guess my bottom-line question is: why do this? What's the point of >> hiding the Windows login screen? Why does it matter, and is it really >> worth the trouble of trying to figure out some way to determine when >> Windows is logged in. Maybe others on the list have opinions on this? > > > Many organization wants this feature for better user interface. There are > many screens [ connecting dialog + black thumbnail + windows login screen > ] which appears before desktop gets ready. To minimize those screens and > make it a single screen of loading page and then to the desktop screen > gives user a better experience. > > > There are other HTML5 applications which has this feature. > > On Fri, Mar 8, 2019 at 1:31 AM Nick Couchman wrote: > >> On Thu, Mar 7, 2019 at 2:49 PM Amarjeet Singh >> wrote: >> >>> I mean to hide the windows rdp login not guacamole login. >>> I want to show loading or connecting dialog box till windows rdp login >>> completes. >>> Ready event is the event which will be generated when windows login will >>> be completed. >>> As of now it can be generated when any static virtual channel is ready >>> example... >>> Device redirection tell us that user has logged on and we can generate >>> ready event based on that >>> >>> >> It sounds like you've figured out a way to do it. I'm not sure I see the >> point in it, at least in trying to put it into the main Guacamole code, as >> I don't find the Windows Logon screen terribly bothersome, and I would >> argue that people would rather know that the login is proceeding and where >> the process is than to have it hidden behind a "Connecting to Guacamole" >> dialog box for the amount of time it takes to establish the session and log >> in. That's just my personal feeling, though. >> >> If we were going to make the change, however, I would argue that Device >> Redirection is an unreliable way of accomplishing this. What if the user >> isn't redirecting any devices? What if they're trying, but it isn't >> allowed by the remote server? What if it fails? >> >> I guess my bottom-line question is: why do this? What's the point of >> hiding the Windows login screen? Why does it matter, and is it really >> worth the trouble of trying to figure out some way to determine when >> Windows is logged in. Maybe others on the list have opinions on this? >> >> -Nick >> >
Re: HIDE LOGIN PROCEDURE IN RDP
> > If we were going to make the change, however, I would argue that Device > Redirection is an unreliable way of accomplishing this. What if the user > isn't redirecting any devices? What if they're trying, but it isn't > allowed by the remote server? What if it fails? Yes, I agree with you. I guess my bottom-line question is: why do this? What's the point of > hiding the Windows login screen? Why does it matter, and is it really > worth the trouble of trying to figure out some way to determine when > Windows is logged in. Maybe others on the list have opinions on this? Many organization wants this feature for better user interface. There are many screens [ connecting dialog + black thumbnail + windows login screen ] which appears before desktop gets ready. To minimize those screens and make it a single screen of loading page and then to the desktop screen gives user a better experience. There are other HTML5 applications which has this feature. On Fri, Mar 8, 2019 at 1:31 AM Nick Couchman wrote: > On Thu, Mar 7, 2019 at 2:49 PM Amarjeet Singh > wrote: > >> I mean to hide the windows rdp login not guacamole login. >> I want to show loading or connecting dialog box till windows rdp login >> completes. >> Ready event is the event which will be generated when windows login will >> be completed. >> As of now it can be generated when any static virtual channel is ready >> example... >> Device redirection tell us that user has logged on and we can generate >> ready event based on that >> >> > It sounds like you've figured out a way to do it. I'm not sure I see the > point in it, at least in trying to put it into the main Guacamole code, as > I don't find the Windows Logon screen terribly bothersome, and I would > argue that people would rather know that the login is proceeding and where > the process is than to have it hidden behind a "Connecting to Guacamole" > dialog box for the amount of time it takes to establish the session and log > in. That's just my personal feeling, though. > > If we were going to make the change, however, I would argue that Device > Redirection is an unreliable way of accomplishing this. What if the user > isn't redirecting any devices? What if they're trying, but it isn't > allowed by the remote server? What if it fails? > > I guess my bottom-line question is: why do this? What's the point of > hiding the Windows login screen? Why does it matter, and is it really > worth the trouble of trying to figure out some way to determine when > Windows is logged in. Maybe others on the list have opinions on this? > > -Nick >
Re: Max Resolution
There are parameters of height and width which you can set according to your conditions. On Fri, Mar 8, 2019 at 12:09 PM Lev Dubinets wrote: > Is it possible to set a max resolution somewhere so that a user cannot > make a connection larger than 1080p for example? If the browser size is > bigger than 1080p then it would stretch or center the result. > > Lev > > > > p.s. my apologies if you don't like many threads created, let me know and > I can batch my questions in the future. >
Re: Display Update Channel
Yes, It is still blocking it. But you can implement it in *Freerdp 1.0.2 version* as I did. or Try to rebuild guacd with the ca1cec6 commit of FreeRDP. Thanks and Regards, Amarjeet Singh On Fri, Mar 8, 2019 at 12:04 PM Lev Dubinets wrote: > Seems like Display Update Channel is a recurring question around here. > What is the latest status on that? Its documented in the guac options but > even if I set the 'display-update' setting, an RDP connection to Windows > does not resize properly. > > Is https://issues.apache.org/jira/projects/GUACAMOLE/issues/GUACAMOLE-249 > still > the blocking issue? > > Thanks, > Lev >
Max Resolution
Is it possible to set a max resolution somewhere so that a user cannot make a connection larger than 1080p for example? If the browser size is bigger than 1080p then it would stretch or center the result. Lev p.s. my apologies if you don't like many threads created, let me know and I can batch my questions in the future.
Display Update Channel
Seems like Display Update Channel is a recurring question around here. What is the latest status on that? Its documented in the guac options but even if I set the 'display-update' setting, an RDP connection to Windows does not resize properly. Is https://issues.apache.org/jira/projects/GUACAMOLE/issues/GUACAMOLE-249 still the blocking issue? Thanks, Lev
Guacamole Password settings
Hi, are there any guacamole.propertiy settings to enforce/set password complexity with database authentication (psotgres, mysql) ? I found https://jira.glyptodon.com/browse/GUAC-1546 but no description in Manual thanks Christian Christian Kraus Inhaber CKC IT Consulting & Solutions e.U. Kirschenallee 22 2120 OBERSDORF Österreich Telefon: +43 (0) 680 2062952 Fax:+43 820 220262992 E-mail: christian.kr...@ckc-it.at
Re: HIDE LOGIN PROCEDURE IN RDP
On Thu, Mar 7, 2019 at 2:49 PM Amarjeet Singh wrote: > I mean to hide the windows rdp login not guacamole login. > I want to show loading or connecting dialog box till windows rdp login > completes. > Ready event is the event which will be generated when windows login will > be completed. > As of now it can be generated when any static virtual channel is ready > example... > Device redirection tell us that user has logged on and we can generate > ready event based on that > > It sounds like you've figured out a way to do it. I'm not sure I see the point in it, at least in trying to put it into the main Guacamole code, as I don't find the Windows Logon screen terribly bothersome, and I would argue that people would rather know that the login is proceeding and where the process is than to have it hidden behind a "Connecting to Guacamole" dialog box for the amount of time it takes to establish the session and log in. That's just my personal feeling, though. If we were going to make the change, however, I would argue that Device Redirection is an unreliable way of accomplishing this. What if the user isn't redirecting any devices? What if they're trying, but it isn't allowed by the remote server? What if it fails? I guess my bottom-line question is: why do this? What's the point of hiding the Windows login screen? Why does it matter, and is it really worth the trouble of trying to figure out some way to determine when Windows is logged in. Maybe others on the list have opinions on this? -Nick
Re: HIDE LOGIN PROCEDURE IN RDP
I mean to hide the windows rdp login not guacamole login. I want to show loading or connecting dialog box till windows rdp login completes. Ready event is the event which will be generated when windows login will be completed. As of now it can be generated when any static virtual channel is ready example... Device redirection tell us that user has logged on and we can generate ready event based on that On Thu, 7 Mar 2019, 18:41 Nick Couchman, wrote: > On Thu, Mar 7, 2019 at 7:37 AM Amarjeet Singh > wrote: > >> Hi Team, >> >> >> How can I hide the login procedure of remote machine in Single Sign On? >> Can we send ready event after user logged on ? >> How to show connecting dialog till that even comes ? >> >> > I'm not clear on what you're trying to do: > - Are you trying to hide the Guacamole login or the Windows RDP (or Linux > xRDP) login? > - I have no idea what you mean by "ready event"? > - Why show the connecting dialog while you wait for the logon? Why not > just show the logon? > > -Nick >
Question About Extra Things in guacamole
*Just A question is there anyone who add new things in guacamole interface and share it with others *
HIDE LOGIN PROCEDURE IN RDP
Hi Team, How can I hide the login procedure of remote machine in Single Sign On? Can we send ready event after user logged on ? How to show connecting dialog till that even comes ? Any suggestions? Thanks and regards Amarjeet Singh
FULL SCREEN ISSUE in IE
Hi Team, I have added a button for the fullscreen in Guacamole 1.0.0 Version. *FILE [ index.html ]* > class="ffullscreen" id="Fullscreen" > ng-click="toolBarFunctionality.menuControl.menuFunction.onFullScreen()" > style="background-image: url('images/logo-144.png');"> > > *Controller [ indexController ]* var *onFullScreen *= function () > { > if (!document.fullscreenElement && !document.mozFullScreenElement && > !document.webkitFullscreenElement && !document.msFullscreenElement) > { // current working methods > > document.getElementById("Fullscreen").style.backgroundImage = > "url('/fes-bin/public/portal/html5/minimize.png')"; > document.getElementById("Fullscreen").title = "Exit fullScreen"; > > if (document.documentElement.requestFullscreen) { > document.documentElement.requestFullscreen(); > } else if (document.documentElement.msRequestFullscreen) { > console.log('IE full screen called'); > document.documentElement.msRequestFullscreen(); > } else if (document.documentElement.mozRequestFullScreen) { > document.documentElement.mozRequestFullScreen(); > } else if (document.documentElement.webkitRequestFullscreen) { > > document.documentElement.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT); > } > } else { > document.getElementById("Fullscreen").style.backgroundImage = > "url('/fes-bin/public/portal/html5/fullscreen.png')"; > document.getElementById("Fullscreen").title = "FullScreen"; > > if (document.exitFullscreen) { > document.exitFullscreen(); > } else if (document.msExitFullscreen) { > document.msExitFullscreen(); > } else if (document.mozCancelFullScreen) { > document.mozCancelFullScreen(); > } else if (document.webkitExitFullscreen) { > document.webkitExitFullscreen(); > } > } > > } > $scope.toolBarFunctionality = { > menuControl: { > menuCss: { > backColor: '', > foreCOlor: '' > }, > menuFunction: { > onFullScreen : onFullScreen, > onClick: function() { > // raise event to toggle menu. > $rootScope.$broadcast('menuClicked'); > } > }, > } > }; It is working in Chrome, Firefox, Safari and Edge. It is not working in IE. I debugged and came to know that *OffsetHeight *and *OffsetWidth *passed is zero. var checkSize = function checkSize() { > // Call callback only if size actually changed > if (element.offsetWidth !== lastWidth > || element.offsetHeight !== lastHeight) { > // Call resize callback, if defined > if (guacResize) { > $scope.$evalAsync(function elementSizeChanged() { > guacResize(element.offsetWidth, > element.offsetHeight); > }); > } > // Update stored size > lastWidth = element.offsetWidth; > lastHeight = element.offsetHeight; > } > }; It closed the websocket connection as well because of the* kernel trap divide error* . I have fixed the above kernel trap error by adding the following :- void guac_rdp_disp_set_size(guac_rdp_disp* disp, guac_rdp_settings* > settings, > freerdp* rdp_inst, int width, int height) { > > > * /* Do not update size if no requests have been received */if (width > == 0 || height == 0)return;* > /* Fit width within bounds, adjusting height to maintain aspect ratio > */ > guac_rdp_disp_fit(, ); > /* Fit height within bounds, adjusting width to maintain aspect ratio > */ > guac_rdp_disp_fit(, ); > /* Width must be even */ > if (width % 2 == 1) > width -= 1; > /* Store deferred size */ > disp->requested_width = width; > disp->requested_height = height; > /* Send display update notification if possible */ > guac_rdp_disp_update_size(disp, settings, rdp_inst); > } *but I couldn't find why document.msExitFullscreen() API is not working in Guacamole.* Any suggestions for the above ? *Thanks and Regards,* *Amarjeet Singh*
Re: Guacamole Interface Blank Page
OKy i found it and you were right Mike this is a probleem with SElinux and after i execute this commande "*sudo setenforce 0" *it's work thank you all
Re: Guacamole Interface Blank Page
i checked my guacamole.properties and the details are correct and also Mysql is running . The problem is that everything was working fine until i reboot my Centos Systeme
Re: Guacamole Interface Blank Page
On Thu, Mar 7, 2019 at 5:48 AM Mike Jumper wrote: > On Thu, Mar 7, 2019, 02:43 Kamal Ezzaki wrote: > >> *Hello after i restart my centos server i get a blank Page and when i >> check out my log files i have ths error : * >> *Mar 7 05:42:16 localhost server: 05:42:16.838 [http-bio-8080-exec-3] >> ERROR o.a.g.rest.RESTExceptionMapper - Unexpected internal error:Mar 7 >> 05:42:16 localhost server: ### Error querying database. Cause: >> com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link >> failure* >> > > Double check that the network details for your database server in > guacamole.properties are correct. > > Assuming they are, I recommend checking your SELinux audit logs. Tomcat > may be being denied network access to MySQL. > > Or, if this was right after you restarted your system, make sure that MySQL is starting up and is set to start on boot. -Nick
Re: Guacamole Interface Blank Page
On Thu, Mar 7, 2019, 02:43 Kamal Ezzaki wrote: > *Hello after i restart my centos server i get a blank Page and when i > check out my log files i have ths error : * > *Mar 7 05:42:16 localhost server: 05:42:16.838 [http-bio-8080-exec-3] > ERROR o.a.g.rest.RESTExceptionMapper - Unexpected internal error:Mar 7 > 05:42:16 localhost server: ### Error querying database. Cause: > com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link > failure* > Double check that the network details for your database server in guacamole.properties are correct. Assuming they are, I recommend checking your SELinux audit logs. Tomcat may be being denied network access to MySQL. - Mike
Guacamole Interface Blank Page
*Hello after i restart my centos server i get a blank Page and when i check out my log files i have ths error : * *Mar 7 05:42:16 localhost server: 05:42:16.838 [http-bio-8080-exec-3] ERROR o.a.g.rest.RESTExceptionMapper - Unexpected internal error:Mar 7 05:42:16 localhost server: ### Error querying database. Cause: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failureMar 7 05:42:16 localhost server: The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.Mar 7 05:42:16 localhost server: ### The error may exist in org/apache/guacamole/auth/jdbc/user/UserMapper.xmlMar 7 05:42:16 localhost server: ### The error may involve org.apache.guacamole.auth.jdbc.user.UserMapper.selectOneMar 7 05:42:16 localhost server: ### The error occurred while executing a queryMar 7 05:42:16 localhost server: ### Cause: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure*