General :: X11 Forwarding - Error: Can't Open Display: <ip Of Display>

Jun 28, 2011

I have the following scenario that doesn't seem to work normally. I have a windows 7 pc from which I am using putty to connect to my other linux servers (all running redhat 5 and 6). So here is the scenario that works and one that does not work. And I'm trying to figure out the one that does not work. Scenario that works:

From windows 7 (putty) I ssh into Linux_Server_1.
echo $DISPLAY
localhost:10.0

I run xclock and I see it pop up on my windows 7 pc. I am using xming on windows 7 to help me populate the display from linux to windows. One that does not work:

From windows 7 (putty) I ssh into Linux_Server_1. Then from Linux_Server_1 I ssh into Linux_Server_2.
echo $DISPLAY
<no output>

I try to setup $DISPLAY with localhost:10.0 or 0.0 or even my windows 7 pc ip address:0.0 ....etc Then when I try to run xclock I doesn't work.

I get these error messages: Error: Can't open display: <ip of display>

Also as a side note all our Linux servers are sitting on one subnet. My pc is sitting on another subnet. I use vpn to connect to the subnet where the servers sit from my pc.

View 4 Replies


ADVERTISEMENT

General :: X11 Forwarding Failed - Error: Can't Open Display: MAC_ip:0.0

Mar 31, 2011

I also had ever tried all methods they mentioned, but my problem is still there. I am using a MAC OS X 10.6 ssh a remote redhat server. I hope to see X of redhat on my own MAC. Below is what I've done: 'MAC_ip' stands for my mac; 'redhat_ip' stands for redhat server.

1) ssh to redhat server
2) change to root
3) type command: DISPLAY=MAC_ip:0.0
4) type command: export
5) Back to MAC
6) change to root
7) type command: xhost +Redhat_ip
8) vim /etc/ssh_config, add X11Forwarding yes
9) Back to redhat, type: xclock

I got below message: Error: Can't open display: MAC_ip:0.0 I also tried some methods to login as others suggested:

[Code]....

View 10 Replies View Related

General :: Error: Can't Open Display: Hostnmae:0.0

Feb 17, 2010

I have installed RHEL 4.6. But X server is not running. Wen i executed xclock Error: Can't open display: hostnmae:0.0

View 4 Replies View Related

General :: /usr/bin/xterm Xt Error - Can't Open Display - %s

Oct 25, 2010

/usr/bin/xterm Xt error: Can't open display: %s

I tried to connect to remote server ,which is installed Centos 5.4 x86, through Xmanager on windows 7, and got this error.

Quote:

/usr/bin/xterm Xt error: Can't open display: %s

At the remote server, I turned on firewall and after this I got the above-mentioned error message.
I do this accrding to instruction on remote server.

Quote:

2. Firewall (TCP/UDP Ports) Configuration
Open UDP port 177 from the PC to the remote host direction.
Open incoming TCP ports 6000~6010 from the remote host to your PC.
After adding these ports "/etc/sysconfig/iptable" as the enoder mentioned, /etc/init.d/iptables restart

3. Reboot the remote host and start Xmanager <- I could not restart remote server.

View 14 Replies View Related

Ubuntu :: Xterm XT Error: Can't Open Display: Xterm: Display Is Not Set

Aug 20, 2010

I've just installed xterm, ant trying to run it from my windows machine using ssh. I have X11Forwarding yes on /etc/ssh/sshd_config when I use, MobaXterm, np, I can use xterm after I log ssh -X xxx

but when I use Cygwin, and do ssh -X xxx, and then xterm, I have: xterm XT error : Can't open display: xterm: Display is not set

View 3 Replies View Related

General :: Error - Can't Open Display - For Xclock Or Gvim On Kubuntu Root Shell Konsole 1.6.6

Oct 8, 2009

I use kubuntu (8.04) which does not have a root account.

[sudo] password for ts:

However, starting xclock or gvim on root shell on konsole has the "Can't open display" error appears.

Error: Can't open display: localhost:0.0

Press ENTER or type command to continue

View 2 Replies View Related

