No GUI with Centos 7 running on AWS - amazon-ec2

I am trying to get a GUI running on an AWS Centos 7 instance. Tiger vnc seems to run fine and I can get connected with the tigervnc viewer. However, all I get is a grey screen with 4 checkboxes in the upper right hand corner.
I installed Gnome and Server with GUI and I have tried changing my xstartup a hundred different ways, but I always get a grey screen. See the screenshot.
How can I get the gnome gui to work over my vnc session?
thanks

I found out that you will get this issue when using cPanel and WHM if you have the user in a jailed root. Open up the access and the full OS will load.
I would imagine that there is some way to work around this to keep a jailed root, but I am not a linux guru, so I don't know how to accomplish that.

Related

raspberry pi3 can not launch application on primary HDMI Display, can launch on remote using ssh -x

I had built console core image for raspberry Pi3, and I am able to boot the Rpi3 successfully using SD card.
I have created an electron app which is able to launch on remote display over ssh.
However when I launch the application on Monitor connected through HDMI Cable, It gives following error
Can not open Display :0.0
I have seen many people asking this question for not able to launch on remote display, which works fine in my case.
Can anyone help in this?
With console core, you don't have an X server running to display on.
You can upgrade your system to include the X installation -- search for 'install pixel desktop' -- or you could just refresh the card with the lite or full image.
If you set the Pi to auto login to the pi account, you can start your application on login by adding it to the bottom of .xinitrc. You could also start it from a remote ssh, displaying on the local display, by setting DISPLAY=:0 in the environment before you start. You'll need to explore the world of X Windows authentication to make this work. See the man page for the xhost command, for instance.
(This is an expansion of LetoThe2nd's comment, which probably should have been an answer instead.)
Console core image means that there is no xserver running, and hence no display :0. Try getting started with core-image-x11 maybe, or whatever suits the RasPi.

Automation of a graphical app in a windows VM

I need to automate a windows only java graphical app in a cloud vm.
I'm currently trying with windwos server 2008 and robotJS in node, if I'm connected to the VM in RDP and showing the screen, all is good and it work, but it's no real automation.
If managed to launch the user session at start, and added the app and my script in the startup dire to have them launched when the user logon, but when I do that, the robot only see a black screen with the start button when I'm taking a screenshot, and it can't interact with the app.
As someone already try to do that ?
Any insight would be good, I can change the server version, use another automation tool, anything if it work.
I let that here because it might one day help someone.
The trick was to use keyboard shortcut instead of mouse, not sure why.

Teamviewer Remote Computer showing black instead of Login Screen

I'm trying to connect to my remote server using teamviewer 12.0.81460. It used to work absolutely fine. But from past few days I see a black screen when I connect using TeamViewer(see attached screenshot). But when I move the cursor it starts showing some points on the screen but that's also not clear. One thing I noticed is that when I connect with remote desktop from another PC and bypass this login screen it works fine. But this login screen has some issue.
The solution I have tried so far:
Changing screen resolution
Disabling black screen on my TeamViewer Settings
Installing a lower version (11) on my PC but
it asks me to upgrade since
remote PC is running latest version.
Any help would be greatly appreciated.
I know this is late, but i had the a similar issue where i was trying to connect from my windows computer to mac computer and got stuck at a black login screen. The workaround i have found to be useful is as follows:
Type the first letter of the account i wanted to login to
Press ENTER
type account
Press Enter
The screen was still black and shows anything until i reach step 4, it redirects me to the account! This was because although the screen was not working, the keyboard was working on remote computer.

Is a mouse click on a remote desktop possible using AutoIt or alternatives?

I want to write a script that involves mouse click and stuff. I am little confused though. Is there a way mouse clicks (in the form of x and y co-ordinates) would work on a VPS which is logged on, but disconnected from the client?
Example:
MouseClick("left",588, 268)
To my knowledge, these VPSes don't have their own native screen resolution. I have already written the script for my local pc and it's working fine on my resolution. But when tried with the VPS, it doesn't work.
PS: I am running the script from the remote desktop itself and not from my local pc. Please correct me if there's anything I am doing wrong :)
Update: For anyone still looking for an answer, consider installing a vnc server, that way the screen resolution you specify is preserved even when not connected to the server.
Ex: https://www.realvnc.com/en/connect/download/vnc/
It's relevant to almost any automation tool, not only AutoIt.
Remote Desktop has its own GUI context only if it's connected to the remote PC. But you can lose focus for a Remote Desktop window (without disconnection & without minimizing) and continue other local work.
The same effect takes place for VNC server software.
One team in our organization uses it for massive test runs automation: a master server creates a remote session for each test machine and keeps them all connected until tests passes.
Use ControlClick to have the mouse click over RDP connections, even when you're not connected. For some reason it can still be iffy for me, but at least it worked more so that Click which was none at all.

Cloudera VM Windows mouse only partially works

I am getting started with Cloudera Hadoop and downloaded the VMWare image from here. While the image itself works fine, my mouse does not.
I am running on a new MacBookAir, using VMWare for the Mac. I created the image using the uncompressed image file, but was unsure which OS to select in VMWare. I tried both Mac OS (which didn't even boot in the VM) and then Windows OS (which did boot).
The mouse behaves as follows in the VM. Right click works fine, i.e. context-menu appears. Left click does nothing. I have tried to use the 'mouse' system setting to fix this, but that doesn't change anything.
Suggestions?
I got it working - a couple of things. First I needed to re-create the VM using the correct OS (it is Linux - CentOS 5.8, and in my case 64-bit).
Next I needed to mount a CD drive (had to force shutdown and then re-start) via the Settings. After that I had to install the VMWare Tools via the newly mounted CD (from the original source media).
After that I had to do a cold restart one more time, then voila - mouse is working ok.

Resources