How to sync time between windows and linux computers? - operating-system

We have several linux and windows boxes and some of their clocks will drift. Is there a quick way to set up one of these systems as a time server and have the others point to them? This will need to work on a stand alone network. The OSs are specifically XP and RHEL5 for this exercise.

You can set up a NTP Server on one of the Linux machines and have the others point to it.
How to setup a NTP-Server with Redhat
Connect to the NTP-Server in Redhat:
ntpdate -du ntpservername
Connect to the NTP-Server in Windows XP:
Right click on the clock in the system tray
Choose adjust time
On the internet time tab insert your server hostname

Related

Remote control Eclipse on Ubuntu

I'm using Eclipse on many different PC's also on nonPrivat PC's like in the university, I would like to run Eclipse on an Ubuntu Server (I already got one running at home) and access it remotely from another operating system (Windows/Mac/Linux).
I know there are ways like Xrdp, but I don't really want to install a GUI on the Ubuntu Server to do that. (If it's at all possible to access it over the internet)
Are there other ways to deal with that problem? Maybe something quite different than that?
Thanks in advance!
Two solutions.
You can use ssh -X user#your.server. This will create a tunnel for the X protocol, allowing you to run Eclipse with display on your machine, i.e. just
mymachine $ ssh -X me#that.server
thatserver# eclipse
and you will see the GUI on the local machine, provided you have an X server, which should be standard and is easy to find for a Mac (it is called Quartz).
If you are not willing, or not able, to install X on your machine, you could also install tightvnc on the remote machine and a VNC client on your computer. VNC is a different remoting protocol, and can be better than X in some cases, because it has a reputation for fewer round trips in its communication, giving less latency problem.
If you have a database to reach for your project, that can be seen only from the remote machine, maybe inside a DMZ, you might still reach it, creating an SSH tunnel, like this
ssh -X -L <database port>:<database server address>:<port number here> me#that.server
This way you will be able to access the database with which you talk on port database port at address database server address, as seen from the remote server that.server. The port will be forwarded to localhost:por number here.
Do you need to have graphic access to eclipse or do you just need to be able to build projects? If you just want to build projects there is a headless CDT which let's you do that from the command line.

How can I remote access into a WinCE client computer from a Windows 2000 system?

I am currently running a server with Windows 2000 and running client computers off the same switch/network which are running Windows CE. I was wondering if there was a way for me to remote access into my Windows CE clients from my Windows 2000 server? Please let me know your thoughts, I greatly appreciate any constructive input.
-Manny
Edit
It doesn't necessarily need to be remote access. If there is a way for me to detect the client, maybe a DHCP change, and then allowing me to run script from the server into the client computer, that would work too! Thank you in advance once again.
Window CE does not have RDP host for other systems to connect but you can use application like CERDisp which connect to your Windows CE / Windows Mobile terminal over active sync and display its screens in a window. You can also use the mouse and keyboard on the desktop to remote control the device the same as if you were using the popup PDA keyboard and the stylus.
We have used it long time back. For some information you can look at http://nicolasbesson.blogspot.in/2007/12/enable-remote-display-application.html
You can download this application from http://www.naurtech.com/wiki/wiki.php?n=Main.ToolsCERDisp
There are additional application like Remote Display that allows to operate the target device's Win CE desktop from a Windows PC. It requires a USB ActiveSync or Ethernet connection. For information you can review at http://developer.toradex.com/knowledge-base/remote-display

Configure a server to execute software like Matlab, SPSS etc on Server from multiple clients simultanously

I have a big server in my department. We have around 60 students accessing it to run software like SPSS, R, Matlab etc to perform their work. At the moment server is configured in linux and clients are mostly MAC and Windows. The problem is that there are compatibility issues of SPSS, Matlab with linux and also the users are not familier with linux desktop which are making the process complicated. I searched and found that their is Remote desktop services server in windows to do similar jobs However Ideally I would like to configure a server in windows in such a way that users log in to the server using remote desktop from windows or mac and do their work and logout. Its simple client server configuration environment I am searching for in windows?
Not an answer, but maybe an alternative: I've professionally used matlab on a linux server from windows clients on a previous job; We had 3 options:
vnc into the server and do everything through vnc
ssh (eg: putty) and only use commandline
Forward the screen to Windows; eg with MobaXterm
The third option was pretty simple to use and offered windows-like user experience:
open MobaXterm, connect to server (you can create favourites)
specify username + password (it asks for it + option to 'remember')
type "matlab" + enter
gui of matlab opens, user experience is the same as he would have opened locally installed matlab (except for X-look-and-feel)
Matlab was just installed on the server locally, I don't know how they solved licensing issues (because basically everything would probably run just fine using one single license on that machine)

VirtualBox VM guest to pop up a window to the host machine

Question mark
I'm wondering whether it's possible for the VM guest machine to pop up a window to the MS-Windows host machine once a task is done within the VM (not an email). If I'm not dreaming, how to achieve that ?
Why
The VM is a simulator for a production server. Code is written within the host IDE and tested straight into the VM. So files are transferred manually from the IDE to the VM, and then automatically moved, formatted, chmoded, chowned and so on in the VM. This process can take a while, so I want to warn the devleopper once the process is over. The developper have no access to the VM and shall not necessary have one.
Config
Tool: VirtualBox 4.1
host: MS-Windows XP or Windows seven
guest: VM Debian
shared dir: yes
network : bridged connection
If this ability existed, it would be quite a security hole in VirtualBox. Guest VMs gaining access to the host machine's OS is not a good thing! As such, I don't think it's possible to accomplish this in a supported manner.
Instead, think of it as two separate machines. What mechanisms do you have for causing alerts or popups on one machine from another? Is anything like IMs, netsend, etc enabled in your environment?

Is it possible to run matlab on a remote server and control it using the matlab GUI from a thinclient?

Akin to what can be done with emacs with slime: the core services can run on a performace grade remote computer while I can edit and run code from emacs gui on an netbook.
Me and my colleagues often need to do some demos using machine
learning scripts running in matlab
This requires us to carry around heavy laptops.
Could we have the applications running on a remote server and access
it using the same matlab gui without running the scripts locally?
Remote desktop or similar solutions are not acceptable: multiple users would like to use the same server.
This is why none of the answers here were helpful
In my experience, the best way is with VNC. You can start a VNC server on the host machine, and then access this desktop remotely from anywhere with a VNC client. You can disconnect and reconnect at another time, and your desktop will still be there. Also, multiple users can all have different sessions going, or can access the same one. If you don't want each session to run a full blown desktop, you can configure it to be minimal. For security, it is recommended to use an SSH tunnel or similar.
The exact programs will vary based on your setup, but the things to google are bolded, above.
My setup is:
VNC server: vnc4server on a Ubuntu linux host.
VNC client: Chicken of the VNC for mac.
SSH tunnel: SSH Tunnel Manager for mac (although this can be done at the command line too).
Good luck!
EDIT: Here is a screenshot of a vncserver session I just started up on our cluster, with matlab running in it. I'm accessing it through the vnc client on my mac. Works great!
SSH with X-window forwarding will do the trick. It will get you the MATLAB screen you know and love but will be running everything on the remote computer. To do this, in a terminal with SSH (I like MobaXterm, though you can use Putty) you ssh via
ssh server.location.here -X
This will get you the terminal on the computer (after typing in a password), and in the terminal just type
matlab
and a MATLAB screen will show up. Note that opengl will be disabled, so your plots might not plot as fast, though you can still use gpu algorithms (i.e. cuda. Note you may need to run the command "COMPUTE=:0" before opening matlab if gpuDevice turns up empty for MATLAB's cuda).