CentOS 5 Server :: Gnome System Menu Causes Crash For Either X11vnc Or Freenx?
Jul 28, 2009
Sorry if this is in the wrong group but its a bit of an odd one but I think comes under Server Support.. I've set up both x11vnc and freenx in an attempt to eliminate either as a cause for this issue. The problem is that when I log in with either, I can get into the desktop and run things from the menus but when I make the System menu active - the session hangs and you have to killall for the freenx or vnc processes.
I was wondering if anyone might be able to help me investigate this and hopefully fix it as I'm not sure where to look given that both types of remote connection seem to have the same issue.
I've created a brand new CentOS 5.4 (Final) 64bit machine AMI on Amazon EC2. This was based off an existing image. I was able to follow the wiki to add NX server. I am using WIN XP desktop for NX client.
I can connect to the EC2 machine and get the GNOME desktop fine. I see the usual CentOS desktop and poke around.
I expected to open the Terminal window and get a shell prompt to su into root user (I need to be root to install some software that needs GUI). I do not want to install this from my plain SSH connection to EC2 (hence the NX server etc.).
When I open the Terminal window, all I get is the NX>105 prompt. I need to get to a shell prompt so I can su into root. For life of me, I cannot get around this prompt (I looked at NX documentation too). Note that this is a prompt NOT on client but on the remote machine. I do not need this as I'm already authenticated and logged in to remote GNOME desktop.
Obviously the TERMINAL is running some NX start up script (I've no idea which one). If there is some other way to sudo into root?
I have some trouble with my hp workstation xw4400 with an ATI FireGL 3300 and the X-Server. There was no problem with the graphical install routine and the graphical boot works fine. But when the system changes into the login-screen, then it results in a black screen and a more or less frozen system.
Also, I would like users to authenticate against using LDAP rather having created manually in the NX server. I installed using yum install freenx nx and rename the node.conf.sample to node.conf and installed the windows client. but when I am trying to conenct the nx server it says it is connected but it gives me NX> 202 Authenticating user: nxNX> 208 Using auth method: publickeyNX> 204 Authentication failed.I have change this nx user in sshd_config file to user that i created using nx server command which exists in local machine.
By invoking x11vnc with the -gui tray option the TCL/TK GUI attempts to embed itself onto the system tray, but I encounter the error message "tail: cannot watch /tmp/x11vnc.tray.*", after the first settings dialog approved [clicked OK]. I believe that a package is still missing to be installed and this is not really a software bug. I use the XFCE version shipped along F15, and the GUI can be started but not as a docked-applet.
Just wanted to share this with anyone wanting to know.If your headless server crashes, GRUB2 (at least on Ubuntu Server) is designed to force the GRUB menu to load up next time it starts up, which means you are locked out of SSH until someone physically makes a kernel selection on the PC.To prevent this do the following change to your grub.cfg file.#nano /boot/grub/grub.cfg
I was looking for a solution for this for a long time and found no hel with google. Let me know if there is a better way.I aware this file will get overwritten and need reediting if the Kernel gets updated.
I've just installed F15 over the weekend, and since then I've been having stability issues - primarily it seems to be related to gnome 3 (I've used fedora since its early days, and have never had such stability issues in the prior versions). Basically, when I use gnome-tweak-tool to make a modification, the system crashes; and I have to completely shut off the unit (unplug it) for it to even boot up properly. Today, I tried to change one of the options from its default, and now the very top (black bar) won't show.
I'm in the "File Manager" mode and can see the "Computer", "home" and "Trash" icons. I can move them about; and click on any of them to open. But once they're open nothing else works (clicking on any of the directories, etc, has no effect). I can ctl-alt-F2; but that's the extent. I deleted the .gconf and .gconfd directories (suggested in a different thread on a similar issue), but that didn't change anything. How do I bring back the default gnome 3 bar at the top?
I rebuilt my user account from scratch (that was the fastest approach for me). Nevertheless, gnome-tweak-tool does crash (for example, each time I turn on "File Manager"). This is clearly a bug. I'm using nvidia GTX 480; the problem might somehow be related to the card/driver. I definitely spoke too early I logged out of my account; logged back in, and the top bar is gone again and I'm left with having to deal with this again.
I have upgraded my laptop to OpenSuse 11.2 few weeks ago. It was fine until last Tuesday, when a system crash occurred during a kernel security update. I think something went wrong with my network connection. I was working on my code and suddenly I lost my base tools such as /bin/ls and /bin/cd. So I tried to restart and got a kernel panic as my kernel was partially broken.
I tried rescue the system, however it did not work. After that I thought I could fix it by reinstalling the OS with minimal server configuration over my existing root partition. (Since I didnt have any other computer or live cd at that time and I was rushing for a demo, I could not reinstall the missing components one by one. And reinstalling the minimal server made sense then )Almost everything went fine ( i needed to do little things like creating gdm user). Now I can use my system and all my applications. But as expected, the pre installed packages in my system now cannot be seen by YaST Software Manager. Is there a way to repopulate the package list?
Another question is, I cannot restart the computer from a Gnome session. Whenever I restart or shutdown, i go back to the login screen, then I press Ctrl+Alt+F1 which starts the restart progress. How can I fix this?
I recently had to power off my Centos 5.5 box (ungraceful shutdown). When it came back up, three apps popped up: "Welcome to the Gnome Help Browser" (which is Yelp). In another desktop, Konqueror is waiting for a login. This happens every time I restart my system. I haven't been able to figure out how to stop this. Every time I've shut down my system since I had to bring it down hard, it's been gracefully and neither of those apps was running.
"system crash" means that:(1)I can ping it , but can not connect to it (via ssh or http or anything else)(2)the major role of that machine is to run a web application written in java, every 3 weeks(almost that), the users inform us and say they can log in that web application , and we find the situation just like (1) says.When this happen , we can only restart the machine by pushing the power button.(It's sad !)I've try to read all the log files located in /var/log but find nothing interesting.
Before we use CentOS 4 and all work fine. We start x11vnc by ssh like root. And after this connect by client login in X screen. In CentOS 5 this way don't work. For connect we must login by local from keyboard, start x11vnc ssh by logined local user, and after this we may work, but can't change users.
I seem to have lost my desktop menu at the top of the screen (for want of the right term the start menu in windows). Can anyone remember how I can get it back or the name and location of the utility I can use to control the look & features of the desktop?
I have installed 2 extra 1.5TB drives on a stable Centos 5.5 system. They are set up with 2 unequal partitions on each - with 2 raid 1 arrays. The largest of the raid arrays is used as a new volgeoup with 2 unequal LVMs. The larger of the LVMs is around 1.3TB. I installed an ext4 filesystem (default parameters) on the larger LVM.I went to mount the LVM - the system hung. No keyboard or network response and no response to the soft shutdown button.It was the deadest I have ever seen it - and this system has been incredibly stable.
In the absence of any other suspects - I am tempted to blame ext4 - since I have never used it before - and since wikapeadia tells me ext4 isn't supposed to be in the 2.6.8 kernels...:
I will do some more testing on this tomorrow to try to confirm my suspicions. I will try to repeat the crash - then try mounting it as ext3 to see if it behaves differently. Any other tests I should do?What is the status of ext4 in RHEL5.5. Has it been added to the 2.6.18 kernel by RH? Is this what is meant by a "back port"?
After making many updates via pup, including FreeNX, my FreeNX installation has broken. It worked flawlessly before the update. Now when I try to connect my client connects, I see the NoMachine splash screen and then I lose the connection with the following details:
Info: Display running with pid '3404' and handler '0x1a037e'.
NXPROXY - Version 3.1.0 Copyright (C) 2001, 2007 NoMachine.[code]......
I am usually the last one to post on forums, but I can't for the life of me get FreeNX working on my CentOS box. I have also read many posts, many how-to's, many troubleshooting guides, and absolutely nothing is working for me. It's Crazy. First of all, I've installed FreeNX before, with little to no trouble. I am not completely green at the linux command line, but I am still no expert. I'm hoping one of you guru's out there can lend me a bit of a hand.
Here goes, I've installed FreeNX onto my CentOS 5.4 dedicated box, using the how-to [URL].. I've done everything, letter by letter, on the how-to. (Installed CentOS, configured sshd_config, added users in AllowUsers, created nx user, imported keys.. etc) At this point, I could not connect to my box, with the error message:
NX> 203 NXSSH running with pid: 336 NX> 285 Enabling check on switch command NX> 285 Enabling skip of SSH config files NX> 285 Setting the preferred NX options
I'm using Ubuntu 10.04, and I'm trying to VNC into my Ubuntu box from my MBP. I can connect just fine, however, I am unable to register any mouse clicks or keyboard input on the resulting desktop. I'm launching it as follows: x11vnc -nomodtweak -scale 9/10 I can log in using my Windows box and UltraVNC and use input with no problem.
I later ran sudo apt-get install ubuntu-desktop to see if that would help.
Code: #cat /etc/issue Ubuntu 10.04.1 LTS l Code: #sudo startx Fatal server error: xf860OpenConsole: Cannot open /dev/tty0 (No such file or directory) I assume this is because it probably doesn't have a video card. [Code]...
I have x11vnc server set up on my desktop PC. I can boot the computer and connect at the login screen if I want to. I can login to my computer as usual. But after about 1 minute of logging in, the computer logs off as if pressing Ctrl+Alt+Backspace and returns me to the login screen. This cycle repeats when I login and I have to kill the x11vnc process or remove the command from /etc/gdm/Init/Default.Have tried so many things now but the end result is the same. I have Ubuntu 10.10 fully updated and x11vnc 9.10-1 from the default repos. I am using the following command in the /etc/gdm/Init/Default file:
I don't think it matters now whether I add KillInitClients=false into /etc/gdm/gdm.conf-custom or /etc/gdm/gdm.conf because of the x11vnc version I have. The manual says its not really needed. But I have tried this too with no better luck.The computer will still log me out after about a minute of logging in. It can be between 1 min to 1.5 mins.Running out of ideas and have tried the -noxfixes and -reopen commands.
Why does x11vnc crash out (or it may be gdm or x server?) after about a minute of logging in? If I am currently viewing my desktop through VNC viewer on another computer, it will still crash out after 1 min of log in, and lose the connection. I can reconnect through VNC again but I have to log back in to the remote computer and it will just log out after another minute.At last, in 2 days I have finally solved it. As simple as creating my own version. The x11vnc 9.10-1 version my default Ubuntu 10.10 repos is buggy. Here's my fix (I used this site):
1. Downloaded latest x11vnc dev build from above site (x11vnc-0.9.13-dev.tar.gz at time of posting) 2. Extract it 3. Open Terminal > sudo -s > enter admin password 4. cd LocationOfExtracted folder
simple installs of CentOS5.2 i386 on 2x Dell C640's and x86-64 on a Dell dimension 9150 resulted in the System/Administration menu offering two entries each with the name 'hardware' and the icon showing a little chip hovering over a PC. I did "add this launcher to panel" on both as an easy way of checking their properties:
The higher entry issues the command 'hwbrowser' The lower entry issues the command 'hal-device-manager'
Both have the comment "view information on the hardware on this computer". I feel the hal-device-manager entry has the wrong name, comment, and icon. I think /etc/xdg/menus/system-settings.menu is relevant.
I'm using CentOS 5.6, kernel version 2.6.18-238.12.1.el5xen, and the Hibernate and Standby options don't even appear in the System menu. How can I get them to appear?
The funny thing is that before I reset my system to a clean install of CentOS 5.6, I was able to see those entries and execute them just fine. (I think that in that previous installation, by doing some updating of packages I got another kernel version and booting into that one showed the menu items.)
Could it have something to do with the fact that it's a xen kernel? Even though I've disabled xend, it doesn't appear.
We have had a hardisk crash in our RAID1 webhosting server running CentOS5 and Plesk. We first realized something was wrong when our main site didn't load but showed MySQL errors. We then found out that the system was in read-only state. Something that also happened the day before yesterday, but we could fix with a FSCK. Then the system worked well til around 18 hours later when it crashed with the same sympoms. So, we rebooted the server and wanted to do a filesystem check again. But the HDD wouldnt even load. It was gone. Unfortunatelly it was not realized that the second disk in the system was also not working any more for some time now. Fortunatelly we had our main site backed up externally though. So we could re-install a fresh box and mounted the two drives to the system. We checked the harddisk. One is practically empty (the older one), the other has almost only files in 'lost + found' but these are all "numbered", no real filenames or so.
I installed CentOS 5.5 last night using the DVD ISO (from a USB drive thanks to the Universal USB Installer). I selected the Server and Virtualization packages, and finished the install all the way through. At the end, the installer asked me to remove any installation media and reboot the system. After rebooting, the system hangs on a blank screen with a blinking cursor in the top left corner that does not accept text. This is before the GRUB screen appears. For partitioning, I created a 4GB swap partition on sdb and a 16GB ext3 partition on sda, mounted at /, with the remaining free space on sdb mounted at /storage.
Does anyone know why this system is hanging before the GRUB menu?