CentOS 5 :: X Windows Applications "Can't Open Display" After Su

Aug 27, 2009

I have recently resurrected an old X Windows application and I am having a problem getting a CentOS 5.3 client to run the application from a CentOS 5.3 host.

If I am logged in as root to the client side and ssh -Y over to the host, then run xclock, everything works just fine.

However, if after I ssh -Y over to the host, I then su - userx on the host, and then run xclock, I always get the "Can't open display" error.

I have tried:

Running xhost + on the client. doing the "xauth add display MIT-COOKIE xxxxxxxxxxxx" on the client & host, both as the root user, and as the userx. I can't seem to get a definitive answer as to which user and which machine (client/host) this needs to be run as.

Also, when you "xauth list $DISPLAY" you get nothing, (because it is either localhost:0.0 as root, or :0.0 as the su - user) you have to "xauth list", and then you get a list of cookies, but since the "echo $DISPLAY" doesn't match any of them, it is not obvious which one to use. Also, they are ALL "host/unix:X.0", so I assume they are all socket based, and as such I would assume that the their cookies would not be usable for remote TCP connections?

I also saw information about using netstat -anp to look for 60** LISTENERS, I could not find any on the client or host sides.

Nothing seems to work.

I heard about a program sux that is on ubuntu, but I could not find it for CentOS. Is there an equivalent on CentOS?

I have searched the web and found lots of info in forums all over the net with what appears to be the correct way to do this, still nothing appears to work.

What is confusing is that if the TCP LISTENERS were not there, I should not be able to get it to work as root either, so it must be in the transition of the su - userx.

View 7 Replies


ADVERTISEMENT

Ubuntu :: Make Windows Key Open Applications Menu?

May 9, 2011

I've switched to Xubuntu and the procedure is obviously different How can I make my Windows key open the Applications Menu in Xubuntu?I found the keyboard shortcuts in the Settings menu but I see no option for adding a shortcut. It only shows the existing shortcuts.

View 4 Replies View Related

OpenSUSE :: Disappearing Applications From - (windows Open And Minimized) Panel

Jul 29, 2010

I am running a week old 11.3 install with KDE (no desktop effects), compiz, nvidia. Last night I was working away. I had Thundertbird, Firefox, and VMWare Workstation open. Maybe something else, but I don't remember.

I was typing away. Maybe I hit something on the keyboard, but maybe not. All apps just disappeared, meaning that they're windows were not open and were not minimized to the panel. I could open *new* windows, and I fire up a terminal and ran top, which showed that they were all running, just not visible. Obviously, this is a Bad Thing.

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

CentOS 5 :: Can't Open Display After Fresh Install?

Feb 1, 2010

I had a fresh install of centos 5.4 x64 on my newly bought lenovo thinkstation D20, the installation went smoothly. after I finished adding users and reboot,I get pass the grub, starting the services, and then.. just blank screen, get nothing there and stuck, can't get into gnome, only option is to power off.the same happens if I install scientific linux, basically same with centos. I also can't boot the scientific linux live cd(the same thing happens, after starting the services, blank screen and stuck). however, I can boot Fedora live cd. but all I want is an EL5.

View 5 Replies View Related

CentOS 5 :: Can't Open Cpp Files In Gedit - Couldn't Display ?

Mar 23, 2011

I have just finished an install of Cent 5.5. I loaded up a trunk for a software application I want to compile on cent, but I cannot read the .cpp files. The issue seems to be with the file extension. If I change the extension to .txt, they open just fine. My .FOR, .FPP, and .DAT files display fine, but the .cpp and .h give me an error, "Couldn't display...". What is the problem here that won't let me open these files in gedit?

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

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

Ubuntu :: Twinview - Previously Maximized Windows Open To Wrong Display?

Dec 15, 2010

I am currently running ubuntu 10.10

I have a panasonic 50" and a samsung 23" both of which are 1080p displays. I have twinview setup so that the samsung is my main and the panasonic plasma is my secondary. For some reason every time I open a windows of lets say mozilla and it was maximized prior to closing before, it will "jump" (briefly display on the samsung monitor for a split second and then automatically move to the plasma) from my main display to the secondary panasonic plasma. If mozilla was minimized before closing prior and I reopen it will open to the samsung in the state it was in on the prior close (aka minimized), which is fine. Only when it was maximized prior does it "jump" to my secondary display.

How can I correct this issue? I would like to have programs open (and stay) in the display they were launched in whether it is the plasma or the samsung.

xorg.conf:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 260.19.06 (buildd@yellow) Mon Oct 4 15:59:51 UTC 2010
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 260.19.06 (buildmeister@builder101) Mon Sep 13 04:59:45 PDT 2010

[Code]....

View 1 Replies View Related

Ubuntu Servers :: Install A Minimal X/windows Manager On Server - Can't Open Display

Sep 18, 2010

trying to set up a very minimal X on my 10.04 64 bit version of Ubuntu running nothing but Open SSH and acting as a firewall/router, making a PPP connection. The reason, is that I want to set up KVM/Qemu and run a virtual machine. The virtual machine will have a graphical environment and will be connected to my TV so that I can watch movies, stream TV etc. using it. So far, I have done the following:

sudo apt-get install xserver-xorg xserver-xorg-core miwm

When I try to run miwm the error message is:

(null): can't open display.

I have no DISPLAY variable set, but even when I set one myself using export DISPLAY=:0.0 it makes no difference.

View 9 Replies View Related

CentOS 5 :: Flashing KDE Applications In Windows List Of Gnome Panel?

May 1, 2009

I am running CentOS 5.3, Gnome Panel 2.16.1. It seems some KDE applications just flash crazily in the windows list (task bar in Gnome panel). Usually when a new event happens to a window, it flashes to remind the user (I hate this *feature* anyway, but can't disable it...) But this time, when I switch from another workspace to the workspace that has (more than one) KDE applications (like kile and kdvi), they just simply start to flash, and the flashing window list appears on every workspace unless you click it.

I tried to disable the animation from gconf-editor, without success. Does anyone have similar issues? It is really annoying..

View 1 Replies View Related

Applications :: Error Glibtop: Open (/proc/stat): Too Many Open Files

Oct 1, 2010

I have a while(1) loop, and the error is: glibtop: open (/proc/stat): Too many open files This error occurs after about a half hour to an hour of running. I've tried running this multiple times, both with using glib_close() at the end of the loop, using glib_init() and glib_close() at beginning/end, and just using glib_init(). The strange thing is these have no effect on the actual glib_get functions.

View 5 Replies View Related

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

Applications :: Open A MS Access File In Open Office?

Mar 17, 2009

I have a MS Access database I would love to able to use in OOo. How do I do it

View 2 Replies View Related

Software :: Open A Doc File Using Openoffice In Windows And Centos?

Jun 20, 2011

When I tried to open a doc file using openoffice in windows and centos, the same got displayed differently, as attached. Does anyone know what the issue is related to and a fix for this ?

View 2 Replies View Related

CentOS 5 :: Error - "ESC Is Already Running, But Is Not Responding. To Open A New Windows

Jun 20, 2009

After I login to KDE I see an error dialog saying,"ESC is already running, but is not responding. To open a new windows, you must first close the existing ESC process, or restart your system."

What is ESC and what can I do to stop this error dialog from popping up right after I login?

View 2 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 :: Applications Display In Unity

Jun 16, 2011

My partner is visually impaired and I have been having a close look at Unity as it could be of assistance to her. Using the dash opens the shortcuts and the display is looking good but at times cluttered. Ideally I would like to be able to arrange things that when she opens up the various section that interest her that only the installed programmes are displayed. I intend to ensure that everything of interest to her is loaded so apps available for download are of no interest and I would wish to have them removed from view.

the most frequently used items will end up automatically displayed and will be easily available to her but in the initial stages having so many items displayed only confuses. What would be the best approach to tackle the problem bearing in mind that I no doubt at times will have to go into her system and correct the odd foul up caused by her disabilities of which vision is one. Ideally I would like to reduce the all applications list so that it only displays the items of interest.

For my own benefit can you advise how I may install the ttf-mscorefonts in order that I can transfer my various templates over from my system as we share certain items. I am only wishing a couple of fonts and found that one could be freely downloaded from Fontmatics. They say that I should be able to copy the .ttf into fonts:.

View 3 Replies View Related

Applications :: Display Encoding Of File?

Jan 26, 2011

I wanted to know how to determine the encoding of a file which was uploaded by FTP. I found the thread /newbie/47637-how-check-encoding-text.html which points to the right information (by using the command file) but it doesn't help me in my case. Take a look yourself:Code: # file testutf8.phptestutf8.php: PHP script text As you see, Linux (Debian Lenny in my case) detects the file as PHP script text because of the code within the file (that's my guess at least).Is there another way to check how this file was encoded?

