How Do I Start Xserver in Ubuntu?
Contents

You can start X without starting a desktop on the machine you are running ssh from by issuing startx from the command line (provided you don’t have a command in ~/. xinitrc that then starts a desktop).

How do I run Xserver on Ubuntu?

Make sure you are logged out first.

  1. Hit Ctrl + Alt + F1 and login using your credentials.
  2. kill your current X server session by typing sudo service lightdm stop or sudo lightdm stop.
  3. Enter runlevel 3 by typing sudo init 3.
  4. Do whatever you need to do.
  5. You might be required to reboot when the installation finishes.

26 сент. 2017 г.

How do I start Xserver in Linux?

  1. Log in to your Linux system as the administrative (root) user.
  2. Open a Terminal window (if you are logged in to a system with a graphical user interface) and type “update-rc. d ‘/etc/init. …
  3. Pres “Enter.” The command is added to the startup routine on the computer.
Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest