Меню Рубрики

Exit x server linux

Linux Mint Forums

Welcome to the Linux Mint forums!

how to exit x server

how to exit x server

Post by gatorade » Sun Apr 15, 2012 6:51 pm

Re: how to exit x server

Post by tdockery97 » Sun Apr 15, 2012 7:01 pm

Re: how to exit x server

Post by mikecrosoft » Sun Apr 15, 2012 10:05 pm

ubuntu-x-swat/+archive/x-updates, this will let install and update your drivers to the latest available version by the easiest possible way.

Re: how to exit x server

Post by gatorade » Mon Apr 16, 2012 7:24 am

Re: how to exit x server

Post by Morrog » Mon Apr 16, 2012 8:18 am

Re: how to exit x server

Post by mikecrosoft » Mon Apr 16, 2012 7:07 pm

Re: how to exit x server

Post by slyscorpion » Sun Jul 20, 2014 6:59 am

Sorry for the topic necro but I am also having trouble installing the latest Linux drivers from Nvidia’s official site due to needing to exit X server. I have used Ctrl+Alt+F1 and logged into a console but the Nvidia run script still complains that I need to exit X server.

I am running Linux Mint 17 Qiana.

Looking at the options offered by the Software Manager application, I see that Nvidia 331 drivers are offered but I want newer non-beta drivers.

Источник

Перезапуск, остановка и запуск X-сервера

Содержание

Перезапуск X-сервера сочетанием клавиш

Во многих руководствах для перезапуска X-сервера предлагается нажать Ctrl + Alt + Backspace . Однако, начиная с Ubuntu 9.04, в связи с туманной возможностью случайного нажатия, эта комбинация по умолчанию отключена. Однако её очень просто вернуть обратно.

Ubuntu 8.10 и более старые

Для перезапуска X-сервера в версиях Ubuntu до 9.04 достаточно в любой момент нажать Ctrl + Alt + Backspace .

Ubuntu 9.04 «Jaunty Jackalope»

Достаточно установить пакет dontzap через Synaptic или командой:

Затем выполнить в терминале команду:

Можно включить сочетание клавиш и без доп. пакета dontzap , для этого надо вручную отредактировать xorg.conf , см. ниже секцию про Ubuntu 9.10.

Ubuntu 9.10 и более новые

Для того, чтобы включить возможность перезапуска X-сервера сочетанием клавиш в «Karmic Koala» нужно зайти в программу располагающуюся в меню «Система→Параметры→Клавиатура», там перейти на вкладку «Раскладки», нажать на кнопку «Параметры раскладки», найти пункт «Последовательность клавиш для перезагрузки Х-сервера» и поставить галочку в поле «Control + Alt + Backspace».

Кроме того, можно включить возможность перезапуска через терминал командой:

Однако действие этой команды сохраняется только до перезагрузки. Для постоянного действия просто добавьте эту команду в ваш файл

Также можно просто исправить файл xorg.conf , добавив в него секцию:

/.xinitrc может привести к очень неприятным последствиям, так что не стоит изменять эти файлы, если вы чётко не понимаете, что делаете.

Альтернативные варианты остановки X-сервера: alt+SysRq+k (тоже самое,что kill) или alt+SysRq+R,E,I — после чего можно перейти в консоль по alt+Fx и остановить или перезагрузить X-сервер.

Включение, выключение и перезапуск графической подсистемы вручную

Для остановки X-сервера зайдите в текстовую консоль (нажав Ctrl + Alt + F1 ), войдите в ней под своим именем и выполните:

Для перезапуска X-сервера необходимо вместо stop указать restart :

Для запуска графической подсистемы достаточно выполнить:

Вместо прямого вызова init-скриптов можно использовать service . Названия процессов и команды будут теми же (вызываются те же скрипты, но более прогрессивным методом). Например:

Еще один метод выполнения этих же действий:

© 2012 Ubuntu-ru — Русскоязычное сообщество Ubuntu Linux.
© 2012 Canonical Ltd. Ubuntu и Canonical являются зарегистрированными торговыми знаками Canonical Ltd.

Источник

How does one exit the X server?

The command sudo service gdm stop would successfully disable the X server in Ubuntu 11.04 temporarily.

However, this same command no longer works in Ubuntu 11.10, because «gdm» is an «unrecognized service» according to Terminal. How, then, do I disable the X server in Ubuntu 11.10?

7 Answers 7

GDM was switched out for LightDM, so:

Or in your service parlance:

For future reference, all these upstart services (that can be run with initctl’s service command and shortcuts) are .conf files in /etc/init/

The reason that doesn’t work is because Ubuntu 11.10 has switched from GDM to LightDM.

Try this command instead:

You can also use the keyboard shortcut:

A bit of a long winded keyboard shortcut, maybe too many people were pressing Ctrl+Alt+Backspace so they changed it to this.

I can confirm this as working from 10.04 through to 11.10.

@Oli pretty much nailed it, but I wanted to note that this probably won’t help you out much if you need to do something from the command line without X.

For that, you should press Ctrl + Alt + F1 , then log in from the console. Afterwards, you can kill and restart the lightdm service as needed.

Technically speaking gdm or lightdm are managing desktop session requests they are not X servers. (an X server is serving events to X application, xorg is an X server 🙂 .

To stop the X server killall X or sudo killall X if you are not owner of the process.

Of course you must have a terminal to do that.

One way if you cannot open a gnome terminal or an xterm is to start a text console; press simultaneously Ctrl + Alt + F1 keys, then login at the prompt (your password will not be shown, not even as asterisks). (F1 to F5 are ok)

Источник

Exit x server linux

Welcome to LinuxQuestions.org, a friendly and active Linux Community.

You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

Are you new to LinuxQuestions.org? Visit the following links:
Site Howto | Site FAQ | Sitemap | Register Now

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux — A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author’s experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

Click Here to receive this Complete Guide absolutely free.

when im in root and trying to install my graphics drivers, i starts up but then tells me i need to exit or disable my x server. i dont even know what that is, i tried doin it thru failsafe, and it still gave me the error. can someone please tell me how to close my x server?

‘s are all the process numbers that are related to X. examples of X-related processes are: X (duh!), xinit, gdm, xdm, xfs, kdm.
4) install the drivers
5) start x by typing «xdm» or «gdm» or «kdm» depending on which desktop manager you like to use

Enter runlevel 3 by typing init3 or if you start X by typing startx at a console, you can do a ctrl-alt-backspace to kill the X server.

The X server is the GUI that your working in.

X is the set of programs and utilties that draws pretty stuff on the screen like the mouse, graphics and windows.

You have posted very little information so to clarify this is what would have been useful to give a useful answer.

1) You mention a driver? What driver is this and why/how are you installing it?

2) Which distribution/type of linux is this?

3) The failsafe kernel? This should start at runlevel 1 or 2 and thus no X. Sounds more like the error is a little more complicated than you are already running X please stop it.

4) Post the error from /var/log/XFree86.0.log or XFree86.log or log names to that effect different distributions have different log names in the interests of ease of use.

5) Did X ever work before you attempted to install a driver? i.e. did you see a mouse cursor and pictures and graphics and windows and things like that. Not a console that looked all dos like — that is linux’s natural state and is called a console terminal.

6) Who supplied the driver — manufacturer, the linux user next door, random website e.g. sourceforge. Many «drivers» are unstable or rubbish or both e.g. nvidia’s attempts. Before doing any «upgrades» of your drivers always read up on the subject — you might not be doing your machine any favours and the driver you have might be the better one. This isnt like the windows continual upgrade dance. I have servers running the same drivers for years and years with no errors or problems other than the odd security patch.

7) Are you by any chance actually running X and in fact trying to reconfigure X whilst running X. Not a good idea. Try pressing the control key and the alt key and F1 all at the same time its a lot like the microsoft ctrl+alt+del 3 fingered salute you have to do to use word or excel or outlook or whatever but here you get a «console» login and then you can disable X from there (as described below). Do the install of your driver — although if you are already running X why fix it? Dont mess with things you arent ready for. Unless you want to — its a great way to learn — just make sure you arent working for an isp/os manufacturer and its not a router and its not running a chunk of the US of A’s internet.

Could be many things to stop X — in the interests of making things easier different linuxes run X differently.

You must be logged in as root to do this.

If its debian then try one of these:

/etc/init.d/xdm stop
/etc/init.d/gdm stop
/etc/init.d/kdm stop

If its mandrake then try:
/etc/init.d/dm stop

Also the failsafe option still starts x.

Try dropping to a state that doesnt have x.

type init 1 as root and then do your x configuration this should stop all x and networking and everything.

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

  • Kyocera fs 1060dn mac os
  • Kyocera fs 1040 драйвер mac os
  • Kx mb1500 panasonic driver mac os
  • Korg pa588 nad mac os
  • Kolor autopano giga mac os