LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   X11 not working (https://www.linuxquestions.org/questions/linux-newbie-8/x11-not-working-4175523818/)

Telleous 10-30-2014 02:42 PM

X11 not working
 
Hi all,

So I am in quite a pickle.

I am pretty new to Linux (Windows guy here) and have never used RHEL before today but the boss man has tasked me with installing oracle 11gR2 on a RHEL 6.5 AWS EC2 instance.

So the problem that I have spent literally all day working on is that I have got the RHEL instance setup, the Oracle install files download and extracted to the RHEL instance and now it wants me to use X11 fowarding to install with the GUI.

I set the X11forwarding to yes within the /etc/ssh/ssh_config and thought that it would be a piece of cake from here.

Side note: I am using putty and Xming to try to accomplish this.

So I have read that other than turning on the x11 within putty there really isn't any other configurations that I need to do in order to establish the x11 forwarding. So I go to do the install and it gives me a error that it could not auto verify the DISPLAY settings using xdpyinfo.

Okay so now I start to look up how to create the link between xming and the RHEL instance (due to the fact that it is clearly not as easy to contact as what they said in earlier instructions) and I see that I might need to run export DISPLAY=ip address:0.0 to get it to work. I tray that and still get the error message that it can not display the screen for xdpyinfo: unable to open display.. Everything that I try is coming up with the error.

(Losing my mind now)

Any help that can be provided would be greatly appreciated.

Let me know if anyone needs more details.

linosaurusroot 10-30-2014 02:50 PM

I assume you've logged in with putty as a non-root user. Can you display a simple X program such as xclock? If not you're stuck before you've done anything hard.

If you've switched to root ("sudo su -" or similar) for the install you'll want to use xauth and set the DISPLAY so as to get the root session talking X over your SSH connection.

If there's a text (non-gui) install process that may be simpler.

linosaurusroot 10-30-2014 02:52 PM

Quote:

I set the X11forwarding to yes within the /etc/ssh/ssh_config
And restarted sshd ?


All times are GMT -5. The time now is 06:43 PM.