OpenSUSE :: 11.4 Gnome 2.3 Display - CRTC Error That The Display Is Over The Maximum - 1920x1920

Apr 16, 2011

I have a fresh install of OpenSUSE 11.4 64bit and I have installed the AMD Display drivers for my Radeon HD 5970. Everything seems to be working quite well. I have a multiple monitor setup (1280x1024 monitor and a 1920x1080 monitor).

I have my primary display set to 1920x1080, however when I try to enable the second display, I get a CRTC error that the display is over the maximum (1920x1920). If I enable both monitors at lower resolutions, there is no problem.

I have done a fair bit of reading and have been unable to determine where this maximum is set, or how to change it. I'd like to be able to run both monitors at their native resolutions.

View 3 Replies View Related

Red Hat / Fedora :: Error: Can't Open Display

Aug 14, 2010

i have just installed a redhat linux entprise 5 on my machine. I am trying to install a software and when i run the #install.ksf , my installation gets aborted and my install.log file shows this,

Error: Can't open display !
Environment variable 'DISPLAY' must be defined.

View 2 Replies View Related

Software :: Error: Can't Open Display

Nov 22, 2010

i just downloaded Nethack from [URl], and moved the extracted files to /usr/games. Then i changed the permissions in /usr/games/lib/nethackdir so i could access the lib files.

Nethacks runs in X, and it runs in terminal when im root. But for some strange reason it does not run in CLI when im not root, i get the message "Error: Can't open display:".

View 12 Replies View Related

Slackware :: Cannot Open X Display `:0.0' Error?

Jan 14, 2010

When trying to run X apps from terminal command line I getCannot open X display `:0.0'error.I tried export DISPLAY=0.0What do I need to do to permently fix this problem?

View 1 Replies View Related

OpenSUSE :: SSH / X11 On 11.3 - Error: Can't Open Display: Localhost:10.0

Sep 25, 2010

I was trying to remotely log in to my desktop which uses 11.3 from my laptop via ssh. For some reason I get an empty field for the command echo $DISPLAY. and as a result an xclock command results in error: can't open display. I tried to set it to localhost:10.0 and I get: Error: Can't open display: localhost:10.0

I've tried :0.0 and I get: Invalid MIT-MAGIC-COOKIE-1 keyError: Can't open display: :0.0 ssh used to work about a week ago before I performed various security updates. I was wondering what' the solution to this. I checked the /etc/ssh/sshd_config file and ssh_config file both have X11 forwarding on. Can anyone with more experience out there give me any ideas?

View 9 Replies View Related

SUSE :: Error: Can't Open Display: Localhost:10.0

Apr 6, 2010

When I attempt to use Putty for xterm (to run DBCA for Oracle) I check x11 and put my IP Address in the Display field of putty. However, when I then try to execute ./dbca I receive the following:

Xlib: connection to "localhost:10.0" refused by server
Xlib: PuTTY X11 proxy: wrong authentication protocol attempted
Error: Can't open display: localhost:10.0

I notice the following when logging in to the server as well.

Last login: Fri Mar 19 13:51:19 2010 from 10.47.48.33 /usr/X11R6/bin/xauth: error in locking authority file /home/oracle/.Xauthority. These are the same steps I take successfully on all the servers. The above file exists on the servers I can initiate the GUI, but not on <server1>.

View 5 Replies View Related

Red Hat :: Xclock Error: Can't Open Display: <unknown Ip>:0.0?

Dec 26, 2010

I have this problem. Whenever I issue command below,

Code:
ssh -X user@hostA
xclock

[code]....

View 4 Replies View Related

Debian :: Error: Cannot Open Display: 0 When Trying To Launch Firefox

Sep 8, 2010

So I just installed 32-bit Squeeze. I've done exactly two things since booting into the first install: pt-get install gtk+2.0, and ./firefox, so unless gtk did something, this might be an easily fixable problem with Debian itself. After installing gtk and trying to run firefox via command line, it tells me

Code: Error: cannot open display: :0 I googled a bit and couldn't come up with a solid solution, but the problem seems to be around other places. Any idea how to fix this?

View 2 Replies View Related

General :: Get An "cannot Open Display" Error Foe Gnome-session?

