LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-30-2012, 02:36 PM   #1
Nanosuz
LQ Newbie
 
Registered: Dec 2008
Distribution: Fedora 9
Posts: 9

Rep: Reputation: 0
startx fails to launch and returns errors on Linux Redhat


Hello

Running startx returns a very long error (see below).

My server is running Redhat Enterprise Linux 5.5 x64 and is a host for some VMs. I am running startx to launch the GUI so that I can then launch Virtual Machine Manager.

I have connected to the server using Putty (ssh) and am logged in as root. On a sidenote I have recently inherited responsibility for my company's network and did not build this server.

Any advice would be appreciated.

Thanks,

Suzan

-----------------------------------------------------------

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.18-194.el5 x86_64 Red Hat, Inc.
Current Operating System: Linux audi.nanometrics.ca 2.6.18-194.11.3.el5xen #1 SMP Mon Aug 23 16:12:21 EDT 2010 x86_64
Build Date: 15 April 2010
Build ID: xorg-x11-server 1.1.1-48.76.el5_5.1
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Oct 30 11:54:43 2012
(==) Using config file: "/etc/X11/xorg.conf"
(WW) MGA(0): Failed to set up write-combining range (0xd9f80000,0x70000)
(WW) MGA(0): Failed to set up write-combining range (0xd9f00000,0xf0000)
(WW) MGA(0): Failed to set up write-combining range (0xd9e00000,0x1f0000)
(WW) MGA(0): Failed to set up write-combining range (0xd9c00000,0x3f0000)
(WW) MGA(0): Failed to set up write-combining range (0xd9800000,0x7f0000)
(WW) MGA(0): Failed to set up write-combining range (0xd9f80000,0x70000)
(WW) MGA(0): Failed to set up write-combining range (0xd9f00000,0xf0000)
(WW) MGA(0): Failed to set up write-combining range (0xd9e00000,0x1f0000)
(WW) MGA(0): Failed to set up write-combining range (0xd9c00000,0x3f0000)
(WW) MGA(0): Failed to set up write-combining range (0xd9800000,0x7f0000)
(EE) MGA(0): Static buffer allocation failed, not initializing the DRI
(EE) MGA(0): Need at least 9216 kB video memory at this resolution, bit depth
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Multiple symbols for level 1/group 1 on key <I5F>
> Using XF86Sleep, ignoring XF86Standby
> Warning: Symbol map for key <I5F> redefined
> Using last definition for conflicting fields
Errors from xkbcomp are not fatal to the X server
localuser:root being added to access control list
No profile for user 'root' found
SESSION_MANAGER=local/audi.nanometrics.ca:/tmp/.ICE-unix/20716
Getting adapter list failed: The name org.bluez was not provided by any .service files
Passkey agent registration failed: The name org.bluez was not provided by any .service files

** (eggcups:20784): WARNING **: IPP request failed with status 1280

** (eggcups:20784): WARNING **: IPP request failed with status 1280
Initializing nautilus-open-terminal extension

** (nm-applet:20801): WARNING **: <WARN> applet_dbus_manager_start_service(): Could not acquire the NetworkManagerUserSettings service as it is already taken. Return: 3

** Message: Could not connect to power manager: Could not get owner of name 'org.gnome.PowerManager': no such name
Unable to open desktop file /usr/share/applications/redhat-email.desktop for panel launcher: No such file or directory
Unable to open desktop file /usr/share/applications/openoffice.org-1.9-writer.desktop for panel launcher: No such file or directory
Unable to open desktop file /usr/share/applications/openoffice.org-1.9-impress.desktop for panel launcher: No such file or directory
Unable to open desktop file /usr/share/applications/openoffice.org-1.9-calc.desktop for panel launcher: No such file or directory
Introspect error: Launch helper exited with unknown return code 0
could not attach to desktop process

waiting for X server to shut down Window manager warning: Lost connection to the display ':0.0';
most likely the X server was shut down or you killed/destroyed
the window manager.

(gnome-panel:20778): libgnomevfs-WARNING **: Failed to re-activate daemon: Connection was disconnected before a reply was received
The application 'Gecko' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
..

xinit: unexpected signal 2.

-------------End of error messages-----------------------------
 
Old 10-31-2012, 10:24 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,911
Blog Entries: 14

