Message boards : BOINC Manager : File-Select Computer
Message board moderation
Author | Message |
---|---|
Send message Joined: 2 Oct 05 Posts: 404 |
I have two machines under my desk, both run BOINC 24/7. Until just now, if I wanted to see what the other machine was doing etc. I'd press a button on a box on my desk which "shares" the keyboard and mouse between the two machines. It can also switch the screen IF the screen is connected with VGA connectors, mine is not. So I switch the desktop devices, and move the screen plug between the two machines by hand. This situation has been the case for years. I saw, a few minutes ago, on the "File" tab of BOINC Manager, there is an item called "Select Computer". I wondered, not unreasonably I think, if this could be used to allow me to monitor both machines, one at a time, without needing to do the current switching. Since both machines are connected to ports on the same desktop router, this did not strike me as unreasonable. It asked for the computers name and password, okay, fair enough, I entered those, and it replied: The password you have provided is incorrect, please try again. The BOINC Manager window cleared. Trying to connect to back to the first machine, are, exactly the same. Now, I cannot see what is going on with either machine. Wave upon wave of demented avengers march cheerfully out of obscurity into the dream. |
Send message Joined: 29 Aug 05 Posts: 15560 |
To see what happens on remote machines, you need a little more work: https://boinc.berkeley.edu/wiki/Controlling_BOINC_remotely Your present problem can probably be fixed by exiting & restarting the clients and managers. |
Send message Joined: 5 Oct 06 Posts: 5128 |
1) The box under your desk is known as a KVM, or 'keyboard-video-mouse' switch. They are available for VGA, DVI and (probably) HDMI - I've only used the first two. And the KM part might be PS/2 or USB. 2) For the "Select Computer" part, read Controlling BOINC remotely. The 'password' in question is the contents of gui_rpc_auth.cfg on the remote computer. The default values are empty (Linux) or a random 32-character string (Windows). Neither is very helpful. This value is only used for controlling BOINC, and for any domestic home network is not a high-security item. My own is an eight character string, starting with 'p' and ending with 'd'. To get control of your primary machine back, use the menu item for 'select computer', and leave both boxes blank. That should give you control of the local machine. |
Send message Joined: 2 Oct 05 Posts: 404 |
Thanks Richard, the "leave it blank" method worked and I can, once again, see the BOINC manager window on here. I'll try setting a password, sorry, I mean p******d, up, the replugging of the monitor cable is the only part under the desk. As I get older, the pains in my back increase, so being able to switch from the desktop would be a definite bonus. Jord, your method would probably also have been fine, but Richards was a little easier. Cheers mate. Wave upon wave of demented avengers march cheerfully out of obscurity into the dream. |
Send message Joined: 31 Dec 18 Posts: 296 |
I’ve tried this and not yet managed to get it to work. Are the contents of gui_rpc_auth.cfg just the characters of the password or do you need, for example, password=xyz. Is the system name literally the pc’s hardware name or it’s IP address or ... And coming in from a different location do you have to set up a hosts file or is it better to leave that blank (for dynamic ip addressing). Tia |
Send message Joined: 2 Oct 05 Posts: 404 |
I just entered the text string I wanted, worked fine - after a while. I tried this earlier and it did not seem to work, but came back after lunch and all seemed to be working. I don't know if there is a time element, or possibly a reboot of the "to be controlled" system - I did that, for an unrelated reason, but it is something I did. At the prompt, I enter the system name, and the password I'd put there, both plain text. Wave upon wave of demented avengers march cheerfully out of obscurity into the dream. |
Send message Joined: 5 Oct 06 Posts: 5128 |
Are the contents of gui_rpc_auth.cfg just the characters of the password or do you need, for example, password=xyz.Just the password. Best not even to have an end-of-line character. After changing the contents of the file, you should restart the BOINC client so it's expecting the new password in the future. That explains adrianxw's point as well (no waiting time, just the restart). Is the system name literally the pc’s hardware name or it’s IP address or ...Can be either - I prefer to use the hardware name. And coming in from a different location do you have to set up a hosts file or is it better to leave that blank (for dynamic ip addressing).Whatever suits your networking setup. I prefer to use DHCP. Because IP addresses can change on a dynamic network, it's easier to allow remote control via cc_config.xml, rather than listing them all, or a wildcard, in remote_hosts.cfg I see the cc_config option is missing from the 'remote control' page - see Client configuration - Options instead. I suppose we should update that doc - the option may be more recent. |
Send message Joined: 2 Oct 05 Posts: 404 |
I wanted to replace a fan, hence a quick shutdown, replace, restart, coincidence. Wave upon wave of demented avengers march cheerfully out of obscurity into the dream. |
Send message Joined: 5 Oct 06 Posts: 5128 |
I see the cc_config option is missing from the 'remote control' page - see Client configuration - Options instead. I suppose we should update that doc - the option may be more recent.It's there now. |
Send message Joined: 25 May 09 Posts: 1301 |
They are available for VGA, DVI and (probably) HDMI Having a different collection of monitors to you I would say VGA, HDMI and maybe DVI ;-) Very useful devices, and well worth having at least one if you have multiple computers as they can save a lot of grovelling around in the backs of racks, under desks etc. |
Send message Joined: 5 Oct 06 Posts: 5128 |
If you saw how much my 8-port DVI model cost (GBP 'ouch'), you'd know why I keep using it, with HDMI <--> DVI adapters as needed (free with some card models, a few years ago - never throw anything away!) |
Send message Joined: 25 May 09 Posts: 1301 |
Only "ouch"? So glad I skipped DVI and went from VGA to HDMI..... |
Send message Joined: 31 Dec 18 Posts: 296 |
Many thanks both, I’d used read config files rather than do a full restart which might explain why it did not work. |
Send message Joined: 2 Oct 05 Posts: 404 |
When I see the BOINC Manager window here, it says at the top "BOINC Manager". If I do a "select computer" and choose, for example, my "Frogmore" machine, it then says "BOINC Manager - (Frogmore)". If I then do a select, and leave the fields blank, it returns to this machines info and the title returns to the original. Would it not be a good idea if the window heading ALWAYS showed the name of the computer to which the info presented described? Wave upon wave of demented avengers march cheerfully out of obscurity into the dream. |
Send message Joined: 31 Dec 18 Posts: 296 |
Many thanks both, I’d used read config files rather than do a full restart which might explain why it did not work. It was, a reboot and the job’s a good’un :-) |
Send message Joined: 29 Aug 05 Posts: 15560 |
BOINC Manager when it first starts (in the day) just reads the information from the gui_rpc_auth.cfg file which either holds a password or not. It doesn't hold the machine's name. I suspect that the machine's DNS name was added to the remote_hosts.cfg file, and that's why you get to see the name for the remote computer populated in the Select Computer drop down. |
Send message Joined: 2 Oct 05 Posts: 404 |
The name of the current host can be obtained using the function gethostname. int gethostname( char *name, int namelen ); I would expect Linux/MacOS to have a similar function, it is a reasonable thing to want after all. Wave upon wave of demented avengers march cheerfully out of obscurity into the dream. |
Send message Joined: 5 Oct 06 Posts: 5128 |
I currently have five different BOINC Manager windows available on this machine - one for the local host, and four for different remote machines on my network (two Windows, two Linux). When I reboot locally (perhaps once a month), I re-setup those connections by computer name - BOINC Manager (I presume) gets the IP addresses from the DHCP or DNS servers in my router. Once set up, I can see the computer name for each instance in three places - the title bar of the main window on screen, the miniature image popped up from the Windows task bar, and the tray icon balloon in the notification area. It's one of the subtle little touches that the early developers were quite good at embedding in BOINC - and it makes life a lot easier. |
Send message Joined: 2 Oct 05 Posts: 404 |
Interesting Richard. How did you do that? If I try to start another boincmanager, it closes and sets focus to the one already on the screen. If I copy the executable and try to run it, it fails due to sqlite3.dll etc. being missing, copying the dlls into the same directory fixes that, but gets me no further. Wave upon wave of demented avengers march cheerfully out of obscurity into the dream. |
Send message Joined: 5 Oct 06 Posts: 5128 |
It's not running a whole new copy of the Manager - it's just a new window spawned by the already-running app. File menu, top item: "New BOINC Manager window..." |
Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.