Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 11-18-2005, 07:02 AM   #1
Registered: Aug 2005
Location: England
Distribution: SUSE 10.0, LiMP (Linux Multimedia Player)
Posts: 86

Rep: Reputation: 15
How do you start X-window from command line?

Baiscally, when I start up SUSE linux on my computer at the GRUB screen (as opposed to Windows: I dual boot), about 3 times out of 7 it won't boot up the graphical login screen. I've no idea why. The screen just stays black, even when I leave it for ages.

(Fedora used to do that to me a bit as well: perhaps it's because my hardware is quite old now. Pentium III 650Mhz and 388MB RAM. I don't know.)

But I can still log in in text mode, by pressing Ctrl-Alt-F6, etc. So what I'd like to know is how can I start X-window, and then start Gnome / KDE, etc from command line? What commands to use?

And secondly, if I do decide to work on command line, what is the command to log out?

Old 11-18-2005, 07:07 AM   #2
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,513

Rep: Reputation: 58
To start the X server from command-line, type 'startx'

To logout, type 'logout' or 'exit'

To shutdown or reboot, type 'shutdown -r/h now' (r=reboot, h=halt).
Old 11-18-2005, 09:12 AM   #3
Registered: Sep 2005
Location: Coimbatore
Distribution: Prabuayyappan
Posts: 32

Rep: Reputation: 15
To start a xserver automatically at system startup and for graphical login prompt
change the following in /etc/inittab
Change it to


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
Command line screenshot of a single window Hko Programming 1 12-02-2005 09:21 AM
Retrieve Window ID in command line.. joely2k Linux - General 3 11-26-2005 11:44 AM
Command line to raise a window? joely2k Linux - General 2 11-25-2005 12:42 PM
How switch from x-window to the command line backpacker Linux - Newbie 1 06-09-2005 03:56 AM
How can I start X from the command line JTWebster Linux - Newbie 3 08-24-2002 10:38 PM > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 12:39 PM.

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