LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-10-2006, 10:33 AM   #1
SquishyMarbles
Member
 
Registered: Apr 2006
Posts: 39

Rep: Reputation: 15
How do I start GNOME from the command line?


Alright, so I have a guest OS running under Xen, but the thing doesn't boot into Gnome, and I want a GUI. I know that I installed Gnome with it, but can someone tell me how to start it from a command line?

I've looked all over and I can't find an answer. It seems like this would be pretty easy...
 
Old 04-10-2006, 10:35 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
use startx to boot X. and enter the window manager command into ~/.Xinitrc, e.g. "gnome-session" and that'll be run once X is ready for a window manager.
 
Old 04-10-2006, 10:46 AM   #3
SquishyMarbles
Member
 
Registered: Apr 2006
Posts: 39

Original Poster
Rep: Reputation: 15
Alright, I ran startx and here is what I got. I've got to run out of the house for a moment, otherwise I'd try to look this up. However, here is what happens when I run startx

Code:
xauth:  creating new authority file /root/.serverauth.1613

X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.9-22.18.bz155725.ELsmp i686Red Hat, Inc.
Current Operating System: Linux localhost.localdomain 2.6.15-1.2054_FC5xenU #1 SMP Tue Mar 14 16:53:12 EST 2006 i686
Build Date: 06 March 2006
        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: Mon Apr 10 11:46:53 2006
(EE) Unable to locate/open config file

Fatal server error:
xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)

XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.
Couldnt get a file descriptor referring to the console
Thanks for any help!
 
Old 04-10-2006, 12:34 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well you've never donfigured it even by the look of it... run system-config-display under rhel / centos / fedora...
 
Old 04-10-2006, 03:29 PM   #5
SquishyMarbles
Member
 
Registered: Apr 2006
Posts: 39

Original Poster
Rep: Reputation: 15
curious. It will not let me run system-config-display. It gives me the following error:

Code:
[root@localhost /]# /usr/bin/system-config-display
Traceback (most recent call last):
  File "/usr/share/system-config-display/xconf.py", line 388, in ?
    if xconfigpath and not output_file_specified:
NameError: name 'xconfigpath' is not defined
This definitely the worst installation of Linux I've ever seen. I don't get it. I tried to connect to some samba shares earlier, and it was giving me weird errors despite the fact that I could get Windows to work with it. Evidently there is something wrong with my virtualized install. I'm thinking of scrapping it, and starting over.

Anyway, thanks for the help, acid_kewpie (the only name weirder than mine)
 
  


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
How do you start X-window from command line? yekrahs SUSE / openSUSE 2 11-18-2005 09:12 AM
Sed Command : Line Start with benjagol Linux - Newbie 2 05-31-2005 02:28 AM
How to start up in to command line? prettyhatem Linux - Newbie 5 09-07-2004 02:01 PM
FlightGear won't start from command line sofasurfer Linux - Games 4 01-10-2004 04:12 AM
How can I start X from the command line JTWebster Linux - Newbie 3 08-24-2002 10:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:18 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
Open Source Consulting | Domain Registration