View 1 Replies View Related

Ubuntu :: Display X Applications From Server On Desktop?

Jan 8, 2010

I have a karmic server and a separate karmic desktop (laptop). I want to run a few gui applications from the server to my desktop so they will be centralized. I can successfully ssh to my server from the laptop, but getting the gui stuff launched from the server to display on my laptop is where I am hitting a wall. I did:

$ ssh -Y knipknup@192.168.1.3

enter password

and I get:

/usr/bin/X11/xauth: error in locking authority file /home/knipknup/.Xauthority

I also did :

$ sudo chmod -v 777 /home/knipknup/.Xauthority

and that results in the same message.

View 1 Replies View Related

Ubuntu :: Seperate Display To Run X Applications In Chroot?

Apr 11, 2011

Since copying the .Xauthority or using xephyr/xnest open the applications in the same display, i was wondering. how can one run a separate display on tty8 for only the chroot? is it possible?

View 5 Replies View Related

General :: Shell Commands To Display All Applications Installed

Aug 5, 2010

Ares there any shell commands to display all applications installed in my linux machine,?

View 7 Replies View Related

Ubuntu :: Configure File & Folders / Applications Objects To Display

May 18, 2011

It functions perfectly well, but the Files & Folders object has as a feature a 'recent' section which displays recently opened files. This is much the same as a menu object available in Gnome, except with the latter you could clear recent files for security or privacy purposes - you cannot do this in Unit.I have found that if you drag a file from the 'recent' section in the Unity Files & Folders object to Trash it doesn't just delete the shortcut - it deletes the target as well.

It is not at all clear if and how you can configure the File & Folders and the Applications objects to display what you want rather than the default, and the inability to quickly and safely clear recently opened items is something I think is in need of a fix.

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

Ubuntu :: Unity & Netbook Display Size - Applications Are Oversized For The 1024 X 600

Apr 26, 2011

I upgraded to 11.04 about 10 days ago. I have this intermittently weird problem where some of the applications, some of the time, are oversized for the 1024 x 600 display. I can't get to the buttons on the bottom end of the screen, and the window refuses to decrease in size enough so that it all fits on. So far, I've had this problem with Evolution, Pytrainer, Gimp, and another one that escapes my memory.

Has anyone else had this issue? (Except for the Evolution bug, which has been around since 2005 or thereabouts. How on earth is that thing still the default when nobody bothers to fix it up?) how to a workaround? Heck, I don't even know where to go to report this kind of bug.

View 2 Replies View Related

Ubuntu :: 10.4 - Cannot Open GUI For Most Of Applications

Aug 25, 2010

I'm running Ubuntu 10.4 netbook remix on an Asus Eee PC 1001PX.
uname -a says:
Linux localhost 2.6.32-24-generic #41-Ubuntu SMP Thu Aug 19 01:12:52 UTC 2010 i686 GNU/Linux

I can't open the GUI for most of the applications in system > administration and some in system > preferences. In preferences IBus preferences, Main Menu, Prodcast Preferences, Ubuntu One are affected and in administration only Disk Utility, Login Screen, Synaptic, Network Tools, Time & Date, Users & Groups, Update Manager do start (Sorry, that I state the apps that run, but this list seemed shorter to me.). There's just a notification prompted that the program is started but then nothing happens.

Further, the update manager posts a notification in the panel that "A problem occurred when checking for updates." I have the feeling that this occurred at the same time as I couldn't start the programs anymore. Up to now I wasn't able to find out what the problem is, but I didn't touch the software sources. I read threads about similar problems and there something seemed to be mixed up with the files /etc/hosts and /etc/hostname. But I checked on that and it's fine in my case.

View 9 Replies View Related

Software :: Applications Won't Open?

Feb 21, 2010

I can't get many applications to open on my ubuntu 9.10. As far as I know, it's in a fresh install state, so it shouldn't be missing dependencies....For example, if I try and open Pidgin, it'll appear on the taskbar for a few seconds and disappear again. Running in terminal gives:michael@linuxserver:~$ pidginBus errormichael@linuxserver:~$ I also can't get Movie Player, Empathy or evolution to open

View 3 Replies View Related

Ubuntu :: Win Key On 10.04 Open Applications Menu?

May 23, 2010

- open terminal and type gconf-editor - apps -> metacity -> global_keybinding and look for panel_main_menu - right click and edit, change value to "Super_L" without the quote.

View 2 Replies View Related







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