Using SSH to open application on desktop

So normally people ask how to forward x11 to the local machine, but rather I want to leave the application running on the remote box's desktop. So let say I ssh from a windows machine (using...

How to determine from a python application if X server/X forwarding is running?

I'm writing a linux application which uses PyQt4 for GUI and which will only be used during remote sessions (ssh -XY / vnc). So sometimes it may occur that a user will forget to run ssh with X...

Arduino + OV7670 - Without FIFO - Reading Snapshot

I know that there is a lot in internet (http://forum.arduino.cc/index.php?topic=159557.0 for example) about OV7670 and I read a lot about it, but seems something is missing. First of all I took a...

how to run Emacs when SSH-ing from Linux to Mac OS X (with XForwarding)?

At work I get a choice of two laptops to use, Windows or Mac. Being a linux guy, I thought the MacBook Pro will be a good fit. So I bring the MacBook Pro laptop home, and realize it doesn't have a...

C C++ Graphics program in Linux

I have this program in C language: http://rajababuman.blogspot.com/p/graphics-in-turbo-c.html. It works fine if I use DOSBOX on my Win7 machine and using TurboC++ and shows me what it's doing....

Stop keyboard becoming unresponsive on Pycharm startup

Symptoms: When starting Pycharm: the keyboard seems completely unresponsive the cursor disappears menu items with keyboard bindings are greyed out text selection still works with the mouse, but...

Docker to run X applications while connected through SSH

I have used these instructions for Running Gui Apps with Docker to create images that allow me to launch GUI based applications. It all works flawlessly when running Docker on the same machine,...

Building DOSBox with X11 support on OS X

I've been trying to communicate with my DOSBox window using [xdotool] 2 on OS X, but all my efforts have led to nothing. However, this project shows that it is possible to use xdotool on DOSBox...

Updating DISPLAY with ssh and byobu

I have the following scenario: In my work computer (A) I open a byobu (tmux) session. Inside byobu, I open several terminals. Some of them are local to (A), but in others I ssh to a different...

Startup Error: Unable to detect graphics environment; pycharm-community on VM with Ubuntu16.04

I'm trying to access pycharm-community from local mac system, which is installed on Google Cloud Engine (VM) with GPU and Ubuntu 16.04 environment. I was installed all the required softwares, but...

X11 Forwarding for non-root user not working

Cross-Posted Environmental Details Relevant bits of server's /etc/ssh/sshd_config: X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost no Relevant bits of client's $HOME/.ssh/config: Host * ...

Jar File cannot open Gui

I am new to linux and raspberry Pis. I wrote a Java Program, whith a Gui. I am remoting my Raspberry Pi over ssh in the same Network via Putty I created an executable jar File of my Java Program...

Unable to open remote display on Mac when running Docker

I have a Dockerfile written as below: FROM joesan/raspi_opencv_3:latest RUN apt-get update RUN sudo apt-get install --no-install-recommends xserver-xorg RUN sudo apt-get install...

How to run gui apps like gvim from docker container

To play around with a docker image, I installed docker and ran a sample docker ubuntu image as follows. (I hope I am using terminology correctly, still a docker noob) docker run -it ubuntu Because...

Connect to X11-server from docker without xhost but with xauth

DISCLAIMER: This question has been asked in different forms on Stackoverflow and other venues, but I could get none to work. So I hope someone can help me figure this out once and for all. I need...

Running GUI applications (DISPLAY) on jupyter notebook terminal - Linux

We are running jupyter notebook on a Ubuntu server, and using terminal feature of jupyter. This is good for running CLI but when we have to run a GUI based application (e.g. xclock) then it says...

How to start up xmonad with apps on other workspaces

I'm trying to write an xmonad.hs which, at startup, launches some apps on some workspaces. Several of these apps (e.g., atop) will run within a terminal (urxvt being my preference). This has been...

XQuartz $DISPLAY problems, cannot open xclock locally, cannot ssh -X

I am trying to solve a cascading series of bugs that started with me not able to copy to my macOS clipboard from remote ssh and has lead me to realize my X11 situation is seriously messed up. I...

in remote X11: xclock works but gitk or git gui do not

I installed a X server on Windows 10, I used the WSL and I noticed an issue # echo $DISPLAY localhost:0 When I run xclock or xcalc everything works fine, but when I run gitk I get a segfault ~ #...

Checking monitor: must be configured to display at least 256 colors. DISPLAY environment variable not set. Failed <<<<

While installing weblogic server, I am getting this error. I have tried pretty much but I couldn't sort it out. I tried by this below commands, # xhost + yum install xorg-x11-xauth And I followed...

Error when running glxgears but xclock and xeyes work from Linux server with XForwarding on local OSX machine

I am trying to run glxgears or glxinfo from a server and I am receiving the following error: X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of...

How SSH X11 forwarding is achieved over the browser

I am planning to implement the functionality given by SSH -X . This is used to open GUI based application remotely. So I want to understand what are the components involved and should be...

Problem running IntelliJ Idea remotely via xquartz (x11 for mac). java.awt.HeadlessException

At the moment I am trying to run Intellij Idea remotely using x11 over ssh, such that I see the widgets on my personal iMac, but the IDE is actually running on my work issued MacPro. This way I...

No xauth data warning X11 forwarding from macOS Catalina - linux

I try to make a ssh connection from MacOS to linux. I've tried to follow several tips found on the internet, however I still get the following error when I tried to run xclock: X11 connection...

error running run file in centOS - bad display

I have a task to install Oracle 11g on a centOS 8 using VM (i'm new to linux / oracle). I downloaded the Oracle files and unzipped them, then I tried to ./runInstaller but I get an error and this...

X11 from macOS 10.15.4 to OracleLinux7 failing

I'm trying to get x11 forwarding working from my mac to an OracleLinux7 box for Oracle setup. Here is the command and errors I'm receiving: ssh -Y [email protected] debug1:...

Problems running openGL in a container

I am trying to containerize a QT-based GUI application (specifically, ITK-SNAP) with X11 forwarding. When I build an image (let's call it itk-snap:3.8) with the following Dockerfile # 16.04...

ssh forwarding from mac to ubuntu doesn't work

I'm trying to use ssh forwarding feature on mac to display remote GUI application locally. on Mac, I installed the official xserver XQaurtz, set it up as below. $ cat ~/.ssh/config Host * ...

stata-se, xstata-se command not found

I can't open the GUI of Stata running on local macOS machine from remote Ubuntu server. I have installed stata-se on my local machine, I can open X11 apps like xclock and xeyes. I'm using the...

AWS Lambda Container Running Selenium With Headless Chrome Works Locally But Not In AWS Lambda

I am currently developing a Python program which has a segment which uses a headless version of Chrome and Selenium to perform a repetitive process. I am aiming to run the program on Lambda. The...