How to display xclock on another computer?2019 Community Moderator ElectionHow do I screencap another Xorg display?Splitting display among computersIs it possible to display a graphical application on another host/userXorg: Connect remote displayGet correct DISPLAY id per userWhat are Display and Screen with regard to :0.0?How to turn display off and ignore mouse movement?x11-forwarding a window to another computerXvfb: export display permanentlyRun X program in another user's display
How to create a hard link to an inode (ext4)?
Is there an elementary proof that there are infinitely many primes that are *not* completely split in an abelian extension?
Does "variables should live in the smallest scope as possible" include the case "variables should not exist if possible"?
Do any of the books contain (magic) items for animal companions?
Fourth person (in Slavey language)
Space in array system equations
Why doesn't this Google Translate ad use the word "Translation" instead of "Translate"?
Algorithm to convert a fixed-length string to the smallest possible collision-free representation?
Leftbar without indentation
Is "history" a male-biased word ("his+story")?
Are the terms "stab" and "staccato" synonyms?
What Happens when Passenger Refuses to Fly Boeing 737 Max?
Making a sword in the stone, in a medieval world without magic
Do items de-spawn in Diablo?
Could you please stop shuffling the deck and play already?
Set and print content of environment variable in cmd.exe subshell?
They call me Inspector Morse
infinitive telling the purpose
How can I ensure my trip to the UK will not have to be cancelled because of Brexit?
Is it necessary to separate DC power cables and data cables?
Accountant/ lawyer will not return my call
Why don't MCU characters ever seem to have language issues?
How strictly should I take "Candidates must be local"?
How do I express some one as a black person?
How to display xclock on another computer?
2019 Community Moderator ElectionHow do I screencap another Xorg display?Splitting display among computersIs it possible to display a graphical application on another host/userXorg: Connect remote displayGet correct DISPLAY id per userWhat are Display and Screen with regard to :0.0?How to turn display off and ignore mouse movement?x11-forwarding a window to another computerXvfb: export display permanentlyRun X program in another user's display
I want to display xclock
on another computer.
On my computer (111
) I am able to ping
the other computer (222
) inside my home network:
$ ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 44:55:66:77:88:99
inet addr:192.168.0.111 Bcast:192.168.0.255 Mask:255.255.255.0
$ ping 192.168.0.222
The router is a D-Link DIR-655 Wireless N Gigabit Router.
$ xclock -display 192.168.0.111:0
Displays the xclock
on my computer (111
) as expected. On the other computer (222
):
$ xhost +
But then back on my computer (111
) it also displays on my computer when changed to:
$ xclock -display 192.168.0.222:0
To attempt to verify the use of the -display
switch:
$ xclock -display 192.168.0.111:0.1
Error: Can't open display: 192.168.0.111:0.1
$ ping 192.168.0.333
ping: unknown host 192.168.0.333
$ xclock -display 192.168.0.333:0
I would expect it to fail but it also displays on my computer (111
) but with a bit of a delay. These results tells me that the display
argument is getting to xclock
.
$ uname -a
Linux mycomputer 3.2.0-27-generic #43-Ubuntu SMP Fri Jul 6 14:46:35 UTC 2012 i686 i686 i386 GNU/Linux
I am using LXDE rather than GNOME or KDE.
I am only attempting to get xclock
to display and am not interested in addressing security issues in this question.
x11 remote lxde display
add a comment |
I want to display xclock
on another computer.
On my computer (111
) I am able to ping
the other computer (222
) inside my home network:
$ ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 44:55:66:77:88:99
inet addr:192.168.0.111 Bcast:192.168.0.255 Mask:255.255.255.0
$ ping 192.168.0.222
The router is a D-Link DIR-655 Wireless N Gigabit Router.
$ xclock -display 192.168.0.111:0
Displays the xclock
on my computer (111
) as expected. On the other computer (222
):
$ xhost +
But then back on my computer (111
) it also displays on my computer when changed to:
$ xclock -display 192.168.0.222:0
To attempt to verify the use of the -display
switch:
$ xclock -display 192.168.0.111:0.1
Error: Can't open display: 192.168.0.111:0.1
$ ping 192.168.0.333
ping: unknown host 192.168.0.333
$ xclock -display 192.168.0.333:0
I would expect it to fail but it also displays on my computer (111
) but with a bit of a delay. These results tells me that the display
argument is getting to xclock
.
$ uname -a
Linux mycomputer 3.2.0-27-generic #43-Ubuntu SMP Fri Jul 6 14:46:35 UTC 2012 i686 i686 i386 GNU/Linux
I am using LXDE rather than GNOME or KDE.
I am only attempting to get xclock
to display and am not interested in addressing security issues in this question.
x11 remote lxde display
add a comment |
I want to display xclock
on another computer.
On my computer (111
) I am able to ping
the other computer (222
) inside my home network:
$ ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 44:55:66:77:88:99
inet addr:192.168.0.111 Bcast:192.168.0.255 Mask:255.255.255.0
$ ping 192.168.0.222
The router is a D-Link DIR-655 Wireless N Gigabit Router.
$ xclock -display 192.168.0.111:0
Displays the xclock
on my computer (111
) as expected. On the other computer (222
):
$ xhost +
But then back on my computer (111
) it also displays on my computer when changed to:
$ xclock -display 192.168.0.222:0
To attempt to verify the use of the -display
switch:
$ xclock -display 192.168.0.111:0.1
Error: Can't open display: 192.168.0.111:0.1
$ ping 192.168.0.333
ping: unknown host 192.168.0.333
$ xclock -display 192.168.0.333:0
I would expect it to fail but it also displays on my computer (111
) but with a bit of a delay. These results tells me that the display
argument is getting to xclock
.
$ uname -a
Linux mycomputer 3.2.0-27-generic #43-Ubuntu SMP Fri Jul 6 14:46:35 UTC 2012 i686 i686 i386 GNU/Linux
I am using LXDE rather than GNOME or KDE.
I am only attempting to get xclock
to display and am not interested in addressing security issues in this question.
x11 remote lxde display
I want to display xclock
on another computer.
On my computer (111
) I am able to ping
the other computer (222
) inside my home network:
$ ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 44:55:66:77:88:99
inet addr:192.168.0.111 Bcast:192.168.0.255 Mask:255.255.255.0
$ ping 192.168.0.222
The router is a D-Link DIR-655 Wireless N Gigabit Router.
$ xclock -display 192.168.0.111:0
Displays the xclock
on my computer (111
) as expected. On the other computer (222
):
$ xhost +
But then back on my computer (111
) it also displays on my computer when changed to:
$ xclock -display 192.168.0.222:0
To attempt to verify the use of the -display
switch:
$ xclock -display 192.168.0.111:0.1
Error: Can't open display: 192.168.0.111:0.1
$ ping 192.168.0.333
ping: unknown host 192.168.0.333
$ xclock -display 192.168.0.333:0
I would expect it to fail but it also displays on my computer (111
) but with a bit of a delay. These results tells me that the display
argument is getting to xclock
.
$ uname -a
Linux mycomputer 3.2.0-27-generic #43-Ubuntu SMP Fri Jul 6 14:46:35 UTC 2012 i686 i686 i386 GNU/Linux
I am using LXDE rather than GNOME or KDE.
I am only attempting to get xclock
to display and am not interested in addressing security issues in this question.
x11 remote lxde display
x11 remote lxde display
edited Aug 9 '12 at 20:51
CW Holeman II
asked Aug 2 '12 at 21:04
CW Holeman IICW Holeman II
1,69032240
1,69032240
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
Two things to check for: Port 6000 needs to be open on the 222 machine (configure or disable the firewall), and the X server itself needs to be listening on that port. This is often disabled in modern distros. Check if it's listening with
# netstat -nltp | grep 6000
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 10818/Xorg
tcp6 0 0 :::6000 :::* LISTEN 10818/Xorg
If not, you can enable it for gdm in /etc/gdm/custom.conf
[security]
DisallowTCP=false
Logout/restart gdm on the 222 machine and log in again. You should then see Xorg listening on port 6000.
1
'/etc/lightdm/lightdm.conf and add xserver-allow-tcp=true ' for LXDE from askubuntu.com/questions/72812/how-to-disable-nolisten
– CW Holeman II
Aug 9 '12 at 20:53
add a comment |
On my computer (111
):
ssh -X 192.168.0.222
followed simply by:
xclock
will run xclock
on the other computer (222
) and display on my computer (111
).
Note: For this to work X11Forwarding
should be enabled in /etc/ssh/sshd_config
at computer (222
)
add a comment |
And you can do simplest :)
$ ssh -X 192.168.0.222 "xclock"
add a comment |
Here is the updated answer. It worked for me on fresh install of Ubuntu 18.04.02.
I installed ssh server to make the system accessible on ssh.
Nothing is blocked by default, to verify it. So nothing to do.iptables -L
I opened the file /etc/gdm/custom.conf
and added
[security]
DisallowTCP=false
I uncomment the following in /etc/ssh/sshd_config
AllowTcpForwarding yes
X11Forwarding yes
X11DisplayOffset 10
I restarted the machine and run the command xhost +
Now I went to the second computer and run the command, make sure xclock is installed and assuming that output of command echo $DISPLAY
is :1
xclock -display IP_Address:1
You will see the xclock on the ubuntu computer.
netstat -antlp | grep 6001
was showing Xorg listening.
add a comment |
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%2f44611%2fhow-to-display-xclock-on-another-computer%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
Two things to check for: Port 6000 needs to be open on the 222 machine (configure or disable the firewall), and the X server itself needs to be listening on that port. This is often disabled in modern distros. Check if it's listening with
# netstat -nltp | grep 6000
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 10818/Xorg
tcp6 0 0 :::6000 :::* LISTEN 10818/Xorg
If not, you can enable it for gdm in /etc/gdm/custom.conf
[security]
DisallowTCP=false
Logout/restart gdm on the 222 machine and log in again. You should then see Xorg listening on port 6000.
1
'/etc/lightdm/lightdm.conf and add xserver-allow-tcp=true ' for LXDE from askubuntu.com/questions/72812/how-to-disable-nolisten
– CW Holeman II
Aug 9 '12 at 20:53
add a comment |
Two things to check for: Port 6000 needs to be open on the 222 machine (configure or disable the firewall), and the X server itself needs to be listening on that port. This is often disabled in modern distros. Check if it's listening with
# netstat -nltp | grep 6000
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 10818/Xorg
tcp6 0 0 :::6000 :::* LISTEN 10818/Xorg
If not, you can enable it for gdm in /etc/gdm/custom.conf
[security]
DisallowTCP=false
Logout/restart gdm on the 222 machine and log in again. You should then see Xorg listening on port 6000.
1
'/etc/lightdm/lightdm.conf and add xserver-allow-tcp=true ' for LXDE from askubuntu.com/questions/72812/how-to-disable-nolisten
– CW Holeman II
Aug 9 '12 at 20:53
add a comment |
Two things to check for: Port 6000 needs to be open on the 222 machine (configure or disable the firewall), and the X server itself needs to be listening on that port. This is often disabled in modern distros. Check if it's listening with
# netstat -nltp | grep 6000
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 10818/Xorg
tcp6 0 0 :::6000 :::* LISTEN 10818/Xorg
If not, you can enable it for gdm in /etc/gdm/custom.conf
[security]
DisallowTCP=false
Logout/restart gdm on the 222 machine and log in again. You should then see Xorg listening on port 6000.
Two things to check for: Port 6000 needs to be open on the 222 machine (configure or disable the firewall), and the X server itself needs to be listening on that port. This is often disabled in modern distros. Check if it's listening with
# netstat -nltp | grep 6000
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 10818/Xorg
tcp6 0 0 :::6000 :::* LISTEN 10818/Xorg
If not, you can enable it for gdm in /etc/gdm/custom.conf
[security]
DisallowTCP=false
Logout/restart gdm on the 222 machine and log in again. You should then see Xorg listening on port 6000.
edited Aug 2 '12 at 22:51
answered Aug 2 '12 at 21:46
PeterPeter
512
512
1
'/etc/lightdm/lightdm.conf and add xserver-allow-tcp=true ' for LXDE from askubuntu.com/questions/72812/how-to-disable-nolisten
– CW Holeman II
Aug 9 '12 at 20:53
add a comment |
1
'/etc/lightdm/lightdm.conf and add xserver-allow-tcp=true ' for LXDE from askubuntu.com/questions/72812/how-to-disable-nolisten
– CW Holeman II
Aug 9 '12 at 20:53
1
1
'/etc/lightdm/lightdm.conf and add xserver-allow-tcp=true ' for LXDE from askubuntu.com/questions/72812/how-to-disable-nolisten
– CW Holeman II
Aug 9 '12 at 20:53
'/etc/lightdm/lightdm.conf and add xserver-allow-tcp=true ' for LXDE from askubuntu.com/questions/72812/how-to-disable-nolisten
– CW Holeman II
Aug 9 '12 at 20:53
add a comment |
On my computer (111
):
ssh -X 192.168.0.222
followed simply by:
xclock
will run xclock
on the other computer (222
) and display on my computer (111
).
Note: For this to work X11Forwarding
should be enabled in /etc/ssh/sshd_config
at computer (222
)
add a comment |
On my computer (111
):
ssh -X 192.168.0.222
followed simply by:
xclock
will run xclock
on the other computer (222
) and display on my computer (111
).
Note: For this to work X11Forwarding
should be enabled in /etc/ssh/sshd_config
at computer (222
)
add a comment |
On my computer (111
):
ssh -X 192.168.0.222
followed simply by:
xclock
will run xclock
on the other computer (222
) and display on my computer (111
).
Note: For this to work X11Forwarding
should be enabled in /etc/ssh/sshd_config
at computer (222
)
On my computer (111
):
ssh -X 192.168.0.222
followed simply by:
xclock
will run xclock
on the other computer (222
) and display on my computer (111
).
Note: For this to work X11Forwarding
should be enabled in /etc/ssh/sshd_config
at computer (222
)
edited Dec 17 '12 at 13:58
Fholst
234
234
answered Dec 13 '12 at 20:07
CW Holeman IICW Holeman II
1,69032240
1,69032240
add a comment |
add a comment |
And you can do simplest :)
$ ssh -X 192.168.0.222 "xclock"
add a comment |
And you can do simplest :)
$ ssh -X 192.168.0.222 "xclock"
add a comment |
And you can do simplest :)
$ ssh -X 192.168.0.222 "xclock"
And you can do simplest :)
$ ssh -X 192.168.0.222 "xclock"
answered Jun 27 '17 at 21:53
Grégory RocheGrégory Roche
112
112
add a comment |
add a comment |
Here is the updated answer. It worked for me on fresh install of Ubuntu 18.04.02.
I installed ssh server to make the system accessible on ssh.
Nothing is blocked by default, to verify it. So nothing to do.iptables -L
I opened the file /etc/gdm/custom.conf
and added
[security]
DisallowTCP=false
I uncomment the following in /etc/ssh/sshd_config
AllowTcpForwarding yes
X11Forwarding yes
X11DisplayOffset 10
I restarted the machine and run the command xhost +
Now I went to the second computer and run the command, make sure xclock is installed and assuming that output of command echo $DISPLAY
is :1
xclock -display IP_Address:1
You will see the xclock on the ubuntu computer.
netstat -antlp | grep 6001
was showing Xorg listening.
add a comment |
Here is the updated answer. It worked for me on fresh install of Ubuntu 18.04.02.
I installed ssh server to make the system accessible on ssh.
Nothing is blocked by default, to verify it. So nothing to do.iptables -L
I opened the file /etc/gdm/custom.conf
and added
[security]
DisallowTCP=false
I uncomment the following in /etc/ssh/sshd_config
AllowTcpForwarding yes
X11Forwarding yes
X11DisplayOffset 10
I restarted the machine and run the command xhost +
Now I went to the second computer and run the command, make sure xclock is installed and assuming that output of command echo $DISPLAY
is :1
xclock -display IP_Address:1
You will see the xclock on the ubuntu computer.
netstat -antlp | grep 6001
was showing Xorg listening.
add a comment |
Here is the updated answer. It worked for me on fresh install of Ubuntu 18.04.02.
I installed ssh server to make the system accessible on ssh.
Nothing is blocked by default, to verify it. So nothing to do.iptables -L
I opened the file /etc/gdm/custom.conf
and added
[security]
DisallowTCP=false
I uncomment the following in /etc/ssh/sshd_config
AllowTcpForwarding yes
X11Forwarding yes
X11DisplayOffset 10
I restarted the machine and run the command xhost +
Now I went to the second computer and run the command, make sure xclock is installed and assuming that output of command echo $DISPLAY
is :1
xclock -display IP_Address:1
You will see the xclock on the ubuntu computer.
netstat -antlp | grep 6001
was showing Xorg listening.
Here is the updated answer. It worked for me on fresh install of Ubuntu 18.04.02.
I installed ssh server to make the system accessible on ssh.
Nothing is blocked by default, to verify it. So nothing to do.iptables -L
I opened the file /etc/gdm/custom.conf
and added
[security]
DisallowTCP=false
I uncomment the following in /etc/ssh/sshd_config
AllowTcpForwarding yes
X11Forwarding yes
X11DisplayOffset 10
I restarted the machine and run the command xhost +
Now I went to the second computer and run the command, make sure xclock is installed and assuming that output of command echo $DISPLAY
is :1
xclock -display IP_Address:1
You will see the xclock on the ubuntu computer.
netstat -antlp | grep 6001
was showing Xorg listening.
answered 3 hours ago
Mian Asbat AhmadMian Asbat Ahmad
1044
1044
add a comment |
add a comment |
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%2f44611%2fhow-to-display-xclock-on-another-computer%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
-display, lxde, remote, x11