Xming does not show an xclock window
up vote
3
down vote
favorite
I have installed and have connected to a server using Putty.
But when I type "xclock" for testing there is no output.
windows putty xming
add a comment |
up vote
3
down vote
favorite
I have installed and have connected to a server using Putty.
But when I type "xclock" for testing there is no output.
windows putty xming
add a comment |
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I have installed and have connected to a server using Putty.
But when I type "xclock" for testing there is no output.
windows putty xming
I have installed and have connected to a server using Putty.
But when I type "xclock" for testing there is no output.
windows putty xming
windows putty xming
edited Nov 25 at 15:10
Rui F Ribeiro
38.3k1475126
38.3k1475126
asked Sep 11 '12 at 10:02
eucap
16112
16112
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
1
down vote
Check that Xming is accepting connections from the remote host. You can temporarily accept all connections by running Xming with the -ac option.
Also check in your putty options for the session that Connection > SSH > X11 > Enable X11 forwarding is enabled.
add a comment |
up vote
0
down vote
If you don't get an error message, it means that xclock
is displaying a window, it could reach your X11 display. So your problem is that you aren't seeing Xming's window.
You have probably configured Xming to display X applications inside an Xming window, so navigate to the Xming window (this “one-window” mode is the default). Alternatively, configure Xming to display X windows on the Windows: start Xming in “multiwindow” mode. See the Xming manual for more information.
It's also possible (but unlikely) that you've done something weird in your configuration file and are overriding the DISPLAY
variable. It is extremely rare that overriding DISPLAY
in .profile
or .bashrc
or similar files can do anything useful. If you're also logged in inside X on the server's console, and you've overridden DISPLAY
to be :0
, then xclock
is being displayed on the server's GUI.
xming is working properly when i tested in one server.But am having issues with othr server when i set DISPLAY as :0 and i give command xclock it doesnt show any errors but i am not able to see clock in my machine.But otherwise am getting error "Error: cannot open display: localhost:0"
– eucap
Sep 12 '12 at 5:00
Also if i set the DISPLAY as my export DISPLAY=174.16.36.177:0 (system ip )and i try to run firefox it doesnt show any errors but output is not getting displayed.
– eucap
Sep 12 '12 at 5:08
Don't setDISPLAY
. Never setDISPLAY
over SSH (including PuTTY): if the SSH forwarding is working, the environment variable will be set correctly. If the variable isn't set, you aren't getting X forwarding. Check that you've enabled forwarding in the PuTTY client, that you haveDISPLAY
set on the client side (with Xming, typically tolocalhost:0
) and that the server allows X11 forwarding (X11Forwarding yes
insshd_config
).
– Gilles
Sep 12 '12 at 7:22
I performed steps what you have told.Didnt set the Display in putty .Enabled forwarding . And i logged in to the server and set the DISPLAY to localhost:0 .But no errors,but am not able to see the windows of xclock .As i said on one server it worked well.Also can i know where to look for ssh_config file ?
– eucap
Sep 12 '12 at 8:11
@eucap Again: Do not setDISPLAY
manually. Make sure you've set the X display location in PuTTY, and that the server accepts X11 forwarding.
– Gilles
Sep 12 '12 at 8:14
|
show 3 more comments
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Check that Xming is accepting connections from the remote host. You can temporarily accept all connections by running Xming with the -ac option.
Also check in your putty options for the session that Connection > SSH > X11 > Enable X11 forwarding is enabled.
add a comment |
up vote
1
down vote
Check that Xming is accepting connections from the remote host. You can temporarily accept all connections by running Xming with the -ac option.
Also check in your putty options for the session that Connection > SSH > X11 > Enable X11 forwarding is enabled.
add a comment |
up vote
1
down vote
up vote
1
down vote
Check that Xming is accepting connections from the remote host. You can temporarily accept all connections by running Xming with the -ac option.
Also check in your putty options for the session that Connection > SSH > X11 > Enable X11 forwarding is enabled.
Check that Xming is accepting connections from the remote host. You can temporarily accept all connections by running Xming with the -ac option.
Also check in your putty options for the session that Connection > SSH > X11 > Enable X11 forwarding is enabled.
answered Sep 11 '12 at 10:55
loutrrr
111
111
add a comment |
add a comment |
up vote
0
down vote
If you don't get an error message, it means that xclock
is displaying a window, it could reach your X11 display. So your problem is that you aren't seeing Xming's window.
You have probably configured Xming to display X applications inside an Xming window, so navigate to the Xming window (this “one-window” mode is the default). Alternatively, configure Xming to display X windows on the Windows: start Xming in “multiwindow” mode. See the Xming manual for more information.
It's also possible (but unlikely) that you've done something weird in your configuration file and are overriding the DISPLAY
variable. It is extremely rare that overriding DISPLAY
in .profile
or .bashrc
or similar files can do anything useful. If you're also logged in inside X on the server's console, and you've overridden DISPLAY
to be :0
, then xclock
is being displayed on the server's GUI.
xming is working properly when i tested in one server.But am having issues with othr server when i set DISPLAY as :0 and i give command xclock it doesnt show any errors but i am not able to see clock in my machine.But otherwise am getting error "Error: cannot open display: localhost:0"
– eucap
Sep 12 '12 at 5:00
Also if i set the DISPLAY as my export DISPLAY=174.16.36.177:0 (system ip )and i try to run firefox it doesnt show any errors but output is not getting displayed.
– eucap
Sep 12 '12 at 5:08
Don't setDISPLAY
. Never setDISPLAY
over SSH (including PuTTY): if the SSH forwarding is working, the environment variable will be set correctly. If the variable isn't set, you aren't getting X forwarding. Check that you've enabled forwarding in the PuTTY client, that you haveDISPLAY
set on the client side (with Xming, typically tolocalhost:0
) and that the server allows X11 forwarding (X11Forwarding yes
insshd_config
).
– Gilles
Sep 12 '12 at 7:22
I performed steps what you have told.Didnt set the Display in putty .Enabled forwarding . And i logged in to the server and set the DISPLAY to localhost:0 .But no errors,but am not able to see the windows of xclock .As i said on one server it worked well.Also can i know where to look for ssh_config file ?
– eucap
Sep 12 '12 at 8:11
@eucap Again: Do not setDISPLAY
manually. Make sure you've set the X display location in PuTTY, and that the server accepts X11 forwarding.
– Gilles
Sep 12 '12 at 8:14
|
show 3 more comments
up vote
0
down vote
If you don't get an error message, it means that xclock
is displaying a window, it could reach your X11 display. So your problem is that you aren't seeing Xming's window.
You have probably configured Xming to display X applications inside an Xming window, so navigate to the Xming window (this “one-window” mode is the default). Alternatively, configure Xming to display X windows on the Windows: start Xming in “multiwindow” mode. See the Xming manual for more information.
It's also possible (but unlikely) that you've done something weird in your configuration file and are overriding the DISPLAY
variable. It is extremely rare that overriding DISPLAY
in .profile
or .bashrc
or similar files can do anything useful. If you're also logged in inside X on the server's console, and you've overridden DISPLAY
to be :0
, then xclock
is being displayed on the server's GUI.
xming is working properly when i tested in one server.But am having issues with othr server when i set DISPLAY as :0 and i give command xclock it doesnt show any errors but i am not able to see clock in my machine.But otherwise am getting error "Error: cannot open display: localhost:0"
– eucap
Sep 12 '12 at 5:00
Also if i set the DISPLAY as my export DISPLAY=174.16.36.177:0 (system ip )and i try to run firefox it doesnt show any errors but output is not getting displayed.
– eucap
Sep 12 '12 at 5:08
Don't setDISPLAY
. Never setDISPLAY
over SSH (including PuTTY): if the SSH forwarding is working, the environment variable will be set correctly. If the variable isn't set, you aren't getting X forwarding. Check that you've enabled forwarding in the PuTTY client, that you haveDISPLAY
set on the client side (with Xming, typically tolocalhost:0
) and that the server allows X11 forwarding (X11Forwarding yes
insshd_config
).
– Gilles
Sep 12 '12 at 7:22
I performed steps what you have told.Didnt set the Display in putty .Enabled forwarding . And i logged in to the server and set the DISPLAY to localhost:0 .But no errors,but am not able to see the windows of xclock .As i said on one server it worked well.Also can i know where to look for ssh_config file ?
– eucap
Sep 12 '12 at 8:11
@eucap Again: Do not setDISPLAY
manually. Make sure you've set the X display location in PuTTY, and that the server accepts X11 forwarding.
– Gilles
Sep 12 '12 at 8:14
|
show 3 more comments
up vote
0
down vote
up vote
0
down vote
If you don't get an error message, it means that xclock
is displaying a window, it could reach your X11 display. So your problem is that you aren't seeing Xming's window.
You have probably configured Xming to display X applications inside an Xming window, so navigate to the Xming window (this “one-window” mode is the default). Alternatively, configure Xming to display X windows on the Windows: start Xming in “multiwindow” mode. See the Xming manual for more information.
It's also possible (but unlikely) that you've done something weird in your configuration file and are overriding the DISPLAY
variable. It is extremely rare that overriding DISPLAY
in .profile
or .bashrc
or similar files can do anything useful. If you're also logged in inside X on the server's console, and you've overridden DISPLAY
to be :0
, then xclock
is being displayed on the server's GUI.
If you don't get an error message, it means that xclock
is displaying a window, it could reach your X11 display. So your problem is that you aren't seeing Xming's window.
You have probably configured Xming to display X applications inside an Xming window, so navigate to the Xming window (this “one-window” mode is the default). Alternatively, configure Xming to display X windows on the Windows: start Xming in “multiwindow” mode. See the Xming manual for more information.
It's also possible (but unlikely) that you've done something weird in your configuration file and are overriding the DISPLAY
variable. It is extremely rare that overriding DISPLAY
in .profile
or .bashrc
or similar files can do anything useful. If you're also logged in inside X on the server's console, and you've overridden DISPLAY
to be :0
, then xclock
is being displayed on the server's GUI.
edited Sep 12 '12 at 1:49
answered Sep 12 '12 at 1:34
Gilles
522k12610411575
522k12610411575
xming is working properly when i tested in one server.But am having issues with othr server when i set DISPLAY as :0 and i give command xclock it doesnt show any errors but i am not able to see clock in my machine.But otherwise am getting error "Error: cannot open display: localhost:0"
– eucap
Sep 12 '12 at 5:00
Also if i set the DISPLAY as my export DISPLAY=174.16.36.177:0 (system ip )and i try to run firefox it doesnt show any errors but output is not getting displayed.
– eucap
Sep 12 '12 at 5:08
Don't setDISPLAY
. Never setDISPLAY
over SSH (including PuTTY): if the SSH forwarding is working, the environment variable will be set correctly. If the variable isn't set, you aren't getting X forwarding. Check that you've enabled forwarding in the PuTTY client, that you haveDISPLAY
set on the client side (with Xming, typically tolocalhost:0
) and that the server allows X11 forwarding (X11Forwarding yes
insshd_config
).
– Gilles
Sep 12 '12 at 7:22
I performed steps what you have told.Didnt set the Display in putty .Enabled forwarding . And i logged in to the server and set the DISPLAY to localhost:0 .But no errors,but am not able to see the windows of xclock .As i said on one server it worked well.Also can i know where to look for ssh_config file ?
– eucap
Sep 12 '12 at 8:11
@eucap Again: Do not setDISPLAY
manually. Make sure you've set the X display location in PuTTY, and that the server accepts X11 forwarding.
– Gilles
Sep 12 '12 at 8:14
|
show 3 more comments
xming is working properly when i tested in one server.But am having issues with othr server when i set DISPLAY as :0 and i give command xclock it doesnt show any errors but i am not able to see clock in my machine.But otherwise am getting error "Error: cannot open display: localhost:0"
– eucap
Sep 12 '12 at 5:00
Also if i set the DISPLAY as my export DISPLAY=174.16.36.177:0 (system ip )and i try to run firefox it doesnt show any errors but output is not getting displayed.
– eucap
Sep 12 '12 at 5:08
Don't setDISPLAY
. Never setDISPLAY
over SSH (including PuTTY): if the SSH forwarding is working, the environment variable will be set correctly. If the variable isn't set, you aren't getting X forwarding. Check that you've enabled forwarding in the PuTTY client, that you haveDISPLAY
set on the client side (with Xming, typically tolocalhost:0
) and that the server allows X11 forwarding (X11Forwarding yes
insshd_config
).
– Gilles
Sep 12 '12 at 7:22
I performed steps what you have told.Didnt set the Display in putty .Enabled forwarding . And i logged in to the server and set the DISPLAY to localhost:0 .But no errors,but am not able to see the windows of xclock .As i said on one server it worked well.Also can i know where to look for ssh_config file ?
– eucap
Sep 12 '12 at 8:11
@eucap Again: Do not setDISPLAY
manually. Make sure you've set the X display location in PuTTY, and that the server accepts X11 forwarding.
– Gilles
Sep 12 '12 at 8:14
xming is working properly when i tested in one server.But am having issues with othr server when i set DISPLAY as :0 and i give command xclock it doesnt show any errors but i am not able to see clock in my machine.But otherwise am getting error "Error: cannot open display: localhost:0"
– eucap
Sep 12 '12 at 5:00
xming is working properly when i tested in one server.But am having issues with othr server when i set DISPLAY as :0 and i give command xclock it doesnt show any errors but i am not able to see clock in my machine.But otherwise am getting error "Error: cannot open display: localhost:0"
– eucap
Sep 12 '12 at 5:00
Also if i set the DISPLAY as my export DISPLAY=174.16.36.177:0 (system ip )and i try to run firefox it doesnt show any errors but output is not getting displayed.
– eucap
Sep 12 '12 at 5:08
Also if i set the DISPLAY as my export DISPLAY=174.16.36.177:0 (system ip )and i try to run firefox it doesnt show any errors but output is not getting displayed.
– eucap
Sep 12 '12 at 5:08
Don't set
DISPLAY
. Never set DISPLAY
over SSH (including PuTTY): if the SSH forwarding is working, the environment variable will be set correctly. If the variable isn't set, you aren't getting X forwarding. Check that you've enabled forwarding in the PuTTY client, that you have DISPLAY
set on the client side (with Xming, typically to localhost:0
) and that the server allows X11 forwarding (X11Forwarding yes
in sshd_config
).– Gilles
Sep 12 '12 at 7:22
Don't set
DISPLAY
. Never set DISPLAY
over SSH (including PuTTY): if the SSH forwarding is working, the environment variable will be set correctly. If the variable isn't set, you aren't getting X forwarding. Check that you've enabled forwarding in the PuTTY client, that you have DISPLAY
set on the client side (with Xming, typically to localhost:0
) and that the server allows X11 forwarding (X11Forwarding yes
in sshd_config
).– Gilles
Sep 12 '12 at 7:22
I performed steps what you have told.Didnt set the Display in putty .Enabled forwarding . And i logged in to the server and set the DISPLAY to localhost:0 .But no errors,but am not able to see the windows of xclock .As i said on one server it worked well.Also can i know where to look for ssh_config file ?
– eucap
Sep 12 '12 at 8:11
I performed steps what you have told.Didnt set the Display in putty .Enabled forwarding . And i logged in to the server and set the DISPLAY to localhost:0 .But no errors,but am not able to see the windows of xclock .As i said on one server it worked well.Also can i know where to look for ssh_config file ?
– eucap
Sep 12 '12 at 8:11
@eucap Again: Do not set
DISPLAY
manually. Make sure you've set the X display location in PuTTY, and that the server accepts X11 forwarding.– Gilles
Sep 12 '12 at 8:14
@eucap Again: Do not set
DISPLAY
manually. Make sure you've set the X display location in PuTTY, and that the server accepts X11 forwarding.– Gilles
Sep 12 '12 at 8:14
|
show 3 more comments
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%2f47807%2fxming-does-not-show-an-xclock-window%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