Ubuntu :: X11 - Cannot Open Display

Jan 30, 2011

We're running Ubuntu 10.4 on our server. When I ssh there, I can open xclock and emacs and the GUI appears on my desktop.

But when I try to open evince, I get the following error:

Code:
$ evince
X11 connection rejected because of wrong authentication.
Cannot parse arguments: Cannot open display:

[Code].....

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

Debian Multimedia :: Open Office 4 Installation - Can't Open Display

Feb 15, 2016

I installed Open Office 4 on Debian 8 but when I run the program I get this error message.

root@localhost:/home/paul# openoffice4
No protocol specified
No protocol specified
/opt/openoffice4/program/soffice.bin X11 error: Can't open display:
Set DISPLAY environment variable, use -display option
or check permissions of your X-Server
(See "man X" resp. "man xhost" for details)

Open Office works fine when I run the command "startx" in the Konsole but so far I haven't been able to configure it.

View 3 Replies View Related

OpenSUSE :: Root Trying To Open Flashplayer In KDE Getting Cannot Open Display

Feb 18, 2011

We have a digital signage appliance built on SUSE 11.3 with a LAMP server that uses the flashplayer application to play a .swf file from localhost. It is a AOpen GP7A mini pc that has the nVidia drivers loaded. We have lots of customers that have been running the exact same system for over 6 months (we image the drive for each sale).

For some reason, my last customer is seeing the following problem shown below, and this linux configuration is way over my head. Everything else is working (local LAMP server is working, communicating with our production servers to get information works, etc). I have verified that it is screen 0 that is running (at least it shows with Ctrl-Alt-F7). I thought that it may have occurred because of updating the software with zypper up. I had the customer rebuild from the image being careful not to upgrade the software. The result was the same. The pc is a newer version compared to my bench pc, but there are multiple other customers running that same version just fine. So I am not sure if it is

The command is issued by a php script that is run in a root cron job. As I said, it works great on all other customer pc's including my bench system. I also tried to execute the command on a ssh terminal as the root user with the same result. I also upgraded my bench pc and it still worked properly.

The command being executed is sudo env DISPLAY=:0 XAUTHORITY=/home/svision/.Xauthority flashplayer http://localhost/flash/sign.swf &

the result (when run in terminal) is: No protocol specified (flashplayer:15077): Gtk-WARNING **: cannot open display: :0

View 2 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 :: 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

Ubuntu :: Gtk-WARNING **: Cannot Open Display: :0.0

Jan 13, 2010

When I become root and try to run gedit, I get the error:

No protocol specified

