How do I make an application think it is running from desktop server (e.g gdm3)?gdm only starts an xterm; how to get back my desktop?login window not showingGDM Starting Twice?GDM and Lightdm don't work after update; KDM is okHow to get OpenGL Shader Language 1.4 working with Intel HD Graphics 4000? (Trusty/14.04)Starting the GUI terminal with specific variablesHow to fix GDM3 Login loop (Ubuntu 16.04 LTS)
Why use Fourier series instead of Taylor?
Is it possible to use gases instead of liquids as fuel in a rocket engine?
At what point in time would humans notice a 21st century satellite observing them?
Can you have a permanent become all permanent types at the same time?
Just bought HD650's with Scarlet 2i2 solo and it sounds too QUIET
delete specific character "[" from a file
Who is this famous person?
Black powder machine gun in an airplane
Paying to leave without notice in at-will employment state
Why rounding odd font sizes to even?
Customize sysctl parameters by user
Does anyone know a basepoint-free construction of universal covers?
What was meant by the protest sign "Bundestag nach Berlin"?
Was there a clearly identifiable "first computer" to use or demonstrate the use of virtual memory?
In a topological space, if a subset is both closed and open then is the toplogy discrete?
The Floer Equation is Elliptic
How to determine the degree to which diminished seventh chords and half-diminished seventh chords belong in major scales?
What is the maximum number of squares 8 queens and 8 nightriders can attack on a 16x16 board?
Object Oriented Programming - how to avoid duplication in processes that differ slightly depending on a variable
Why is this logic incorrect?
Using footnotes in fiction: children's book which can be enjoyed by adults
How to manage publications on a local computer
I have stack-exchanged through my undergrad math program. Am I likely to succeed in mathematics PhD programs?
Is it possible to get reverse life insurance?
How do I make an application think it is running from desktop server (e.g gdm3)?
gdm only starts an xterm; how to get back my desktop?login window not showingGDM Starting Twice?GDM and Lightdm don't work after update; KDM is okHow to get OpenGL Shader Language 1.4 working with Intel HD Graphics 4000? (Trusty/14.04)Starting the GUI terminal with specific variablesHow to fix GDM3 Login loop (Ubuntu 16.04 LTS)
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I have an application binary that works fine if I run it from a terminal in an windows environment (say gdm).
If I run it from raw console (Ctrl+Alt+F3), it emits errors.
But I do need to run this from console.
Is there any way I can run it from console, but make it 'think' it is running from a terminal in a windows environment?
What I tried -
- I already tried "export DISPLAY=:0", which didn't do the trick.
- I suspect it depends on a graphics library, may be opengl for some computations, which is not properly initialized if I run from console.
command-line xorg gdm opengl
add a comment
|
I have an application binary that works fine if I run it from a terminal in an windows environment (say gdm).
If I run it from raw console (Ctrl+Alt+F3), it emits errors.
But I do need to run this from console.
Is there any way I can run it from console, but make it 'think' it is running from a terminal in a windows environment?
What I tried -
- I already tried "export DISPLAY=:0", which didn't do the trick.
- I suspect it depends on a graphics library, may be opengl for some computations, which is not properly initialized if I run from console.
command-line xorg gdm opengl
add a comment
|
I have an application binary that works fine if I run it from a terminal in an windows environment (say gdm).
If I run it from raw console (Ctrl+Alt+F3), it emits errors.
But I do need to run this from console.
Is there any way I can run it from console, but make it 'think' it is running from a terminal in a windows environment?
What I tried -
- I already tried "export DISPLAY=:0", which didn't do the trick.
- I suspect it depends on a graphics library, may be opengl for some computations, which is not properly initialized if I run from console.
command-line xorg gdm opengl
I have an application binary that works fine if I run it from a terminal in an windows environment (say gdm).
If I run it from raw console (Ctrl+Alt+F3), it emits errors.
But I do need to run this from console.
Is there any way I can run it from console, but make it 'think' it is running from a terminal in a windows environment?
What I tried -
- I already tried "export DISPLAY=:0", which didn't do the trick.
- I suspect it depends on a graphics library, may be opengl for some computations, which is not properly initialized if I run from console.
command-line xorg gdm opengl
command-line xorg gdm opengl
asked Jul 30 at 18:14
KalElKalEl
1,7511 gold badge10 silver badges4 bronze badges
1,7511 gold badge10 silver badges4 bronze badges
add a comment
|
add a comment
|
1 Answer
1
active
oldest
votes
Your question, "How can I run a Graphical User Interface (GUI) program in a non-GUI environment?" can't be done. The program depends on the GUI to open windows, etc.
If you had said which program, maybe someone could suggest a Command Line Interface (CLI) equivalent.
If there is another X windows display available (and where you want the program's output to be displayed) on localhost
, or even on your LAN, read man xhost
.
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1162200%2fhow-do-i-make-an-application-think-it-is-running-from-desktop-server-e-g-gdm3%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Your question, "How can I run a Graphical User Interface (GUI) program in a non-GUI environment?" can't be done. The program depends on the GUI to open windows, etc.
If you had said which program, maybe someone could suggest a Command Line Interface (CLI) equivalent.
If there is another X windows display available (and where you want the program's output to be displayed) on localhost
, or even on your LAN, read man xhost
.
add a comment
|
Your question, "How can I run a Graphical User Interface (GUI) program in a non-GUI environment?" can't be done. The program depends on the GUI to open windows, etc.
If you had said which program, maybe someone could suggest a Command Line Interface (CLI) equivalent.
If there is another X windows display available (and where you want the program's output to be displayed) on localhost
, or even on your LAN, read man xhost
.
add a comment
|
Your question, "How can I run a Graphical User Interface (GUI) program in a non-GUI environment?" can't be done. The program depends on the GUI to open windows, etc.
If you had said which program, maybe someone could suggest a Command Line Interface (CLI) equivalent.
If there is another X windows display available (and where you want the program's output to be displayed) on localhost
, or even on your LAN, read man xhost
.
Your question, "How can I run a Graphical User Interface (GUI) program in a non-GUI environment?" can't be done. The program depends on the GUI to open windows, etc.
If you had said which program, maybe someone could suggest a Command Line Interface (CLI) equivalent.
If there is another X windows display available (and where you want the program's output to be displayed) on localhost
, or even on your LAN, read man xhost
.
answered Jul 30 at 18:37
waltinatorwaltinator
25.2k7 gold badges43 silver badges74 bronze badges
25.2k7 gold badges43 silver badges74 bronze badges
add a comment
|
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1162200%2fhow-do-i-make-an-application-think-it-is-running-from-desktop-server-e-g-gdm3%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown