Как установить x11 на linux
Перейти к содержимому

Как установить x11 на linux

  • автор:

Sorry, you have been blocked

This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.

What can I do to resolve this?

You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.

Cloudflare Ray ID: 7d99ea377c082d8b • Your IP: Click to reveal 88.135.219.175 • Performance & security by Cloudflare

How To Install x11-common on Ubuntu 22.04

In this tutorial we learn how to install x11-common on Ubuntu 22.04.

What is x11-common

x11-common contains the filesystem infrastructure required for further installation of the X Window System in any configuration; it does not provide a full installation of clients, servers, libraries, and utilities required to run the X Window System.

A number of terms are used to refer to the X Window System, including “X”, “X Version 11”, “X11”, “X11R6”, and “X11R7”. The version of X used in Debian is derived from the version released by the X.Org Foundation, and is thus often also referred to as “X.Org”. All of the preceding quoted terms are functionally interchangeable in an Debian system.

There are three ways to install x11-common on Ubuntu 22.04. We can use apt-get , apt and aptitude . In the following sections we will describe each method. You can choose one of them.

Install x11-common Using apt-get

Update apt database with apt-get using the following command.

After updating apt database, We can install x11-common using apt-get by running the following command:

Install x11-common Using apt

Update apt database with apt using the following command.

After updating apt database, We can install x11-common using apt by running the following command:

Install x11-common Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

After updating apt database, We can install x11-common using aptitude by running the following command:

How To Uninstall x11-common on Ubuntu 22.04

To uninstall only the x11-common package we can use the following command:

Uninstall x11-common And Its Dependencies

To uninstall x11-common and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

Remove x11-common Configurations and Data

To remove x11-common configuration and data from Ubuntu 22.04 we can use the following command:

Remove x11-common configuration, data, and all of its dependencies

We can use the following command to remove x11-common configurations, data and all of its dependencies, we can use the following command:

References

Summary

In this tutorial we learn how to install x11-common package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.

Introduction

This guide discusses the use of a Graphical User Interface (GUI) and/or desktop environment on Ubuntu servers. Conventional wisdom states that in most cases it is better to not install a GUI on a production server. Several preferable user interface alternatives for managing servers are presented.

Arguments Against a GUI

Most Ubuntu Server developers recommend not installing a GUI on a server. There are multiple reasons for not installing a GUI.

  • You’ll have more code subject to security vulnerabilities, more packages that need updating, and more server downtime.
  • Performance may suffer because resources (memory, hard disk space, CPU, etc.) will be consumed by the GUI.
  • It is best practice to only install needed software on a production server.
  • The GUI may include other network services that are inappropriate for a server.

    So for the most secure server it is best to not install a GUI.

    But there are many good alternatives for effective server management.

    Byobu, Tmux, and Screen: terminal-based windowing

    Note that Ubuntu server’s command line interface comes with a powerful window manager: the Byobu package which makes it easy to manage multiple terminal sessions. Byobu adds support for status bars, clocks, notifiers (reboot-required, updates-available) etc. The screen program underneath byobu has been in all versions of Ubuntu. Tmux is a nice replacement for screen, and is now used by default in byobu. Screen-profiles (the previous name for byobu) is in Jaunty by default, though the binary package will install and work in Hardy and Intrepid as well.

    Server configuration management

    Juju, Puppet, Chef, Landscape, Cassandra, Fabric, and a host of other remote configuration and management tools are very helpful for servers and can automate lots of tasks.

    GUI Alternatives

    Instead of installing a full GUI on an Ubuntu server, you might consider using a web based administration package such as Zentyal (formerly named eBox), ISPConfig or Webmin (although not supported any more, see why webmin is not supported).

    X11 Client Installation

    You may find it preferable to only run specific X11 clients on the server, and forward the X11 connections over ssh to display them on your desktop of choice. This way you avoid the need for an X11 server or desktop environment on the server itself. But note on the other hand that this opens up different vulnerabilities if the remote desktop can be compromised.

    To do this, install the xauth pachage, then simply install the applications you need, and apt-get will bring in other packages as needed to satisfy the dependencies.

    X11 Server Installation

    To install a minimal X11 on Ubuntu Server Edition enter the following:

    Next install a Window Manager:

    Note: you can replace openbox with fluxbox, blackbox, etc.

    Full Desktop Environments

    To install the Gnome desktop on Ubuntu server Edition enter:

    For Ubuntu 9.10 (Karmic Koala) and newer:

    The end result will be very very similar to what you would get if you installed from the ubuntu, kubuntu or xubuntu CD and added server-related packages to it. But the kernel on the server CD is tuned better for the workloads you get when running as a server, e.g. by using the "Deadline" scheduler and less frequent clock interrupts.

    Alternative:

    If the above is giving you trouble, try the tasksel way.

    (Warning: the following can remove packages that have been manually installed via apt-get.)

    Then choose which package (e.g. Ubuntu Desktop) to install. Downloading the package will take a while (no progress bar for the download portion) so be patient.

    ServerGUI (последним исправлял пользователь nealmcb 2012-09-09 18:05:52)

    The material on this wiki is available under a free license, see Copyright / License for details
    You can contribute to this wiki, see Wiki Guide for details

    How to install X11/xorg?

    My 12.04 x64 system won’t boot into GUI, but I can still use virtual console with my own account, so apparently it’s the Windows Management System that’s causing it, how can I reinstall it from tty, what’s the apt-get command?

    5 Answers 5

    Please refer to ServerGUI.

    The answer is to use this commands in terminal:

    Eric Carvalho's user avatar

    X11 Client Installation

    To do this, install the xauth pachage, then install the applications you need, and apt-get will bring in other packages as needed to satisfy the dependencies.

    X11 Server Installation

    To install a minimal X11 on Ubuntu Server Edition enter the following:

    If you certainly have run into this problem , type in the following commands:

    and you are good to go. The statements from top to bottom are dependencies to the statements after them.

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

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