LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-13-2010, 06:33 AM   #1
Micik
Member
 
Registered: Dec 2004
Distribution: open suse
Posts: 137

Rep: Reputation: 15
cannot kill Xserver


I have a very strange problem. During startup (suse linux old distro) LILO immediately after stratup procedure I can see login for about 1 sec and then Xserver starts. I'm unable to kill it with Ctrl+Alt+Backspace or Ctrl+F1....
So the question is: is there any way I can force linux to boot into console mode before it starts xserver? (I'm unable to modify any files since I cannot reach the consol mode)?

Is there any shortcut ky I need to press during boot in order to prevent GUI from starting?
Thanks
 
Old 10-13-2010, 07:06 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Edit the /etc/inittab file and boot in runlevel 3

and then to start X; use startx command

vi /etc/inittab

Quote:
id:3:initdefault:

Note:Runlevels
Quote:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
 
Old 10-13-2010, 07:37 AM   #3
fiku
LQ Newbie
 
Registered: Oct 2010
Posts: 25

Rep: Reputation: 2
Quote:
Originally Posted by Micik View Post
I'm unable to kill it with Ctrl+Alt+Backspace or Ctrl+F1....
To switch to console, You should use Ctrl+Alt+F1 combination.
After gaining access to the tty1 You can do what prayag_pjs have said.
 
Old 10-13-2010, 07:47 AM   #4
outsourcingrbts
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Rep: Reputation: 0
Hi Micik,

I am also facing same problem when u get the solution please to inform me!!
 
Old 10-14-2010, 11:42 AM   #5
Micik
Member
 
Registered: Dec 2004
Distribution: open suse
Posts: 137

Original Poster
Rep: Reputation: 15
Since I know what is the IP address of this computer, I have connected to the network and used telnet to login as root. And then I have edited inittab. Problem was that I was unable to get to the terminal window to edit any files.
Greetings
 
Old 10-14-2010, 12:07 PM   #6
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Its good that you know the ip address so do ssh

Quote:
ssh root@IP
Give root password and edit the file using vi editor

But you should be able to do ctrl+alt+f2 to login cli in the same computer and edit inittab file
 
  


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
xserver lost configuration, dpkg-reconfigure xserver-xorg isn't helping bezdomny Linux - Software 5 07-13-2008 01:33 PM
how to kill xserver jahanzeb1982 Linux - Newbie 1 03-19-2008 04:51 AM
xserver-xfree86: Xserver could not start on my ATI-radeon video card Shankarrajus Debian 2 07-17-2006 08:00 AM
xserver-xorg config warning: migrating xserver-xfree86 templates doctorwebbox Debian 9 07-27-2005 08:24 PM
kill xserver pleasehelpme Linux - Newbie 3 12-20-2003 09:12 AM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration