ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

ssh into intel nuc and run node that require a display

asked 2019-04-12 18:13:35 -0600

depps gravatar image

I am using an intel nuc as the brain for my robot. I want to ssh into the nuc and run nodes that require a display but I want the display to come up on the computer i used t ssh into the nuc

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2019-04-12 23:16:45 -0600

agurman gravatar image

This is known as X11 Fowarding and you can setup your ssh to allow X11 forwarding. You will first want to confirm X11 forwarding is enabled on both the client and host computer:

For the client edit /etc/ssh/sshd_config:

X11Fowarding yes
X11UseLocalhost no

For the host edit /etc/ssh/ssh_config:

FowardX11 yes
FowardX11Trusted yes

After this you can connect from the client to the host with the following ssh flag

ssh -X -p SOME_PORT user@server

The -X flag does the magic here, you can test this by running a sample X application on the host computer such as xclock and it should run on your local system

edit flag offensive delete link more
0

answered 2019-04-12 22:59:11 -0600

Hamid Didari gravatar image

try "ssh -X" Instead "ssh"

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-04-12 18:13:35 -0600

Seen: 793 times

Last updated: Apr 12 '19