I just installed F27 on my wife's new laptop last night (HP Pavilion 8th gen Core i5 w/ Intel video) and the audio is not working.
I was going to check/tweak the settings via remote X from my work computer which I've done several times in F26, however when I try to run an app it opens on her screen and not in my Xming session on my screen.
I usually use "ssh -XC <user>@<host>"
Anyone know of any changes in F27 that would cause this?
Thanks, Richard
On Wed, Nov 15, 2017 at 11:34 AM, Tom Horsley horsley1953@gmail.com wrote:
On Wed, 15 Nov 2017 10:49:55 -0600 Richard Shaw wrote:
Anyone know of any changes in F27 that would cause this?
I seem to recall reading that X forwarding doesn't work with wayland. Could that be relevant here?
Not sure... I did try forwarding from my home desktop to my work laptop and it was broken, can't find the display so that looks like my problem. I'm not sure what changed. I'm using Xming which hasn't had a new release since 2007 and PuTTY which is usually pretty reliable and looking at the log there everything looked fine.
On Wed, Nov 15, 2017 at 11:36 AM, Rick Stevens ricks@alldigital.com wrote:
When you log into your wife's computer, do a simple "echo $DISPLAY". You should get something like "localhost:10.0" or something back. If you get nothing, then you should check /etc/ssh/sshd_config (or the files in /etc/ssh/ssh_config.d) on your wife's computer and verify that you have "X11Forwarding yes" set. If not (it's disabled by default), set it and restart sshd on your wife's computer.
Going to try that for my desktop now at this point. I was accidentally changing the settings in ssh_config instead of sshd_config but once I took I peak it seems that X11Forwarding is defaulted yes on a fresh F27 install.
Thanks, Richard
On 11/15/2017 12:16 PM, Richard Shaw wrote:
On Wed, Nov 15, 2017 at 11:34 AM, Tom Horsley <horsley1953@gmail.com mailto:horsley1953@gmail.com> wrote:
On Wed, 15 Nov 2017 10:49:55 -0600 Richard Shaw wrote: > Anyone know of any changes in F27 that would cause this? I seem to recall reading that X forwarding doesn't work with wayland. Could that be relevant here?Not sure... I did try forwarding from my home desktop to my work laptop and it was broken, can't find the display so that looks like my problem. I'm not sure what changed. I'm using Xming which hasn't had a new release since 2007 and PuTTY which is usually pretty reliable and looking at the log there everything looked fine.
On Wed, Nov 15, 2017 at 11:36 AM, Rick Stevens <ricks@alldigital.com mailto:ricks@alldigital.com> wrote:
When you log into your wife's computer, do a simple "echo $DISPLAY". You should get something like "localhost:10.0" or something back. If you get nothing, then you should check /etc/ssh/sshd_config (or the files in /etc/ssh/ssh_config.d) on your wife's computer and verify that you have "X11Forwarding yes" set. If not (it's disabled by default), set it and restart sshd on your wife's computer.Going to try that for my desktop now at this point. I was accidentally changing the settings in ssh_config instead of sshd_config but once I took I peak it seems that X11Forwarding is defaulted yes on a fresh F27 install.
Yes, I just installed F27 on a VM and see that X11Forwarding is enabled in /etc/ssh/sshd_config and ForwardX11Trusted is enabled in /etc/ssh/ssh_config.d/05-redhat.conf as well, so I guess that isn't it.
As I mentioned before, do "echo $DISPLAY" after logging in and verify the variable is set (something like "localhost:10.0") to see if it's set. Another poster said that perhaps X11 forwarding doesn't work under Wayland. I don't use Wayland myself so I can't verify it. Accessing my VM from my desktop (prophead) does work:
[rick@prophead ~]$ ssh rick@192.168.122.107 rick@192.168.122.107's password: Last login: Wed Nov 15 13:08:37 2017 [rick@fedora27-virt ~]$ echo $DISPLAY
[rick@fedora27-virt ~]$ exit logout Connection to 192.168.122.107 closed. [rick@prophead ~]$ ssh -X rick@192.168.122.107 rick@192.168.122.107's password: Last login: Wed Nov 15 13:16:26 2017 from 192.168.122.1 /usr/bin/xauth: file /home/rick/.Xauthority does not exist [rick@fedora27-virt ~]$ echo $DISPLAY localhost:10.0
At that point, I could run "galculator" and the display showed up locally on prophead. Note the F27 VM is NOT running Wayland:
[rick@fedora27-virt ~]$ loginctl SESSION UID USER SEAT TTY 2 1000 rick seat0 6 1000 rick
2 sessions listed. [rick@fedora27-virt ~]$ loginctl show-session 2 ... Type=x11 <<<<<<<---------- Using X11, not Wayland ...
I'm sure others will have more advice and are probably far smarter than I. ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com - - AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 - - - - Political Correctness: The insane doctrine that postulates that it - - is entirely possible to pick up a turd by the clean end. - ----------------------------------------------------------------------
On 15.11.2017 18:34, Tom Horsley wrote:
I seem to recall reading that X forwarding doesn't work with wayland. Could that be relevant here?
I'm using wayland since fc26 (and still on fc27) and have no issues using 'ssh -X'. AFAIK there is a compatibility layer called xwayland to keep X11 applications running.
best regards Ulf
On 11/15/2017 08:49 AM, Richard Shaw wrote:
I just installed F27 on my wife's new laptop last night (HP Pavilion 8th gen Core i5 w/ Intel video) and the audio is not working.
I was going to check/tweak the settings via remote X from my work computer which I've done several times in F26, however when I try to run an app it opens on her screen and not in my Xming session on my screen.
I usually use "ssh -XC <user>@<host>"
Anyone know of any changes in F27 that would cause this?
When you log into your wife's computer, do a simple "echo $DISPLAY". You should get something like "localhost:10.0" or something back. If you get nothing, then you should check /etc/ssh/sshd_config (or the files in /etc/ssh/ssh_config.d) on your wife's computer and verify that you have "X11Forwarding yes" set. If not (it's disabled by default), set it and restart sshd on your wife's computer.
There's also "ForwardX11Trusted" for use with "ssh -Y" and I believe that's enabled by default on F27 (haven't installed F27 yet). ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com - - AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 - - - - Reality: A crutch for those who can't handle science fiction - ----------------------------------------------------------------------