export display don't work AIX ->fedora17
Hello! need some help
try to export display från server (aix) to my fedora desktop. steps done: ON HOST ssh -x aixserver DISABLED IPTABLES AND SELINUX vi /etc/ssh/sshd_config PermitRootLogin yes xhost+ aixserver xhost INET:aixserver on server: export display 10.12.14.15:0.1 (OK) ping 10.12.14.15 (OK) echo @DISPLAY 10.12.14.15:0.1 xclock Error:Can't open Display........ (as well as the TSM config don't start) what more to do? |
Quote:
Chances are, your local (Fedora) X server isn't allowing incoming connections. In a terminal window, do a "ps -ef | grep -i nolisten", and see what comes up. You'll probably see your X server started with that parameter, which means it won't allow a remote X system to open a window, no matter what else you do. If you enable X forwarding in the sshd_config file, you should be able to use the fowarding mechanism to run it like: Code:
ssh -X AIXBOX "X application to run" |
]# ps -ef |grep -i nolisten
root 1185 1177 0 09:58 tty1 00:03:06 /usr/bin/Xorg :0 -background none -logverbose 7 -auth /var/run/gdm/auth-for-gdm-aTnYZc/database -seat seat0 -nolisten tcp vt1 root 4649 3776 0 16:13 pts/4 00:00:00 grep --color=auto -i nolisten # xhost access control disabled, clients can connect from any host INET:aixserver SI:localuser:john12 |
ssh -X
Code:
ssh -X AIXBOX "X application to run" enabling root is temporary |
/etc/sysconfig/displaymanager is not there and I can't find it
result on server is the same > echo $DISPLAY fedorabox:0.1 xclock Error: Can't open display:fedorabox:0.1 :( |
cat sshd_conf on aixbox
AllowTcpForwarding yes #GatewayPorts no X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost yes cat ssh_conf fedorabox # Host * # ForwardAgent no ForwardX11 yes ForwardX11Trusted yes GSSAPIAuthentication yes |
..and until you remove the "-nolisten" from your X server on your Fedora system, NOTHING you try will allow incoming X sessions. That file is there in openSUSE, but you can also try running "gdmsetup", and allowing remote connections there. Again, you will have to reboot for things to take effect.
I'm no expert in Fedora, but until the "-nolisten" flag is gone from your X server, it WILL NOT WORK. Check the files in /etc/X11, and also look for a parameter called "DisallowTCP", as another course of action. Normally, the displaymanager file contains that flag, and other scripts will then look at it, and set variables accordingly. |
Quote:
|
Quote:
|
gdmsetup
bash: gdmsetup: command not found... Similar command is: 'dmsetup' I work on Fedora 3.4.5-2.fc17.x86_64, I tryed dmsetup, but I can't find anythig there about nollist or X it is about devices and file system only. ps -ef | grep X root 1185 1177 0 Jul23 tty1 00:04:56 /usr/bin/Xorg :0 -background none -logverbose 7 -auth /var/run/gdm/auth-for-gdm-aTnYZc/database -seat seat0 -nolisten tcp vt1 |
/etc/X11/xinit/xserverrc shood have the entry and disable nolisten but this file dont exist on my "defalut" system
]# ls /etc/X11/xinit/ Xclients Xclients.d xinitrc xinitrc-common xinitrc.d xinput.d xinputrc Xsession :( |
I tryed
# systemctl status sshd.service enable openssh server: # systemctl enable sshd.service ln -s '/usr/lib/systemd/system/sshd.service' '/etc/systemd/system/multi-user.target.wants/sshd.service' and finally run: # systemctl start sshd.service and log in as root (the su - somehow diable xforwarding) and its works fine of cource I have to disable root login whene installation nad configuration wizard of TSM 6.3 is done. |
All times are GMT -5. The time now is 05:17 AM. |