Jump to content

Hello,

I wanted to find out if anyone here knew anything about X11 Forwarding. I have been trying to get it working now for about a week and every time it gives me the same error (picture attached).

 

If anyone knows anything thanks in advance for any help.

 

Thanks,

wamred

Screenshot from 2021-02-04 07-41-17.png

2.png

Link to comment
https://linustechtips.com/topic/1302249-x11-forwarding/
Share on other sites

Link to post
Share on other sites

5 minutes ago, wamred said:

I wanted to find out if anyone here knew anything about X11 Forwarding. I have been trying to get it working now for about a week and every time it gives me the same error (picture attached).

 

If anyone knows anything thanks in advance for any help.

Your pictures don't tell us what command you're using to connect to the server; you need to tell the client that you want to use X11-forwarding. Your pictures only show that you've enabled the option on the server to allow clients to request X11-forwarding; it doesn't mean that all clients will automatically use it.

Hand, n. A singular instrument worn at the end of the human arm and commonly thrust into somebody’s pocket.

Link to comment
https://linustechtips.com/topic/1302249-x11-forwarding/#findComment-14454751
Share on other sites

Link to post
Share on other sites

As said above.

 

Use "ssh -X <host>" to log in with X11 forwarding, or configure an alias in /etc/ssh/config to make it permanent.

 

[Edit] only use /etch/ssh/config if you want to do it system wide, otherwise set it in ~/.ssh/config to make it specific to your user.

Crystal: CPU: i7 7700K | Motherboard: Asus ROG Strix Z270F | RAM: GSkill 16 GB@3200MHz | GPU: Nvidia GTX 1080 Ti FE | Case: Corsair Crystal 570X (black) | PSU: EVGA Supernova G2 1000W | Monitor: Asus VG248QE 24"

Laptop: Dell XPS 13 9370 | CPU: i5 10510U | RAM: 16 GB

Server: CPU: i5 4690k | RAM: 16 GB | Case: Corsair Graphite 760T White | Storage: 19 TB

Link to comment
https://linustechtips.com/topic/1302249-x11-forwarding/#findComment-14454811
Share on other sites

Link to post
Share on other sites

46 minutes ago, WereCatf said:

I'd rather recommend ~/.ssh/config for user's own settings, instead of system-wide.

Oh yeah I agree, oops. you're absolutely correct. Autopilot typed /etc.

Crystal: CPU: i7 7700K | Motherboard: Asus ROG Strix Z270F | RAM: GSkill 16 GB@3200MHz | GPU: Nvidia GTX 1080 Ti FE | Case: Corsair Crystal 570X (black) | PSU: EVGA Supernova G2 1000W | Monitor: Asus VG248QE 24"

Laptop: Dell XPS 13 9370 | CPU: i5 10510U | RAM: 16 GB

Server: CPU: i5 4690k | RAM: 16 GB | Case: Corsair Graphite 760T White | Storage: 19 TB

Link to comment
https://linustechtips.com/topic/1302249-x11-forwarding/#findComment-14454971
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×