(gedit:219: Gtk-WARNING **: cannot open display: :0.0

This does not happen from my user profile....xhost + actually solves the issue....so I guess I just need to add the host root to the list of hosts allowed to access the x server...

I try xhost +root......but that does not work....

View 6 Replies View Related

Ubuntu :: GTK Warning - Cannot Open Display

Dec 27, 2010

I need to get gksu to run programs. The goal is to be logged in as user1 and run firefox or google-chrome with user2 's settings stored in their own home directory. I'm trying the following with no success:

Code:
user1@hostname:~$ su user2
Password:
user2@hostname:/home/user1$ google-chrome
No protocol specified
(google-chrome:17144): Gtk-WARNING **: cannot open display: :2.0

Code:
user2@hostname:/home/user1$ firefox
No protocol specified
No protocol specified
Error: cannot open display: :2.0

Code:
user2@hostname:/home/user1$ gedit
No protocol specified
(gedit:17162): Gtk-WARNING **: cannot open display: :2.0

View 1 Replies View Related

Ubuntu :: Gtk-warning - Cannot Open Display

Jan 30, 2011

I was running Ubuntu 10.10 Maverick with no big problems till last 3 days ago.

The update manager checked some updates to install and after installing them, I had no graphic desktop any more. Only the command line.

I tried to recover it by starting the X again.

Code:

But did not worked

So I've tried to install the nVidia driver again. I looked at nVidia Linux drivers site for how to do it and Ubuntu documentation and when I tried to

Code:

I just could not use gedit. It cannot open display. I googled for three days but could not solve it. I found some similar answers here at LQ but none was similar to my situation or worked even when I tried.

View 7 Replies View Related

Ubuntu Servers :: GTK Warning - Cannot Open Display

Apr 8, 2010

I am still learning the ropes on Ubuntu server. I am trying to set up samba, but when I use the "gedit" command, I get this error:
GTK-WARNING **: cannot open display
I had installed the gedit command by using apt-get and aptitude, but still no luck. I am using virtualbox to test Ubuntu Server 9.10.

View 3 Replies View Related

Debian :: Cannot Open Display?

Aug 17, 2009

As root when I try a program it often say it cannot open display How get round?

View 3 Replies View Related

Ubuntu :: Kubuntu 9.10 Xrandr Can't Open Display And Low Resolution?

Feb 25, 2010

I just installed Kubuntu on my computer running win xp. I have had problems with the resolution because it only lets me set it at 800x600. I have read many of the post here and most of them tell your to use xrandr or xorg config. When i run the xrandr iI end up with a message saying can't open display and also when i try the xorg confing. I installed kubuntu using wubi.

View 3 Replies View Related

Ubuntu :: Does'nt Display The Programs Or Folders Open On The System?

May 12, 2010

i'm having a problem with my bottom panel, after changing from ubuntu 9.10 to ubuntu lucid lynx it does'nt display the programs or folders open on the system

View 1 Replies View Related

Ubuntu Installation :: Upgrade To 10.10 Root Can't Open Display

Oct 12, 2010

I just upgraded from 10.04 to 10.10.After the upgrade I can't open any GUI programs running as root.

Or using gksu I just get the password prompt and then nothing happens.Same thing if running from the System->Administration menu.This is the same for all programs, not just Synaptic.Any idea of how I can debug this issue?

View 9 Replies View Related

Ubuntu :: Open Office Won't Display .docx Images

Nov 14, 2010

I'm using 10.10 dual booted with xp and I'm trying to get images that are part of a docx file to open with OO 3.2 in ubuntu

They view fine on xp using OO 3.2 but windows being windows, it won't talk to my printer so I can't print. When I load up ubuntu and OO, the images just aren't there. The rest of the document looks the same however. Am I missing a file in ubuntu or is there a workaround for this?

View 1 Replies View Related

Debian :: Gtk-WARNING **: Cannot Open Display

Feb 7, 2011

Just finnished a fresh install of Squeeze. In a console, as root, when i type gedit i get: # gedit No protocol specified

(gedit:24284): Gtk-WARNING **: cannot open display: :0.0

View 3 Replies View Related

Fedora :: How To Keep Display Open To See What Output Is?

Jan 14, 2011

I am trying to run a java .class file by double-clicking it. So far my attempts at running it have been successful, but I don't' know how to keep the display open to see what the output is.

View 6 Replies View Related

OpenSUSE :: Gtk-WARNING **: Cannot Open Display: :0

May 29, 2011

For example, the gparted application menu item doesn't work; using it means that there is almost no filesystem support. The only way to get it to work is to open a terminal, run 'su -', and then open it from there.As another example, I tried creating a nautilus script to open files as root with a command like this:

Code:

for uri in $NAUTILUS_SCRIPT_SELECTED_URIS; do
gnomesu -c "gnome-open '$uri'"
done

When I try using it, it just fails. Typing out the command in the terminal gives this (tested on a text file):

Code:

No protocol specified
(gedit:13672): Gtk-WARNING **: cannot open display: :0

I'm pretty sure the problem is that it's granting privileges, but not using the full root environment, or something along those lines.

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

Debian :: Gtk-WARNING **: Cannot Open Display: :0.0

May 12, 2010

Im trying to access gparted, i get an error

Quote:

(gpartedbin:4918): Gtk-WARNING **: cannot open display:

I am connect via vnc if this helps.

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

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

CentOS 5 :: New Installation - Cannot Open Display

Jun 28, 2011

I created a new virtual machine on my ESXi 4.1 host and had planned to install Centos 5.6 as the guest OS. The two ISOs required for the installation were stored on my local disk.

I powered on the VM, loaded the iso and managed to get the first installation screen until the test CD media screen. However after that, I was greeted with the following error message:

(could not upload a screen cap because of company's security reasons )
===============================================
Running anaconda, the CentOS system installer - please wait...
Probing for video card: VMware SVGA II Adapter
Attempting to start native X server

[Code].....

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

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

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