Dec 13, 2010

When I open startx it works fine bur I get an "cannot open display" error foe gnome-session. I already tried export DISPLAY=:0. ANY suggestions?

View 4 Replies View Related

Ubuntu Networking :: Set Display And Xhost: Unable To Open Display "XXX.XXX.X.XXX:0.0"

Jul 20, 2011

I have configured an instance in AWS EC2. I am trying to set the display back so I can run x apps. I login using ssh -xy -i...

export DISPLAY=XXX.XXX.X.XXX:0.0
echo $DISPLAY to verify
xhost +
xhost: unable to open display "XXX.XXX.X.XXX:0.0"

I have commented out nolisten tcp as suggested HERE I have modified /etc/gdm/custom.conf as suggested HERE Actually, the last suggested modifying /etc/gdm/gdm.conf, but that file didn't exist, so I added the line: DisallowTCP=false to /etc/gdm/custom.conf I rebooted, and still I get: xhost: unable to open display "XXX.XXX.X.XXX:0.0"

View 2 Replies View Related

Ubuntu :: Error - Cannot Open Display - 0 - When Opening Any GTK Application From The Terminal

May 13, 2011

For awhile I have had this issue with the command line and every time I try to complete any command that requires GTK graphics, It always returns the error "Error: cannot open display: 0:" The "EXPORT display" command that I normally use to fix this issue is not working. The only issue that I can think might be the cause for this could be my upgrade to natty (which was in fact a clean installation), or when I edited plymouth so that the startup and shutdown animations would match my laptop's native resolution (by the way I would also appreciate it if I could do the same with the startup animation, only the shutdown really works). If anybody know how I could resolve this issue I would greatly appreciate it. Oh and for specifics on my machine, I am using an ASUS N82 with an NVIDIA GEFORCE GT335M graphics card, running Ubuntu 11.04.

View 3 Replies View Related

Ubuntu :: Starting Xterm From Remote - Error: Cannot Open Display A.b.c.d:0.0

Sep 1, 2011

I am running hummingbird exceed on Workstation with an ip address of a.b.c.d, and connecting to a sun machine with IP address x.y.z.w running Solaris with XDMCP. From the sun machine, we commonly telnet to other sun and linux machines and run X applications.

We have just installed ubuntu 10.04, and I can telnet into that machine no problem.

However, running xterm on the ubuntu machine fails:

xterm Xt error: cannot open display a.b.c.d:0.0

View 2 Replies View Related

Debian :: Windows Manager Error: Unable To Open X Display

May 5, 2011

Well after messing with compiz Opacity I managed to make all panels and windows transparent. Only thing I see is desktop background and icons. Tried ctrl+although+f1 and running gconftool-2 --recursive-unset /apps/compiz
Then a reboot. Same issue. Next ran metacity --replace I get: Windows manager error: Unable to open X display

View 2 Replies View Related

Fedora :: Coin Error In Glxglue_init(): Couldn't Open NULL Display

Jan 23, 2010

I wrote a simple code using Open Inventor(OpenGL) classes to print a Sphere in a .png file.I tested it on Windows and it worked well.But when I run it on Fedora 10, I got the following error with no output .png file:

Coin error in glxglue_init(): Couldn't open NULL display. Coin warning in SoOffscreenRenderer::renderFromBase(): Could not set up an offscreen OpenGL context.
Segmentation fault

View 2 Replies View Related

OpenSUSE Network :: FreeNX Windows Error - Can't Open Display - Localhost:10.0

Jun 25, 2010

FreeNX server is SUSE 11.2 /(i586)

Cliente is windows 7 (64)

NX> 148 Server capacity: not reached for user: usb

View 4 Replies View Related

Fedora :: Set The Display Size On X Forwarding?

Jul 22, 2010

How to set the display size avoiding taking up the whole screen.e.g.$ ssh -XC -c blowfish user@ip_address display:1 "gnome-panel"Does it take up the complete screen?

View 4 Replies View Related

Networking :: X Forwarding Through SSH Not Working: $DISPLAY Not Set

May 7, 2011

I am trying to redirect my display from a debian box that I ssh into to my laptop. I connect using

