10

How do I open a window in another X11 session?

 2 years ago
source link: https://www.codesd.com/item/how-do-i-open-a-window-in-another-x11-session.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

How do I open a window in another X11 session?

advertisements

linux only: i want to open two windows for my application, one on the main screen of the computer, and one on a virtual X11 sessions to be accessed by remote desktop only. Can some X11 expert tell me how this is done?


You need to set the DISPLAY environment variable like this:

DISPLAY=host:0.0

See the X manpage for more details.

Related Articles

How do I open the window in another window after

I have a mainwindown and I want to open a window inside that stays on top of it. But it seems like the window I want inside is opened before the mainwindow opens. To solve this I need to open the window after initializecomponent of the mainwindow? pu

How can I open a file in another window in VIM via the terminal?

Say I want to open the file "main.cpp". I have my linux terminal open in the correct directory. Normally, I just type "vi main.cpp", but this opens the file in the shell window. How do I open the file in another window?I'm not sure I u

Powerbuilder - Open a window from another window

I want to open a window from another window with only one parameter. My problem is that the window that I want to open is not response type, so it won't open and I get an error. If I change the window type from main to response, it works, but I can't

How do I open an image in another view?

I'm trying to make an iOS application with 2 views. First view contain two buttons: Camera and Library. When i select Library i access the camera roll. I wanna select a photo and open it in another view. Until now i write this functions -(IBAction) g

How do I open an .exe from another C ++ .exe?

What I want to do is open an .exe from another .exe. I really don't know how to do this, so I searched the internet. I tried some suggested methods from the internet, but it didn't work. Here's my code: #include <iostream> #include <windows.h>

Appcelerator Titanium - How do I open a window at a fixed time

I'm a newbie in using appcelerator titanium, and I'm using this platform to create an alarm application. But I'm facing with a problem. I don't know how I can open an application's window at a fixed moment of time (even when my application is closed,

How do I open a Windows-1255 encoded file in Node.js?

I have a file in Windows-1255 (Hebrew) encoding, and i'd like to be able to access it in Node.js. I tried opening the file with fs.readFile, and it gives me a Buffer that i can't do anything with. I tried setting the encoding to Windows-1255, but tha

Beekeeper how to close the index window of another window

everyone I am using titanium with alloy, I have two windows which are index.js and main.js. The window of index.js will be opened when the app run, there is a button in index, main will be opened if someone click the button. Main have another button

How do I open a Windows Explorer window with a specific folder selected?

I have a winform application and this winform application has created few files. I want to implement "find target" function in my application to show those files. Those files located in a same folder. See the picture: Let's say that I have creat

How do you open new editors in another screen?

I use dual monitor for work and I prefer to have the editor on my main screen while the rest of eclipse in my laptop monitor. However, when I open a new file, that is. I open a file with Cmd-Shift-R, files are opened in my laptop monitor as opposed t

How do I open a Windows system menu by code?

I have a C# WinForms borderless window, for which I override WndProc and handle the WM_NCHITTEST message. For an area of that form, my hit test function returns HTSYSMENU. Double-clicking that area successfully closes the form, but right-clicking it

How do I open a WebView in another activity by pressing a button?

I made a program in which i am making a button in main activity and then on clicking it, a new activity which will give me a webview. Here's my code for mainactivity.java public class ButtonWebActivity extends Activity { @Override public void onCreat

How to access open channels / queues on a Bunny session?

I'm using Rabbit MQ's Ruby client (Bunny). I moved the hole Bunny config and initializing process in an initializer. How can I access channels/queues opened on a Bunny connection from inside a controller or a lib? I get 'true' when I call Bunny::Sess

How can I enumerate the open windows (~ EnumWindows) of another user session

I have an application that can list the opened windows of the current session. It uses the EnumWindows method from the user32.dll. I would like to run this code from a windows service, but as the service is not attached to a user session, it returns

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK