Launching GUI on BeagleBone via putty2019 Community Moderator ElectionUnattended remote GUI access for linux applicanceHow can I remotely access my Linux GUI?PuTTY, CygwinX, and X11 forwarding connection refusedHow to show desktop when remotely accessing Debian?Loss of DNS on BeagleBone Black DebianHow to restart Chrome Remote Desktop via sshHow can I launch gnome-terminal remotely on my headless server? (fails to launch over X11 forwarding)Failing to Enable UARTs on Beaglebone BlackTrouble enabling all UARTs on Beaglebone Black Debian 9.3Activate remote display and run X application remotely
Has the laser at Magurele, Romania reached the tenth of the Sun power?
Is there any common country to visit for persons holding UK and Schengen visas?
"Marked down as someone wanting to sell shares." What does that mean?
Do people actually use the word "kaputt" in conversation?
"Oh no!" in Latin
PTIJ: Which Dr. Seuss books should one obtain?
Derivative of an interpolated function
New Order #2: Turn My Way
Friend wants my recommendation but I don't want to give it to him
How can a new country break out from a developed country without war?
What properties make a magic weapon befit a Rogue more than a DEX-based Fighter?
Reason why a kingside attack is not justified
Does capillary rise violate hydrostatic paradox?
What is the purpose of using a decision tree?
Why does the frost depth increase when the surface temperature warms up?
How to get directions in deep space?
Mac Mini (2018) 10Gb Port Compatibility
Showing mass murder in a kid's book
Pre-Employment Background Check With Consent For Future Checks
Extract substring according to regexp with sed or grep
Trouble reading roman numeral notation with flats
What is the meaning of "You've never met a graph you didn't like?"
Relations between homogeneous polynomials
Put the phone down / Put down the phone
Launching GUI on BeagleBone via putty
2019 Community Moderator ElectionUnattended remote GUI access for linux applicanceHow can I remotely access my Linux GUI?PuTTY, CygwinX, and X11 forwarding connection refusedHow to show desktop when remotely accessing Debian?Loss of DNS on BeagleBone Black DebianHow to restart Chrome Remote Desktop via sshHow can I launch gnome-terminal remotely on my headless server? (fails to launch over X11 forwarding)Failing to Enable UARTs on Beaglebone BlackTrouble enabling all UARTs on Beaglebone Black Debian 9.3Activate remote display and run X application remotely
How to launch a GUI application on a BeagleBone that is running Linux (Debian 7.4) remotely?
Notes:
- putty is being used for the remote access.
- The task is to have the GUI launched and displayed on the BeagleBone itself (i.e., no X11 forwarding)
linux remote-desktop beagleboneblack
bumped to the homepage by Community♦ 14 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
How to launch a GUI application on a BeagleBone that is running Linux (Debian 7.4) remotely?
Notes:
- putty is being used for the remote access.
- The task is to have the GUI launched and displayed on the BeagleBone itself (i.e., no X11 forwarding)
linux remote-desktop beagleboneblack
bumped to the homepage by Community♦ 14 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
How to launch a GUI application on a BeagleBone that is running Linux (Debian 7.4) remotely?
Notes:
- putty is being used for the remote access.
- The task is to have the GUI launched and displayed on the BeagleBone itself (i.e., no X11 forwarding)
linux remote-desktop beagleboneblack
How to launch a GUI application on a BeagleBone that is running Linux (Debian 7.4) remotely?
Notes:
- putty is being used for the remote access.
- The task is to have the GUI launched and displayed on the BeagleBone itself (i.e., no X11 forwarding)
linux remote-desktop beagleboneblack
linux remote-desktop beagleboneblack
edited Sep 19 '17 at 20:46
chicks
8121822
8121822
asked Jun 12 '15 at 18:08
OAHOAH
1
1
bumped to the homepage by Community♦ 14 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 14 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You need to set the DISPLAY variable after you have logged in using PuTTY:
export DISPLAY=":0"
Then you should be able to start an GUI application like xclock
Note: You need to login using PuTTY as the user who has a running desktop environment.
Confirm your regular value for the DISPLAY variable from a desktop session on the BeagleBone itself using a terminal issuing export|grep DISPLAY
No X11 forwarding is necessary when you use PuTTY to connect from another host.
To start such GUI process in the background use:
export DISPLAY=":0"
xclock &
If the commands needs to be run as root, it might be necessary to set an additional environment variable in the ssh session:
export XAUTHORITY=/home/user/.Xauthority
su -c xclock &
And it may even take a change to the sudo configuration if you want to use sudo to launch the application:
visudo
Defaults env_keep+=XAUTHORITY
sudo xclock &
I run export | grep DISPLAY and I got declare -x DISPLAY=":0" however when I run the command to start the application, I got: Server is already active for display 0
– OAH
Jun 12 '15 at 18:21
Are you trying to start X over asshconnection? Did you find and read x.org/wiki/FAQErrorMessages/#index5h2. My answer assumed that you have a working GUI desktop and you just want to open another application to be displayed on the GUI desktop.
– Lambert
Jun 12 '15 at 18:26
Yes I have a working GUI desktop and I just want to open another application to be displayed on that GUI desktop. This is the exact setup that I am having.
– OAH
Jun 12 '15 at 18:31
What exact command are you using in your PuTTY session?
– Lambert
Jun 12 '15 at 18:39
I am issuing sudo xinit /usr/local/bin/rtlizer on the BeagleBone. As for the putty I am not using any special setting or any thing, just traditional login.
– OAH
Jun 12 '15 at 18:41
|
show 3 more comments
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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/3.0/"u003ecc by-sa 3.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%2funix.stackexchange.com%2fquestions%2f209297%2flaunching-gui-on-beaglebone-via-putty%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
You need to set the DISPLAY variable after you have logged in using PuTTY:
export DISPLAY=":0"
Then you should be able to start an GUI application like xclock
Note: You need to login using PuTTY as the user who has a running desktop environment.
Confirm your regular value for the DISPLAY variable from a desktop session on the BeagleBone itself using a terminal issuing export|grep DISPLAY
No X11 forwarding is necessary when you use PuTTY to connect from another host.
To start such GUI process in the background use:
export DISPLAY=":0"
xclock &
If the commands needs to be run as root, it might be necessary to set an additional environment variable in the ssh session:
export XAUTHORITY=/home/user/.Xauthority
su -c xclock &
And it may even take a change to the sudo configuration if you want to use sudo to launch the application:
visudo
Defaults env_keep+=XAUTHORITY
sudo xclock &
I run export | grep DISPLAY and I got declare -x DISPLAY=":0" however when I run the command to start the application, I got: Server is already active for display 0
– OAH
Jun 12 '15 at 18:21
Are you trying to start X over asshconnection? Did you find and read x.org/wiki/FAQErrorMessages/#index5h2. My answer assumed that you have a working GUI desktop and you just want to open another application to be displayed on the GUI desktop.
– Lambert
Jun 12 '15 at 18:26
Yes I have a working GUI desktop and I just want to open another application to be displayed on that GUI desktop. This is the exact setup that I am having.
– OAH
Jun 12 '15 at 18:31
What exact command are you using in your PuTTY session?
– Lambert
Jun 12 '15 at 18:39
I am issuing sudo xinit /usr/local/bin/rtlizer on the BeagleBone. As for the putty I am not using any special setting or any thing, just traditional login.
– OAH
Jun 12 '15 at 18:41
|
show 3 more comments
You need to set the DISPLAY variable after you have logged in using PuTTY:
export DISPLAY=":0"
Then you should be able to start an GUI application like xclock
Note: You need to login using PuTTY as the user who has a running desktop environment.
Confirm your regular value for the DISPLAY variable from a desktop session on the BeagleBone itself using a terminal issuing export|grep DISPLAY
No X11 forwarding is necessary when you use PuTTY to connect from another host.
To start such GUI process in the background use:
export DISPLAY=":0"
xclock &
If the commands needs to be run as root, it might be necessary to set an additional environment variable in the ssh session:
export XAUTHORITY=/home/user/.Xauthority
su -c xclock &
And it may even take a change to the sudo configuration if you want to use sudo to launch the application:
visudo
Defaults env_keep+=XAUTHORITY
sudo xclock &
I run export | grep DISPLAY and I got declare -x DISPLAY=":0" however when I run the command to start the application, I got: Server is already active for display 0
– OAH
Jun 12 '15 at 18:21
Are you trying to start X over asshconnection? Did you find and read x.org/wiki/FAQErrorMessages/#index5h2. My answer assumed that you have a working GUI desktop and you just want to open another application to be displayed on the GUI desktop.
– Lambert
Jun 12 '15 at 18:26
Yes I have a working GUI desktop and I just want to open another application to be displayed on that GUI desktop. This is the exact setup that I am having.
– OAH
Jun 12 '15 at 18:31
What exact command are you using in your PuTTY session?
– Lambert
Jun 12 '15 at 18:39
I am issuing sudo xinit /usr/local/bin/rtlizer on the BeagleBone. As for the putty I am not using any special setting or any thing, just traditional login.
– OAH
Jun 12 '15 at 18:41
|
show 3 more comments
You need to set the DISPLAY variable after you have logged in using PuTTY:
export DISPLAY=":0"
Then you should be able to start an GUI application like xclock
Note: You need to login using PuTTY as the user who has a running desktop environment.
Confirm your regular value for the DISPLAY variable from a desktop session on the BeagleBone itself using a terminal issuing export|grep DISPLAY
No X11 forwarding is necessary when you use PuTTY to connect from another host.
To start such GUI process in the background use:
export DISPLAY=":0"
xclock &
If the commands needs to be run as root, it might be necessary to set an additional environment variable in the ssh session:
export XAUTHORITY=/home/user/.Xauthority
su -c xclock &
And it may even take a change to the sudo configuration if you want to use sudo to launch the application:
visudo
Defaults env_keep+=XAUTHORITY
sudo xclock &
You need to set the DISPLAY variable after you have logged in using PuTTY:
export DISPLAY=":0"
Then you should be able to start an GUI application like xclock
Note: You need to login using PuTTY as the user who has a running desktop environment.
Confirm your regular value for the DISPLAY variable from a desktop session on the BeagleBone itself using a terminal issuing export|grep DISPLAY
No X11 forwarding is necessary when you use PuTTY to connect from another host.
To start such GUI process in the background use:
export DISPLAY=":0"
xclock &
If the commands needs to be run as root, it might be necessary to set an additional environment variable in the ssh session:
export XAUTHORITY=/home/user/.Xauthority
su -c xclock &
And it may even take a change to the sudo configuration if you want to use sudo to launch the application:
visudo
Defaults env_keep+=XAUTHORITY
sudo xclock &
edited Jun 12 '15 at 20:37
answered Jun 12 '15 at 18:15
LambertLambert
9,09821328
9,09821328
I run export | grep DISPLAY and I got declare -x DISPLAY=":0" however when I run the command to start the application, I got: Server is already active for display 0
– OAH
Jun 12 '15 at 18:21
Are you trying to start X over asshconnection? Did you find and read x.org/wiki/FAQErrorMessages/#index5h2. My answer assumed that you have a working GUI desktop and you just want to open another application to be displayed on the GUI desktop.
– Lambert
Jun 12 '15 at 18:26
Yes I have a working GUI desktop and I just want to open another application to be displayed on that GUI desktop. This is the exact setup that I am having.
– OAH
Jun 12 '15 at 18:31
What exact command are you using in your PuTTY session?
– Lambert
Jun 12 '15 at 18:39
I am issuing sudo xinit /usr/local/bin/rtlizer on the BeagleBone. As for the putty I am not using any special setting or any thing, just traditional login.
– OAH
Jun 12 '15 at 18:41
|
show 3 more comments
I run export | grep DISPLAY and I got declare -x DISPLAY=":0" however when I run the command to start the application, I got: Server is already active for display 0
– OAH
Jun 12 '15 at 18:21
Are you trying to start X over asshconnection? Did you find and read x.org/wiki/FAQErrorMessages/#index5h2. My answer assumed that you have a working GUI desktop and you just want to open another application to be displayed on the GUI desktop.
– Lambert
Jun 12 '15 at 18:26
Yes I have a working GUI desktop and I just want to open another application to be displayed on that GUI desktop. This is the exact setup that I am having.
– OAH
Jun 12 '15 at 18:31
What exact command are you using in your PuTTY session?
– Lambert
Jun 12 '15 at 18:39
I am issuing sudo xinit /usr/local/bin/rtlizer on the BeagleBone. As for the putty I am not using any special setting or any thing, just traditional login.
– OAH
Jun 12 '15 at 18:41
I run export | grep DISPLAY and I got declare -x DISPLAY=":0" however when I run the command to start the application, I got: Server is already active for display 0
– OAH
Jun 12 '15 at 18:21
I run export | grep DISPLAY and I got declare -x DISPLAY=":0" however when I run the command to start the application, I got: Server is already active for display 0
– OAH
Jun 12 '15 at 18:21
Are you trying to start X over a
ssh connection? Did you find and read x.org/wiki/FAQErrorMessages/#index5h2. My answer assumed that you have a working GUI desktop and you just want to open another application to be displayed on the GUI desktop.– Lambert
Jun 12 '15 at 18:26
Are you trying to start X over a
ssh connection? Did you find and read x.org/wiki/FAQErrorMessages/#index5h2. My answer assumed that you have a working GUI desktop and you just want to open another application to be displayed on the GUI desktop.– Lambert
Jun 12 '15 at 18:26
Yes I have a working GUI desktop and I just want to open another application to be displayed on that GUI desktop. This is the exact setup that I am having.
– OAH
Jun 12 '15 at 18:31
Yes I have a working GUI desktop and I just want to open another application to be displayed on that GUI desktop. This is the exact setup that I am having.
– OAH
Jun 12 '15 at 18:31
What exact command are you using in your PuTTY session?
– Lambert
Jun 12 '15 at 18:39
What exact command are you using in your PuTTY session?
– Lambert
Jun 12 '15 at 18:39
I am issuing sudo xinit /usr/local/bin/rtlizer on the BeagleBone. As for the putty I am not using any special setting or any thing, just traditional login.
– OAH
Jun 12 '15 at 18:41
I am issuing sudo xinit /usr/local/bin/rtlizer on the BeagleBone. As for the putty I am not using any special setting or any thing, just traditional login.
– OAH
Jun 12 '15 at 18:41
|
show 3 more comments
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f209297%2flaunching-gui-on-beaglebone-via-putty%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