Code:
$ssh -vv -XC remote.host
and in the debug messages all I get about X is this

Code:
debug1: Requesting X11 forwarding with authentication spoofing.
Once I'm connected, X forwarding does not work. For example, when I try and start, say, xcalc, I get

Code:
$xcalc &
Error: Can't open display:

It seems that the problem is the $DISPLAY variable is not set on the remote machine (echo $DISPLAY doesn't return anything), but from what I read, sshd is responsible for setting this variable, as long as "X11Forwarding yes" is uncommented in the /etc/ssh/sshd_config file (which I made sure is true). Is there any other reason why sshd won't open a display on the remote host?

View 5 Replies View Related

OpenSUSE :: Consultation On Gdm - Error (Gnome-properties-Appearance: 18 047): Gtk-WARNING **: Can Not Open Display:

May 4, 2010

Gnome Forum have told me that changing the appearance of gdm I run: sudo -u gdm dbus-launch gnome-appearance-properties but I get this error: (Gnome-properties-Appearance: 18 047): Gtk-WARNING **: can not open display:

View 3 Replies View Related

Ubuntu Networking :: Ssh X Forwarding Not Setting Display?

Feb 1, 2011

At home, I am running Ubuntu 10.04.1 LTS with openssh server OpenSSH_5.3p1 Debian-3ubuntu5 In my office, we are using CentOS 5.5 with openssh OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 Both my /etc/ssh/sshd_config at home and my ~/.ssh/config has X forwarding enabled.When I log in to my home machine from my office with ssh -X -vv host, I got the following:

Code:

debug2: x11_get_proto: /usr/bin/xauth list :0.0 2>/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug2: channel 0: request x11-req confirm 0

But once I log in, I get:

Code:

home:~>echo $DISPLAY
DISPLAY: Undefined variable.

I tried setting DISPLAY to localhostx.0 (xx from 0 to 10) but none of that works. I have also tried ssh -Y but the result is the same.

View 4 Replies View Related

General :: Know Which Display Number For The Variable DISPLAY To Be Exported When Ssh To Server?

Dec 26, 2010

When i ssh to server using -X, i always confuse about which display number i should export. It seems to me sometimes the display number has been used by something, so what i can do is only

export DISPLAY=localhost:0 && xclock
export DISPLAY=localhost:1 && xclock
export DISPLAY=localhost:2 && xclock

[code]....

View 1 Replies View Related

General :: Can't Open Display - Localhost - 0.0

Dec 1, 2010

Im using the Redhat 5, when m trying to connect from X-start it showing error:

Can't open display: localhost:0.0

Where as /etc/ssh/sshd_config settings are correct

Also ssh is running
$DISPLAY is set to localhost
still it is not started any x-service

View 2 Replies View Related

General :: Can't Open Display Localhost:0.0?

Mar 31, 2011

I'm trying to connect to my linux server but I'm having some major problems. The server had OEL 5 installed and my local pc is running Windows XP. I'm using PuTTy to connect to the server with Xming running on my loacl machine. I login as root and run the following command - export DISPLAY={ipaddress}:0.0I then run xclock and get the following error - Xlib: connection to "{ipaddress}:0.0" refused by serverXlib: No protocol specifiedError: Can't open display: {ipaddress}:0.0The strange thing is that on my bosses pc (who has got almost the exact same setup ie. PuTTy & Xming) is works perfectly.

View 2 Replies View Related

Ubuntu :: X11 Forwarding Via Ssh Connection - Doesn't Forward To Display To Local Machine

Jul 30, 2010

I am trying to run xeyes on a remote machine via ssh connection. Both my local and remote machines are Ubuntu 10.04. I connect to remote server via ssh -X and It does not forward to display to my local machine...

Code:
root@goliath:/opt/install/bits# ssh -X -l root duke
root@duke's password:
Linux duke 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux
Ubuntu 10.04 LTS
[Code]....

View 6 Replies View Related

General :: Xset: Unable To Open Display

Oct 30, 2010

I tried to log on to a remote computer using ssh, but I got an error:

xset: unable to open display

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved