Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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?
First, permitting root login over a network connection is a VERY BAD IDEA, and you should never need to do that. And you don't need to edit the SSH config file for X windows, unless its for the X forwarding parameter.
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"
...and it'll pop up. Or, the simpler way to do it is to edit the /etc/sysconfig/displaymanager file, and look for the "DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN=" line, and change it to YES. You'll have to reboot your Fedora box, and when you do, you'll see the "-NOLISTEN" parameter will be gone from your X server. From there, run your "xhost <aixbox>", or "xhost +", and you should be working.
..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.
...and it'll pop up. Or, the simpler way to do it is to edit the /etc/sysconfig/displaymanager file, and look for the "DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN=" line, and change it to YES. You'll have to reboot your Fedora box, and when you do, you'll see the "-NOLISTEN" parameter will be gone from your X server. From there, run your "xhost <aixbox>", or "xhost +", and you should be working.
thanks for reply but I can't find "/etc/sysconfig/displaymanager" maybe becouse its Fedora 17 so can this file has another name??
..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.
txs again but I don't know what to do with this -nolisten , how shood I remove it?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.