LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cannot kill Xserver (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-kill-xserver-837762/)

Micik 10-13-2010 05:33 AM

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

prayag_pjs 10-13-2010 06:06 AM

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)

fiku 10-13-2010 06:37 AM

Quote:

Originally Posted by Micik (Post 4125909)
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.

outsourcingrbts 10-13-2010 06:47 AM

Hi Micik,

I am also facing same problem when u get the solution please to inform me!!

Micik 10-14-2010 10:42 AM

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

prayag_pjs 10-14-2010 11:07 AM

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


All times are GMT -5. The time now is 06:45 AM.