I've had this issue with multiple computers and multiple pi's.
When I try and run startx the GUI doesn't boot.
I've read a lot of other forums about this but it didn't really solve my problem. The pi tries to launch it but the process just doesn't complete.
I feel like something is blocking it from launching the GUI, or I'm missing a package of some kind.
I can get startx to launch fine when I'm not using a serial connection (hdmi/monitor/keyboard instead of puTTY).
Does anyone have any thoughts on this?
To see output on your Windows machine, you need an X-Server. A commonly used X-Server for Windows is Xming
You'll also have to configure X11 forwarding in Putty.
Related
I have a bunch of automated UI tests that currently require a physical monitor to run. Can I somehow create a virtual monitor in Windows 10 that functions like a real monitor to the OS? I want to run the UI tests in a remote cloud environment without screens.
I think I heard sometime that VR-development (Virtual Reality) have had similar problems in that VR also need a physical monitor attached (except the VR-headset) and that this was perhaps solved by Nvidia/Intel? with a fake monitor driver or similar? Or was it virtual desktops in VR? I can't find the source for any of this anymore...
The easiest way is to use the Spacedesk utility:
https://spacedesk.net/
Spacedesk server part is installed on your PC.
The client part (viewer) will also be required - any device on Android/Windows in same LAN segment.
Small hack:
You can also install Windows Client on Spacedesk server PC and manually assign client IP from another subnet. As a result, you will assume real Windows fake display )...
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.
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)
Im acquiring data from a sensor using RaspberryPi. Now the idea is to get the data streaming over an ethernet link to my Windows 7 laptop and do the monitoring and recording on the laptop. Can I get some advice on how to implement this in C/C++.
The idea is to get the signal from a sensor streamed to a Windows GUI.
You can push data from your raspberry PI to you Windows
You can have some sort of service on your Windows box and your raspberry PI can push information to your software running on your Windows.
or
you can pull data from your raspberry PI to you Windows
In this case, raspberry PI would be a passive provider and Windows would ask for data.
Hard to give you more information without more details but basically you decide who is going to the passive and active and program that way.
I personally would request data from the raspberry PI to Windows as I can have my service running and just update when I need instead of having my service running and suddenly have my data changing.
That said, it's hard to say without more details.
You need to tell what kind of programming language are you going to use.
According to your question, you need to dig into socket programming.
Recently,I linked my two Raspberry-Pi by writing a python script to establish a TCP connection between them.
and there is this protocol called "RTSP(Real Time Streaming Protocol)" to (as the name says) stream data in real-time.
(If you are to use python , there is this module called gst-python for streaming).
I think the above infos would give you where to start.
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).