LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 08-02-2015, 05:04 PM   #1
basicunixos
LQ Newbie
 
Registered: Aug 2015
Posts: 1

Rep: Reputation: Disabled
Need Help Booting to GUI


Hello, I'm having trouble booting to GUI, It just loads to command line, I can get to the GUI by typing startx and it works that way. But I don't want it to load to command line just to boot to GUI. Thank you.
 
Old 08-02-2015, 06:36 PM   #2
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
You need to provide us with more details. At the least, a distribution so we can know what kind of package management system we're working with to make you you have the right ones installed.

However my first guess is that you're missing a display manager like GDM3, KDM, etc.

What desktop environment or window manager are you using, or want to use?
 
Old 08-02-2015, 06:39 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,533

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
I haven't used Opensuse recently so I'm not sure this will work. Check to see if you have an /etc/inittab file and open it in a text editor as root and look for a line similar to the one below:

Quote:
id:5:initdefault:
Check to see if you have the number 5 there which is what most systems use for GUI although Slackware uses 4. If you already have that or you don't have the file, you will have to wait for an Opensuse user to come along
 
Old 08-02-2015, 06:58 PM   #4
wroom
Member
 
Registered: Dec 2009
Location: Sweden
Posts: 159

Rep: Reputation: 31
On OpenSUSE one can issue the command "rcxdm status".

It will tell you weather the X Display Manager is running.
It's output is similar to the following if xdm is running ok. (Notice the text "running" to the right).
Code:
Checking for service xdm:                                                running
xdm.service - LSB: X Display Manager
   Loaded: loaded (/etc/init.d/xdm)
   Active: active (running) since Tue 2015-07-21 22:12:37 CEST; 1 weeks 5 days ago
   CGroup: /system.slice/xdm.service
           ├─4213 /usr/bin/xdm
           ├─4215 /usr/bin/X -br vt7 -auth /var/lib/xdm/authdir/authfiles/A:0-V*****
           ├─4230 -:0         
           └─4286 /usr/bin/xconsole -notify -nostdin -verbose -exitOnFail
If it says that xdm is "unused" of "failed", then you may get a clue as to what is wrong.

The text "active (running)" means the service is active and thus will be started after boot, and running means it is currently running.

One thing to attempt is running "rcxdm restart" or "rcxdm start" to see if it will run and present you with a "gui" to log on to. If it runs after starting it manually, then the service isn't activated properly, or the system booted into the wrong (non graphical) runlevel, as mentioned above.


There is more to this. What version OpenSUSE do you use? How did you install it? Using textmode or graphical installer? Has it been running in gui mode before? Have you changed graphics adapter? Have you updated the graphics driver recently? Have you made any changes to the boot settings before this happened?
 
Old 08-03-2015, 07:49 AM   #5
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
nvm... I went blind and failed to realize I was in the OpenSuSE board.
 
Old 08-03-2015, 08:18 AM   #6
ember1205
Member
 
Registered: Oct 2014
Posts: 176

Rep: Reputation: 16
/etc/inittab is no longer used in OpenSUSE. Everything is now viewed as a "target". See this documentation:

https://activedoc.opensuse.org/book/...systemd-daemon

Pay particular attention to 8.2.1.1 which will guide you through the process of setting the default target to a graphical level.
 
  


Reply



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
FC5 - Not Booting up in to GUI SadkenUK Fedora 4 08-15-2006 05:16 AM
SuSE 9.3 not booting with GUI kahlil88 SUSE / openSUSE 6 08-19-2005 12:52 AM
Booting to GUI ToothlessRebel Linux - Newbie 1 07-18-2004 04:55 PM
slackware not booting a gui Darshu55 Slackware 4 10-17-2003 11:53 PM
Booting Into GUI Macx Linux From Scratch 2 08-25-2003 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 05:48 AM.

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