Rep: Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142
PuTTY doesn't support X Windows directly - you'd need an X emulator to see X Windows on your MS Windows based system. You can get that by downloading Cygwin/X for Windows.

On the server run "who -r" to determine current run level. For RHEL/CentOS run level 5 is multi-user but doesn't start X. Run level 3 is multi-user and does start X. If X is already running (e.g. the console has a GUI) then you can't run "startx" to start it again. You also don't need to. You just need to address getting X to your MS Windows based system.

Last edited by MensaWater; 11-02-2012 at 07:56 AM. Reason: Fix run level 5 comment to say 5 instead of 3
 
Old 11-01-2012, 03:19 PM   #3
Nanosuz
LQ Newbie
 
Registered: Dec 2008
Distribution: Fedora 9
Posts: 9

Original Poster
Rep: Reputation: 0
Thank you MensaWater. I was able to load startx successfully from the console. I had assumed there was something wrong with xinit configuration. I haven't been able to load Cygwin/X successfully, but Now I know it's just my remote accessibility.

Cheers,

Suzan
 
Old 11-01-2012, 05:32 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,354
Blog Entries: 55

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
In addition to what MensaWater wrote:
Please edit your original post and remove the host name (no need for anyone to see it).


Quote:
Originally Posted by Nanosuz View Post
My server is running Redhat Enterprise Linux 5.5
Then it's out of date. Update 8 (bug / security fixes, improvements) was released some time ago.


Quote:
Originally Posted by Nanosuz View Post
I am running startx to launch the GUI so that I can then launch Virtual Machine Manager.
Depending on what virtualization product the machine runs a Virtual Machine Manager may be a standalone application you can install on any client machine without requiring the virtualization server to run Xorg. Saves resources and may be safer.


Quote:
Originally Posted by Nanosuz View Post
I have connected to the server using Putty (ssh) and am logged in as root.
That is not a security best practice. Unless you're inside a LAN with only trusted users / machines best not make it a habit.
 
Old 11-02-2012, 06:40 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,374

Rep: Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383
I think MensaWater has a typo here
Quote:
Run level 3 is multi-user and does start X.
On RHEL/Centos, as he said, level 3 is multi-user/server, no X server. To automatically boot with X GUI, that should be level 5.

Se the file /etc/inittab
Code:
id:5:initdefault:
 
1 members found this post helpful.
Old 11-02-2012, 07:58 AM   #6
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,911
Blog Entries: 14

Rep: Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142
Quote:
Originally Posted by chrism01 View Post
I think MensaWater has a typo here
Yep - it was a typo - it should have said run level 3 does NOT start X and run level 5 DOES start x. My original post has been updated to fix that.
 
Old 11-02-2012, 08:02 AM   #7
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,911
Blog Entries: 14

Rep: Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142
Quote:
Originally Posted by unSpawn View Post
That is not a security best practice. Unless you're inside a LAN with only trusted users / machines best not make it a habit.
Since PuTTY is using ssh by default connections to hosts are encrypted so I don't see how this is a major security issue beyond using any form of ssh into a system. One can of course do call back setups to increase security. I've seen a rather nice presentation on that idea but it isn't something you implement willy nilly as once you do it you also are restricted on local LAN.
 
Old 11-02-2012, 09:07 AM   #8
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,354
Blog Entries: 55

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
Quote:
Originally Posted by MensaWater View Post
I don't see how this is a major security issue
Simply put root should not be allowed to log in over the network.
Besides that given proper Sudo configuration it isn't even necessary.
 
Old 11-02-2012, 01:54 PM   #9
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,911
Blog Entries: 14

Rep: Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142Reputation: 1142
Quote:
Originally Posted by unSpawn View Post
given proper Sudo configuration it isn't even necessary.
I'll agree that admins should get in the habit of using sudo to become root rather than logging in directly most of the time. However on occasion ONLY the root login works. (Of course on other occasions only the console works and others only single user works.) Not every distro does the bizarre Ubuntu "sudo required for everything" setup.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fopen fails and returns err jackkerouac Programming 3 02-08-2005 09:22 PM
start up problem, can't launch startx/gui handsomechuck Mandriva 3 12-02-2004 06:30 PM
linux 7.3: running startx gives a bunch of errors Yurich Linux - General 7 10-16-2003 03:25 PM
GDM won't launch at startx slooper Linux - Software 3 05-28-2003 11:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration