Trouble starting graphical programs on remote ssh x session (OpenSSH) [Arch Linux]
1 Attachment(s)
The problem is that whenever I try to open a graphical program on the said session, I get these errors and the program opens on the main machine
Code:
Xlib: extension "XInputExtension" missing on display "localhost:10.0". https://wiki.archlinux.org/index.php...X11_forwarding |
Please post your /etc/ssh/ssh.conf and /etc/ssh/sshd.conf files here.
|
And please confirm you followed this step, and what happened:
Quote:
|
Quote:
This is my ssh_config https://pastebin.com/bpNaPyQr This is my sshd_config https://pastebin.com/Y79LFBRq |
Quote:
This is the output of the command. Code:
access control disabled, clients can connect from any host |
Hmm... your ssh.conf and sshd.conf are not set up to use any ports. Port 22 is commented out.
Have you EVER been able to ssh on this machine to any other remote machine before? Also, being Arch uses systemD and I'm not familiar with how it handles ssh, you may have to be patient and wait for some further advice from others. Luck with this! ~Eric |
Quote:
You posted you are running Arch but is that the server or client? Post each operating system. I did find one a few thread with similar problem but no real solutions that I have found so far... |
> Since Port 22 is the default being commented out does not doing anything.
Interesting. Are you absolutely sure of that statement? I don't run ssh on port 22, so it's not even listed in my ssh.conf. I do have a port number that is added and NOT commented out. That is the port I ssh on. In my experience, the only time you comment out the port 22 line is when it's no longer being used. If I'm in error, please educate me. Thanks. ~Eric |
FYI all: The commented out entries in the ssh* config files are documenting the defaults.
I can’t otherwise help with the problem, as the only server I ssh to doesn’t have X installed at all. |
> FYI all: The commented out entries in the ssh* config files are documenting the defaults.
OK, then. Thanks @scasey and @michaelk. Must have been one of those over 50 year old neurons in my brain not firing. I just don't remember learning it that way. Good to know, though. Learn something new every day. :) |
Quote:
Code:
# The strategy used for options in the default sshd_config shipped with On my system, those are located in /etc/ssh/ and have the names I've used here. Yes, the learning (hopefully) continues...my 70+ brain cells continue to absorb stuff ;) (Not the number of cells — their age! ) |
Quote:
Indeed yes! Hopefully, they will be absorbing stuff for many more years to come. :) STAY HEALTHY, brother! ~Eric |
For those who asked. Both the host and the client are on Arch, and yes, I'm able to use a remote shell, the only trouble I get is with graphical programs
|
I just noticed that I posted in #11 exactly what michaelk posted in #7. Don't know why I didn't see that before.
I apologize for the redundancy. I guess I'm also not understanding the issue. OP, what do you mean by "the program opens on the main machine?" Which machine is the "main machine?" |
Quote:
|
All times are GMT -5. The time now is 09:26 AM. |