LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   How do you disable console mode? (https://www.linuxquestions.org/questions/debian-26/how-do-you-disable-console-mode-386554/)

shuego 11-25-2005 07:48 PM

How do you disable console mode?
 
I went to restart my comp and came back about 15 mins later and I discovered my computer was in console mode and I have no clue how to get out of it. I can log in as root but thats all I know right now at this point. if anyone can help me with this please post asap cause I just did something on my comp I need to finish.

Thanks

Samsara 11-25-2005 07:58 PM

On most systems, Alt+F7 gets you into graphical mode. If this does not work, it's likely that graphical mode is not running. In this case, return to console with Alt+F1 and as root, execute
Code:

/sbin/init 3 && /sbin/init 5
If this does not work, it is likely that your X configuration is broken.

HTH,

Samsara
.

kmoffat 11-25-2005 10:27 PM

From console mode,
you can try "startx",
or "/etc/init.d/gdm start" to get to a graphical login screen.
(assuming X is set up)

reddazz 11-26-2005 04:56 AM

Quote:

Originally posted by Samsara
On most systems, Alt+F7 gets you into graphical mode. If this does not work, it's likely that graphical mode is not running. In this case, return to console with Alt+F1 and as root, execute
Code:

/sbin/init 3 && /sbin/init 5
If this does not work, it is likely that your X configuration is broken.

HTH,

Samsara
.

Debian does not use the same runlevel system as other distros. Almost everything is run in runlevel 2 using scripts to enable or disable services.

syg00 11-26-2005 05:12 AM

Quote:

Originally posted by reddazz
Debian does not use the same runlevel system as other distros.
Why am I not surprised ...
One day I must try Debian and figure it out once and for all ...

dastrike 11-26-2005 08:45 AM

Starting up the X Window System through a display manager if for some strange reason it didn't start automatically
Code:

/etc/init.d/gdm start
(if you are not using gdm as your display manager replace gdm with kdm or xdm or some other...)

But I suspect there is something wrong since it is to say the least not exactly common for it not to start automatically.

To list all errors and warnings from the X log file, execute:
For XFree86 (Debian 3.1 'sarge'):
Code:

grep '^(EE)\|^(WW)' /var/log/XFree86.0.log
For X.Org (Debian testing 'etch', unstable 'sid'):
Code:

grep '^(EE)\|^(WW)' /var/log/Xorg.0.log
This should give a good clue on to what is going wrong. If this is still not enough, you can take a look at the entire X log file by:
For XFree86 (Debian 3.1 'sarge'):
Code:

less /var/log/XFree86.0.log
For X.Org (Debian testing 'etch', unstable 'sid'):
Code:

less /var/log/Xorg.0.log
Press q to quit less when you are done.


To re-run the X Window System configuration, execute:
For XFree86 (Debian 3.1 'sarge'):
Code:

dpkg-reconfigure xserver-xfree86 --priority=medium
For X.Org (Debian testing 'etch', unstable 'sid'):
Code:

dpkg-reconfigure xserver-xorg --priority=medium
Omit the --priority=medium part if you want to see all the questions (that normally aren't that necessary to explicitly answer)

shuego 12-02-2005 07:08 PM

I just decided to download Fedora Core 4. Im running it now and I love it! Also I tried all those things and they wouldnt work.... Thanks anyway :)

Samsara 12-04-2005 07:51 PM

Quote:

Originally Posted by reddazz
Debian does not use the same runlevel system as other distros. Almost everything is run in runlevel 2 using scripts to enable or disable services.

My apologies. People should not assume, however, that by posting in a Debian forum, they are declaring to use Debian. TS could make things much easier by indicating this in their profile or actual post.

Samsara
.

mjolnir 12-08-2005 06:50 PM

Nice info dastrike, I am going to bookmark this page because I am certain sooner or later I will need it.


All times are GMT -5. The time now is 04:03 PM.