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


ADVERTISEMENT

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 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

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

Ubuntu Networking :: Error - Remote Port Forwarding Failed For Listen Port 5500

Aug 7, 2010

When I use the following command:

ssh user@ssh_server -L 5500:localhost:5500 -p 22

everything works fine. I can log in, and local port forwarding is done. Otherwise when I use the command:

ssh user@ssh_server -R 5500:localhost:5500 -p 22

I get an error "remote port forwarding failed for listen port 5500". However when I try remote port forwarding in WinXP by use of putty there is no problem...

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

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

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

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

Ubuntu :: Graphical Interface Won't Load / "Failed To Parse Arguments: Cannot Open Display"?

Nov 22, 2010

I have a system with 2 hard drives (Ubuntu 10.10 and Windows XP) on them. Grub allows me to select which system to boot to.

Ubuntu 10.10 has stopped working (not loading gnome graphical interface) for some reason.

I can boot to a command line (after many errors on screen). When I try the command "gnome-terminal" I get: "Failed to Parse Arguments: Cannot open display:"

View 14 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

Networking :: Ssh -D - Channel 6 - Open Failed - Administratively Prohibited - Open Failed

May 24, 2009

I'm getting these messages Over SSH with the -D switch

Code:

At uni I did this for a couple of reasons, primarily to connect to trackers for bittorrent. I would get these messages fairly often but I never thought much of it because I figured I was just loosing packets over the network or something (understandable in my situation). At home I decided to continue to use this method because that computer is set up in DMZ and is very useful. I havn't received many of these messages but recently all my torrents stalled and I had a whole bunch of these messages. Is it possible my computer just cant handle all the network connections (it's a 2ghz AMD running debian)? What exactly do these messages mean? Is there any way to optimize my connection in any way?

View 1 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

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

General :: Warning: Remote Port Forwarding Failed For Listen Port 7869

Jul 20, 2010

I tried to make "ssh tunneling", but failed and got this message.

Quote:

Administrator@windstory-PC /
$ ssh -R 7869:localhost:7869 windowsstudy@192.168.0.4
windowsstudy@192.168.0.4's password:

Warning: remote port forwarding failed for listen port 7869 Last login: Wed Jul 21 01:56:04 2010 from 192.168.0.2 -bash-3.2$

1. system environment

192.168.0.2 - windows 7 + copssh
192.168.0.4 - centos 5.4 x86 + openssh

2. Guide for setting "ssh tunneling"

[URL]

3. Added this to sshd.conf

Quote:

AllowTcpForwarding yes

4. "netstat -na|grep 7869" at 192.168.0.4

Quote:

[root:maestro:~]# netstat -na|grep 7869
tcp 0 0 0.0.0.0:7869 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:7869 127.0.0.1:53539 ESTABLISHED

[code]....

5. result of "ssh -vvv -R 7869:localhost:7869 windowsstudy@192.168.0.4"

Quote:

debug3: authmethod_lookup password
debug3: remaining preferred: ,password
debug3: authmethod_is_enabled password

[code]....

6. I added 7869 for telnet service as follow;

Quote:

mytelnet 7869/tcp # My Telnet server

View 1 Replies View Related

General :: Port Forwarding Ssh Error Bind: Address Already In Use

May 10, 2011

- I setup port forwarding of openssh :

connect 1: ssh -g -f -p 11111 -i /<path-to-private-key> user1@ip-server1 -L 22222:ip-server1:161

- Then I setup second connection

connect 2: ssh -g -f -p 11111 -i /<path-to-private-key> user1@ip-server1 -L 22223:ip-server1:3306

- Openssh waring to me "bind: address already in use"

- So I think port 22223 have had another program use,I use command:

ps aux | grep ssh /* find process id of second connection */
kill -9 <process-id-second-connection>
netstat -an | grep 22223 /*find which program use port 22223> */

- but I can't find anywhat

- Then I run again command :

connect 2: ssh -g -f -p 11111 -i /<path-to-private-key> user1@ip-server1 -L 22223:ip-server1:3306

- And I receive a error from OpenSSH :" bind: address already in use"

View 2 Replies View Related

Fedora :: Compiling Open Vm Tool On 13 - Failed On Stage 2 With Error Messages ?

Feb 1, 2011

On compiling open-vm-tools-8.4.2-261024 on Fedora 13 x86_64. When I run make, it failed on stage 2 with these error messages:

I think I have to compile these modules into the kernel.

View 1 Replies View Related

Ubuntu :: Benq 5000 Scanner - Failed To Open Device Error

Jan 8, 2010

My scanner is Benq 5000 ,the default scanning software (xsane) give me the following message whenever I plug the scanner to the pc :
Failed to Open Device 'Snapscan:libusb:005:002' Invalid Argument.
I tried the gnome image scanning software too but it didn't recognize the scanner at all. The only software that worked is vuescan but unfortunately it is non-free software !!!!

View 4 Replies View Related

Ubuntu :: Mounting Error From Partitioned Harddrive 'Failed To Open Hiberfil.sys'

Mar 17, 2011

Vista refused to boot past login and eventually froze up in safe mode, preventing me from even safely copying files to a storage device. My friend suggested trying Ubuntu temporarily, and I'm currently running it as a trial from a key thob.I'm very much a newbie to the OS but after some getting used to and playing around over a few days Im happy to make the switch permanently. I managed to take off the needed files, and then went on to do some cleaning up of my harddrive to make some room for a partition for Ubuntu. I was removing things like old music, videos and games, nothing vital, but after I reset I tried to enter the C drive Im given this message:

Error mounting: mount exited with exit code 18: Failed to open hiberfil.sys data attribute: No such file or directory Failed to mount '/dev/sda2': No such file or directoryMy HD is currently partitioned for two 150gb drives, and I can still use my D drive fine for all purposes.

View 1 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







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