LinuxQuestions.org
Visit Jeremy's Blog.
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 07-18-2015, 02:51 AM   #1
Huamin
Member
 
Registered: May 2011
Posts: 562

Rep: Reputation: 12
Problem when I start the OS


Hi
I don't know how I can change the interface to prompt for different user account, when I start the OS below. Can you please help, as Oracle Linux is also Red hat,

https://dl.dropboxusercontent.com/u/40211031/tt241.png

and it now does only prompt with the above, after I have started the OS.

Last edited by Huamin; 07-18-2015 at 03:12 AM.
 
Old 07-18-2015, 03:51 AM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
I'm not sure what you mean by that. It does not default to any specific user account. You specify which user account you want to log in to (eg. root, or any other that exists on that system).

Do you mean that it used to default to a graphical logic interface and now it stops at a command line login?
 
Old 07-18-2015, 04:14 AM   #3
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
Yes, I expect to have the way to have the graphic user interface, when I've started the OS. Thanks a lot.
 
Old 07-18-2015, 04:21 AM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
Assuming your X Windows system is installed and works correctly, try changing the default runlevel
https://access.redhat.com/documentat...oting-GUI.html

Is this machine really running as a server or do you use it for your everyday tasks?
 
Old 07-18-2015, 05:49 AM   #5
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by Huamin View Post
Yes, I expect to have the way to have the graphic user interface, when I've started the OS. Thanks a lot.
Two more possibilities.

Likely: You don't have desktop software installed. If it were Red Hat or Centos, you would automatically get a graphics screen login prompt after installation of desktop software.
How to install desktop software depends on the Red Hat and Centos version. Don't know for Oracle Linux.

Unlikely but easy to check: Perhaps the GUI is actually running. Try hitting ALT-F1 (the Alt key and the F1 key at the same time). This brings you to the first virtual terminal, where the GUI is normally displayed.
Then the question is why you are not shown the graphics screen when the system boots. I can't say.

Questions:
  • Has it ever worked?
  • How was this system installed?

Last edited by berndbausch; 07-18-2015 at 05:57 AM. Reason: removed one question, for which the answer is obvious
 
Old 07-18-2015, 09:08 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 18,978
Blog Entries: 28

Rep: Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067
What happens when you enter this command?

Code:
startx
 
Old 07-19-2015, 11:34 PM   #7
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
Sorry, can you please advise to this?

https://dl.dropboxusercontent.com/u/40211031/tt243.png
 
Old 07-19-2015, 11:44 PM   #8
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,193
Blog Entries: 24

Rep: Reputation: 4159Reputation: 4159Reputation: 4159Reputation: 4159Reputation: 4159Reputation: 4159Reputation: 4159Reputation: 4159Reputation: 4159Reputation: 4159Reputation: 4159
You can't use gedit without a running Xserver.

The errors would indicate that there is no X server nor X applications, including gedit, installed.

As asked earlier, has this machine ever had a working X server and graphical login?

To edit the inittab if you want to try to change runlevel anyway, try with a non-graphic editor, like this...

Code:
vi /etc/inittab

OR

vim /etc/inittab

OR

nano /etc/inittab
 
Old 07-20-2015, 01:07 AM   #9
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
Many thanks. which level to adjust to, within file "/etc/inittab"?
 
Old 07-20-2015, 02:13 AM   #10
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
Quote:
Originally Posted by Huamin View Post
Many thanks. which level to adjust to, within file "/etc/inittab"?
Set it to 5.
 
Old 07-20-2015, 02:27 AM   #11
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
Sorry, what to adjust below?
https://dl.dropboxusercontent.com/u/40211031/tt235.png

Last edited by Huamin; 07-20-2015 at 02:30 AM.
 
Old 07-20-2015, 02:57 AM   #12
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan with some Tiny Core, Fatdog, Haiku, & BSD thrown in.
Posts: 5,162

Rep: Reputation: Disabled
According to your picture, you need to type graphical where it has <target.name>.
 
Old 07-20-2015, 03:51 AM   #13
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
It is the same, while I have this
https://dl.dropboxusercontent.com/u/40211031/tt237.png

now.

Last edited by Huamin; 07-20-2015 at 03:53 AM.
 
Old 07-20-2015, 05:19 AM   #14
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by Huamin View Post
It is the same, while I have this
https://dl.dropboxusercontent.com/u/40211031/tt237.png

now.
Leave the inittab. At your shell prompt, type ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target. This makes the GUI the default boot target - that is, you will boot into GUI mode.

From the other facts you have posted, it's very likely you don't have GUI software installed and will again end up with a command prompt. Still, it's worth the while to set the target to graphical.
 
Old 07-20-2015, 05:22 AM   #15
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
And a piece of advice. If you want to manage a server OS like Oracle Linux, you need a minimum of education. You could, for example, read the documentation. I don't know what Oracle provides, but Red Hat has very decent guides at access.redhat.com. Start with the deployment guide; it tells you how to configure systemd.
 
1 members found this post helpful.
  


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
problem start up ubaydullah SUSE / openSUSE 33 02-28-2009 02:04 PM
I have RHEL 5.0 and MySQL start problem, my MySQL server doesn't start rsatya Linux - Enterprise 4 02-03-2009 12:04 PM
Problem with Start Here pkashyap Linux - Newbie 1 03-05-2004 01:25 AM
start up problem JK_Aslan Linux - Newbie 1 10-24-2003 03:21 AM

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

All times are GMT -5. The time now is 04:06 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