Linux mint restart x server

Linux Mint Forums

Forum rules
There are no such things as «stupid» questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

how to exit x server

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

can someone help me to exit x server, I’m trying to install a new Nvidia driver and its telling me I need to exit x server.

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

tdockery97 Level 14
Posts: 5058 Joined: Sun Jan 10, 2010 8:54 am Location: Mt. Angel, Oregon

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

Hello tdockery97. To stop x and start x, login in a text terminal Ctrl+Alt+F(1-6) and use this commands:

sudo service lightdm stop sudo service lightdm start

NOTE: My advise is to stay out of problems and instead use the ppa in this link https://launchpad.net/~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

also interesting is to activate the ctrl+alt+backspace shortcut to quit X (available under keyboard > layouts > options)

Re: how to exit x server

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

That’s an interesting way Morrog, thanks for sharing. You’re welcome gatorade. Wish you all a great day!.

Читайте также:  Kaspersky security for linux mail

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.

  • Important Notices
  • ↳ Rules & Notices
  • ↳ Releases & Announcements
  • ↳ Main Edition Support
  • ↳ Beginner Questions
  • ↳ Installation & Boot
  • ↳ Software & Applications
  • ↳ Hardware Support
  • ↳ Graphics Cards & Monitors
  • ↳ Printers & Scanners
  • ↳ Storage
  • ↳ Sound
  • ↳ Networking
  • ↳ Virtual Machines
  • ↳ Desktop & Window Managers
  • ↳ Cinnamon
  • ↳ MATE
  • ↳ Xfce
  • ↳ Other topics
  • ↳ Non-technical Questions
  • ↳ Tutorials
  • Debian Edition Support
  • ↳ LMDE Forums
  • ↳ Beginner Questions
  • ↳ Installation & Boot
  • ↳ Software & Applications
  • ↳ Hardware Support
  • ↳ Networking
  • ↳ Tutorials
  • ↳ Other Topics & Open Discussion
  • ↳ LMDE Archive
  • Interests
  • ↳ Gaming
  • ↳ Scripts & Bash
  • ↳ Programming & Development
  • Customization
  • ↳ Themes, Icons & Wallpaper
  • ↳ Compiz, Conky, Docks & Widgets
  • ↳ Screenshots
  • ↳ Your Artwork
  • Chat
  • ↳ Introduce Yourself
  • ↳ Chat about Linux Mint
  • ↳ Chat about Linux
  • ↳ Open Chat
  • ↳ Suggestions & Feedback
  • International
  • ↳ Translations
  • ↳ Deutsch — German
  • ↳ Español — Spanish
  • ↳ Français — French
  • ↳ Italiano — Italian
  • ↳ Nederlands — Dutch
  • ↳ Português — Portuguese
  • ↳ Русский — Russian
  • ↳ Suomi — Finnish
  • ↳ Other Languages
  • ↳ Čeština-Slovenčina — Czech-Slovak
  • ↳ Magyar — Hungarian
  • ↳ 日本語 — Japanese
  • ↳ Polski — Polish
  • ↳ Svenska — Swedish
  • ↳ Українська — Ukrainian

Powered by phpBB® Forum Software © phpBB Limited

Источник

Перезапуск, остановка и запуск 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 или командой:

sudo aptitude install dontzap

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

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

Читайте также:  Dev null file linux

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

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

Найдите пункт «Комбинация клавишь для прерывания работы X-сервера» и установите галочку «Control + Alt + Backspace».

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

setxkbmap -option terminate:ctrl_alt_bksp

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

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

Section "ServerFlags" Option "DontZap" "false" EndSection

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

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

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

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

sudo /etc/init.d/lightdm stop

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

sudo /etc/init.d/lightdm restart

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

sudo /etc/init.d/lightdm start

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

sudo service lightdm stop sudo service lightdm start

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

sudo stop kdm sudo start kdm sudo restart kdm
  • Сайт
  • Об Ubuntu
  • Скачать Ubuntu
  • Семейство Ubuntu
  • Новости
  • Форум
  • Помощь
  • Правила
  • Документация
  • Пользовательская документация
  • Официальная документация
  • Семейство Ubuntu
  • Материалы для загрузки
  • Совместимость с оборудованием
  • RSS лента
  • Сообщество
  • Наши проекты
  • Местные сообщества
  • Перевод Ubuntu
  • Тестирование
  • RSS лента

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

Источник

stop/restart X server

I want to generate xorg.conf but for that X needs to not be running. How do I stop X or start without it? I tried ctrl + alt + F2 but the X server is still running. I’m running Lubuntu 14.10.

You can make changes to xorg.conf while X is running. You just need to restart X in order for the changes to take effect: killall X will restart it for you.

@drs X: no process found is what I got. I made minimal ubuntu installation. I’ve installed X11 and then openbox and fbpanel .

2 Answers 2

I ended up doing the following:

sudo service lightdm stop 

Then I had to run ctrl + alt + F2 and log in the second terminal, otherwise it would just sit there with dark screen. To start it back up:

sudo service lightdm start 

lxdm starts/stops the X server.

Читайте также:  Linux vps with gui

The default installation of lubuntu since 12.04 uses lightdm rather than lxdm as its display manager, I think — in which case it would more likely be sudo service lightdm stop

You must log in to answer this question.

Hot Network Questions

Subscribe to RSS

To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

Site design / logo © 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA . rev 2023.7.17.43537

Linux is a registered trademark of Linus Torvalds. UNIX is a registered trademark of The Open Group.
This site is not affiliated with Linus Torvalds or The Open Group in any way.

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

Источник

Thread: how do you restart X server?

007casper is offlineExtra Foam Sugar Free Ubuntu

how do you restart X server?

phosphide is offlineJust Give Me the Beans!

Re: how do you restart X server?

I’m assuming you need to reset your graphic settings correct?

1. Restart your computer.
2. When you get to the grub loading screen hit the Esc button.
3. Arrow down to recovery mode.
4. Select «Boot into Low Graphics Mode» I believe this is the option, sorry if I got the name wrong.
5. From there, you will be prompted with a window that will allow you to restart your x server.
6. Restart your computer again.

If you are doing something else, then just ignore everything I just said.

By the way, I just noticed your talking about kubuntu. The options might be a little different, though I believe it’s generally the same process.

007casper is offlineExtra Foam Sugar Free Ubuntu

Re: how do you restart X server?

I am having nvidia driver issues. The computer wont boot up with the graphics card installed.

I removed the graphics card. I also removed nvidia driver and reinstalled the drivers.

I got a pop up window that stated to do nvidia-xconfig as root. Then, restart X server. So, I did sudo nvidia-xconfig.

last time, instead of restarting X server, I turned off the computer. Then, I installed the video graphics card, and I reboot the computer. However, it just hangs. So, I took out the video card again, and then reinstalled the nvidia driver. This time instead of rebooting the computer, I just wanted to restart X server.

Please, help out. Thank you.

Источник

Оцените статью
Adblock
detector