Jump to content

What is the difference: startx vs init 5?


Dr. Ephemeron
 Share

Recommended Posts

boot w/o bootsplash and vga to normal. Good old black and white :rolleyes:

 

Oh, it is an nvidia issue. Happens to me. In your bootloader config change

splash=silent

to

splash=quiet

 

and change

vga= 788 (usually)

to

vga=normal

 

Linux is useless without a console.

Hi

Thanks for help, i tried to change what you said in my etc/lilo.conf but it didnt have any effect. Its still just like on a TV with black and white (Like ant warriors :) )

It not when i boot up my PC its only when i shutdown my PC...

 

Whats the problem?

Link to comment
Share on other sites

What is the difference between starting Gnome with init 5 and starting it with startx?

Read this question, it occurred to me what is technically the difference:

 

starting with

startx

means you are in init3

 

starting with

init 5

is done by root on the console/non-graphics mode. BTW that should just give you the login screen, right? Or do you use autologon? Does that session then run as root? (in which case I can only say: don't!)

 

chkconfig --list

will tell you what extra things get started, when going from init 3 to 5; you may have to run that command as root, not sure.

 

As which user would you do startx?

 

Also, realise that the first user to log onto the console gets the audio and video devices attributed to him/her, afaik...

0600 is not necessarily bad, if the owner is your user...

Link to comment
Share on other sites

Read this question, it occurred to me what is technically the difference:

 

starting with

startx

means you are in init3

 

Yep, that is right.

 

starting with

init 5

is done by root on the console/non-graphics mode. BTW that should just give you the login screen, right? Or do you use autologon? Does that session then run as root? (in which case I can only say: don't!)

 

I boot into non-graphics mode and then log in as root and then enter init 5 and Gnome starts. (I have to be root to run init 5.) Gnome does not run as root though, just as a regular user.

 

chkconfig --list

will tell you what extra things get started, when going from init 3 to 5; you may have to run that command as root, not sure.

 

As which user would you do startx?

 

I just log in as a regular user and do a startx. This is what I normally do so I don't have a console open logged in as root.

 

Also, realise that the first user to log onto the console gets the audio and video devices attributed to him/her, afaik...

0600 is not necessarily bad, if the owner is your user...

Edited by Dr. Ephemeron
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...