{"id":173,"date":"2011-07-26T10:26:49","date_gmt":"2011-07-26T10:26:49","guid":{"rendered":"http:\/\/www.extradrm.com\/?p=173"},"modified":"2013-05-18T09:19:35","modified_gmt":"2013-05-18T07:19:35","slug":"configurer-ssh-sur-debian","status":"publish","type":"post","link":"https:\/\/www.extradrm.com\/?p=173","title":{"rendered":"Configurer SSH \/ Install Gnome \/ Kde sur Debian"},"content":{"rendered":"<p>Si le service SSH n&#8217; est pas install\u00e9 :<\/p>\n<pre>apt-get ssh<\/pre>\n<p>Si le service est install\u00e9, D\u00e9marrez le service<\/p>\n<pre>\/etc\/init.d\/sshd start<\/pre>\n<p>Sinon, collez le contenu de la configuration dans\u00a0 \/etc\/sshd.conf<\/p>\n<p>===================================================<\/p>\n<p>Pour installer l&#8217; interface graphique de Gnome, il y a 2 options<\/p>\n<p><!--more--><\/p>\n<pre>\r\nComme root:\r\napt-get install gnome\r\n<\/pre>\n<p>Ce sera une installation compl\u00e8te &#8230; Sinon<\/p>\n<pre>\r\napt-get install gnome-core<\/pre>\n<p>Ce sera une installation du module de base pour lancer l&#8217; interface graphique &#8230;.<\/p>\n<pre>startgnome<\/pre>\n<p>==============================================================<\/p>\n<p>Debian Lenny comes with KDE 3.5.10 and GNOME 2.22, and will install by default the entire GNOME desktop environment and the X Window System. This means many applications which you may never use will also be installed, so here is a solution in order to get only a basic system and then install only the packages you need.<\/p>\n<p>This tutorial will briefly show what you have to do in order to have a basic and minimum Debian installation on your PC.<\/p>\n<p>First, when the installer reaches the window where it asks what software you want to install (like Desktop Environment, Web Server, Basic System etc.), just de-select the Desktop Environment option using the SPACE key, and also make sure the Basic System option remains selected.<\/p>\n<p>After the installation is over, Debian will ask to reboot the computer, then it will boot to a shell login. Login as root, then type the following commands in order to only get the core packages for the X Window System and your desktop environment of choice:<\/p>\n<p>If you want GNOME, type:<\/p>\n<pre>apt-get update\r\napt-get install xserver-xorg-core gdm gnome-core<\/pre>\n<p>If you want KDE, type:<\/p>\n<pre>apt-get update\r\napt-get install xserver-xorg-core kdm kde-core<\/pre>\n<p>Either of those commands will only install a minimum needed for running Debian graphically, so you will be able after that to install only the applications which you actually need.<\/p>\n<p>gdm and kdm stand for GNOME Display Manager and, respectively, K Display Manager and they are, as the name suggests, the login applications for GNOME and KDE. gnome-core and kde-core will only fetch and install the basic libraries and applications needed to run GNOME and, respectively, KDE. This means that in KDE, for example, only applications like KControl, Kate or Konqueror (but not applications like noatun or kdegames) will be installed. You then get to choose which image viewer, music and video players will install.<\/p>\n<p>Next, to start the X Server, use one of the commands as root:<\/p>\n<p>If you installed GNOME and GDM:<\/p>\n<pre>\/etc\/init.d\/gdm start<\/pre>\n<p>If you installed KDE and KDM:<\/p>\n<pre>\/etc\/init.d\/kdm start<\/pre>\n<p>If the X server fails to start, try, as root:<\/p>\n<pre>dpkg-reconfigure xserver-xorg<\/pre>\n<p>And specify the driver vesa in section Device inside the \/etc\/X11\/xorg.conf file. You may need to install the specific video driver for your video card.<\/p>\n<p>================ Start gnome ================<\/p>\n<pre>startx<\/pre>\n<p>This starts X.<\/p>\n<p>=========================================<\/p>\n<p>I think you need to type this before you type &#8216;startx&#8217;<\/p>\n<div>\n<div>Code:<\/div>\n<pre>echo \"exec gnome-session\" &gt; ~\/.xinitrc<\/pre>\n<\/div>\n<p>to have GNOME start automatically. Otherwise you need to type<\/p>\n<div>\n<div>Code:<\/div>\n<pre>gnome-session<\/pre>\n<\/div>\n<p>after X is started.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Si le service SSH n&#8217; est pas install\u00e9 : apt-get ssh Si le service est install\u00e9, D\u00e9marrez le service \/etc\/init.d\/sshd start Sinon, collez le contenu de la configuration dans\u00a0 \/etc\/sshd.conf =================================================== Pour installer l&#8217;&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":2843,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[34,14],"tags":[],"youtube_video":null,"_links":{"self":[{"href":"https:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/posts\/173"}],"collection":[{"href":"https:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.extradrm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=173"}],"version-history":[{"count":0,"href":"https:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/posts\/173\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/media\/2843"}],"wp:attachment":[{"href":"https:\/\/www.extradrm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.extradrm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.extradrm.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}