انجمنهای فارسی اوبونتو
کمک و پشتیبانی => انجمن عمومی => نویسنده: Yoord در 05 فروردین 1397، 11:23 بظ
-
متاسفانه تو صفحه لاگین lightdm میزکارهای دیگه نشون داده نمیشن. lightdm رو چند بار پاک کرده و دوباره نصب کردم ولی مشکلی همچنان هست.میخواستم gdm رو نصب و فعال کنم که متاسفانه سیستم کلا بالا نیومد و مجبور شدم دوباره lightdm رو انتخاب کنم. لطفا بگین چیکار کنم اینو.
ubuntu 16.04
اینم ببینید بد نیست. فیلمبرداریش کردم. ( حجمش 496 کیلوبایته )
http://uupload.ir/view/t16i_doc_2018-03-25_23-21-31.mp4
-
با سلام
اول دستور زیر رو بزنین ببینین مشکلتون حل می شه یا نه ؟
sudo dpkg-reconfigure lightdm
اگه حل نشد اول خروجی این دستور رو بذارین :
ls /usr/share/xsessions/*.desktop
در ضمن بگین که کدوم میزکارها نصب هستن ولی نیشون داده نمی شن
-
با سلام
اول دستور زیر رو بزنین ببینین مشکلتون حل می شه یا نه ؟
sudo dpkg-reconfigure lightdm
اگه حل نشد اول خروجی این دستور رو بذارین :
ls /usr/share/xsessions/*.desktop
در ضمن بگین که کدوم میزکارها نصب هستن ولی نیشون داده نمی شن
با کد اول چند بار gdm رو انتخاب کردم و کار نکرد و مجبور شدم با همون روش دوباره lightdm رو انتخاب کنم
اینم میزکارهای بنده
/usr/share/xsessions/gnome.desktop /usr/share/xsessions/unity8-lxc.desktop
/usr/share/xsessions/ubuntu.desktop
-
ممکنه مشکل از نحوه ی نصب میزکارها باشه و درست نصب نشده باشن پس شما این چن تا کار رو انجام بدین :
1.خروجی این دستور رو بذارین :
dpkg -l | grep gnome
در ضمن بگین اون unity8-lxc رو چطوری نصب کردین ؟ از طریق snap یا ppa ؟ چون تا جایی که من اطلاع دارم پکیجی که بتونه unity8-lxc.desktop رو بسازه تو مخازن رسمی اوبونتو 16.04 نیست ولی محض اطمینان خروجی این دستورات رو بذارین :
dpkg -S /usr/share/xsessions/unity8-lxc.desktop
dpkg -l | grep unity8
2.برای اینکه تست کنیم که مشکل از میزکارها هستش یا lightdm این دستورات رو بزنین
اگه میزکار گنوم رو سیستم شما درست نصب شده باشه بعد زدن این دستورات بدون نیاز به تعویض session توی lightdm باید برین توی گنوم :
sed -i 's/ubuntu/gnome/g' .dmrc
sudo service lightdm restart
حالا بعد وارد کردن رمزتون باید به میزکار گنوم برین اگه همه چی اوکی بود اطلاع بدین
در ضمن اگه به مشکل خوردین (ناشی از درست نصب نشدن گنوم) اگه ممکن باشه از طریق lightdm میزکار رو عوض کنین و اگه ممکن نبود به محیط tty برین و این دستورات رو بزنین :
sed -i 's/gnome/ubuntu/g' .dmrc
sudo service lightdm restart
و باز هم نتیجه رو اعلام کنین
-
dpkg -l | grep gnome
ii chrome-gnome-shell 9-0ubuntu1~ubuntu16.04.3 all GNOME Shell extensions integration for web browsers
ii compiz-gnome 1:0.9.12.3+16.04.20180221-0ubuntu1 amd64 OpenGL window and compositing manager - GNOME window decorator
ii gir1.2-gnomebluetooth-1.0:amd64 3.20.0-1ubuntu1~ubuntu16.04.1 amd64 Introspection data for GnomeBluetooth
ii gir1.2-gnomedesktop-3.0:amd64 3.20.2-0ubuntu1~xenial0 amd64 Introspection data for GnomeDesktop
ii gir1.2-gnomekeyring-1.0 3.12.0-1build1 amd64 GNOME keyring services library - introspection data
ii gkbd-capplet 3.6.0-1ubuntu2 amd64 GNOME control center tools for libgnomekbd
ii gnome-accessibility-themes 3.20.2-1ubuntu1~xenial1 all Accessibility themes for the GNOME desktop
ii gnome-backgrounds 3.20-1~xenial1 all Set of backgrounds packaged with the GNOME desktop
ii gnome-bluetooth 3.20.0-1ubuntu1~ubuntu16.04.1 amd64 GNOME Bluetooth tools
ii gnome-calculator 1:3.18.3-0ubuntu1.16.04.1 amd64 GNOME desktop calculator
ii gnome-calendar 3.20.4-0ubuntu0.1 amd64 Calendar application for GNOME
ii gnome-chess 1:3.20.1-1~ubuntu16.04.1 amd64 chess game with 3D graphics
ii gnome-color-manager 3.18.0-1ubuntu1 amd64 Color management integration for the GNOME desktop environment
ii gnome-contacts 3.20.0-1ubuntu1~ubuntu16.04.1 amd64 Contacts manager for GNOME
ii gnome-control-center 1:3.20.1-2ubuntu3~xenial1 amd64 utilities to configure the GNOME desktop
ii gnome-control-center-data 1:3.20.1-2ubuntu3~xenial1 all configuration applets for GNOME - data files
ii gnome-desktop3-data 3.20.2-0ubuntu1~xenial0 all Common files for GNOME desktop apps
ii gnome-disk-utility 3.20.2-0ubuntu1~xenial1 amd64 manage and configure disk drives and media
ii gnome-font-viewer 3.20.2-1~xenial1 amd64 font viewer for GNOME
ii gnome-icon-theme 3.12.0-1ubuntu3 all GNOME Desktop icon theme
ii gnome-icon-theme-symbolic 3.12.0-1 all GNOME desktop icon theme (symbolic icons)
ii gnome-keyring 3.18.3-0ubuntu2 amd64 GNOME keyring services (daemon and tools)
ii gnome-mahjongg 1:3.20.0-2~ubuntu16.04.1 amd64 classic Eastern tile game for GNOME
ii gnome-menus 3.13.3-6ubuntu3.1 amd64 GNOME implementation of the freedesktop menu specification
ii gnome-mines 1:3.20.1-1~ubuntu16.04.1 amd64 popular minesweeper puzzle game for GNOME
ii gnome-online-accounts 3.20.3-1~ubuntu16.04.1 amd64 service to manage online accounts for the GNOME desktop
ii gnome-orca 3.18.2-1ubuntu3 all Scriptable screen reader
ii gnome-power-manager 3.20.0-0ubuntu1~ubuntu16.04.1 amd64 power management tool for the GNOME desktop
ii gnome-screensaver 3.6.1-7ubuntu4 amd64 GNOME screen saver and locker
ii gnome-screenshot 3.20.1-1ubuntu1~ubuntu16.04.1 amd64 screenshot application for GNOME
ii gnome-session 3.20.0-2ubuntu1~xenial1 all GNOME Session Manager - GNOME 3 session
ii gnome-session-bin 3.20.0-2ubuntu1~xenial1 amd64 GNOME Session Manager - Minimal runtime
ii gnome-session-canberra 0.30-2.1ubuntu1 amd64 GNOME session log in and log out sound events
ii gnome-session-common 3.20.0-2ubuntu1~xenial1 all GNOME Session Manager - common files
ii gnome-settings-daemon 3.20.1-2ubuntu1~ubuntu16.04.1 amd64 daemon handling the GNOME session settings
ii gnome-settings-daemon-schemas 3.20.1-2ubuntu1~ubuntu16.04.1 all gnome-settings-daemon schemas
ii gnome-shell 3.20.4-0ubuntu2~ubuntu16.04.1 amd64 graphical shell for the GNOME desktop
ii gnome-shell-common 3.20.4-0ubuntu2~ubuntu16.04.1 all common files for the GNOME graphical shell
ii gnome-software 3.20.5-0ubuntu0.16.04.8 amd64 Software Center for GNOME
ii gnome-software-common 3.20.5-0ubuntu0.16.04.8 all Software Center for GNOME (common files)
ii gnome-sudoku 1:3.20.4-1~ubuntu16.04.1 amd64 Sudoku puzzle game for GNOME
ii gnome-system-log 3.9.90-4 amd64 system log viewer for GNOME
ii gnome-system-monitor 3.20.1-1ubuntu1~ubuntu16.04.1 amd64 Process viewer and system resource monitor for GNOME
ii gnome-terminal 3.20.2-1ubuntu3~ubuntu16.04.1 amd64 GNOME terminal emulator application
ii gnome-terminal-data 3.20.2-1ubuntu3~ubuntu16.04.1 all Data files for the GNOME terminal emulator
ii gnome-themes-standard:amd64 3.20.2-1ubuntu1~xenial1 amd64 Adwaita GTK+ 2 theme — engine
ii gnome-themes-standard-data 3.20.2-1ubuntu1~xenial1 all Adwaita GTK+ 2 theme — common files
ii gnome-tweak-tool 3.20.1-1~xenial1 all tool to adjust advanced configuration settings for GNOME
ii gnome-user-guide 3.20.2-1~xenial1 all GNOME user's guide
ii gnome-user-share 3.14.2-2ubuntu4 amd64 User level public file sharing via WebDAV or ObexFTP
ii gnome-video-effects 0.4.1-3ubuntu1 all Collection of GStreamer effects
ii language-pack-gnome-en 1:16.04+20161009 all GNOME translation updates for language English
ii language-pack-gnome-en-base 1:16.04+20160627 all GNOME translations for language English
ii language-selector-gnome 0.165.4 all Language selector for Ubuntu
ii libgnome-bluetooth13:amd64 3.20.0-1ubuntu1~ubuntu16.04.1 amd64 GNOME Bluetooth tools - support library
ii libgnome-desktop-3-12:amd64 3.20.2-0ubuntu1~xenial0 amd64 Utility library for loading .desktop files - runtime files
ii libgnome-keyring-common 3.12.0-1build1 all GNOME keyring services library - data files
ii libgnome-keyring0:amd64 3.12.0-1build1 amd64 GNOME keyring services library
ii libgnome-keyring1.0-cil 1.0.0-5 amd64 CLI library to access the GNOME Keyring daemon
ii libgnome-menu-3-0:amd64 3.13.3-6ubuntu3.1 amd64 GNOME implementation of the freedesktop menu specification
ii libgnomekbd-common 3.6.0-1ubuntu2 all GNOME library to manage keyboard configuration - common files
ii libgnomekbd8:amd64 3.6.0-1ubuntu2 amd64 GNOME library to manage keyboard configuration - shared library
ii libp11-kit-gnome-keyring:amd64 3.18.3-0ubuntu2 amd64 GNOME keyring module for the PKCS#11 module loading library
ii libp11-kit-gnome-keyring:i386 3.18.3-0ubuntu2 i386 GNOME keyring module for the PKCS#11 module loading library
ii libpam-gnome-keyring:amd64 3.18.3-0ubuntu2 amd64 PAM module to unlock the GNOME keyring upon login
ii libreoffice-gnome 1:5.1.6~rc2-0ubuntu1~xenial3 amd64 office productivity suite -- GNOME integration
ii libsoup-gnome2.4-1:amd64 2.54.1-1~xenial1 amd64 HTTP library implementation in C -- GNOME support library
ii network-manager-gnome 1.2.6-0ubuntu0.16.04.4 amd64 network management framework (GNOME frontend)
ii network-manager-pptp-gnome 1.1.93-1ubuntu1 amd64 network management framework (PPTP plugin GNOME GUI)
ii pinentry-gnome3 0.9.7-3 amd64 GNOME 3 PIN or pass-phrase entry dialog for GnuPG
ii policykit-1-gnome 0.105-2ubuntu2 amd64 GNOME authentication agent for PolicyKit-1
ii system-config-printer-gnome 1.5.7+20160212-0ubuntu2 all Printer configuration GUI
ii thunderbird-gnome-support 1:52.6.0+build1-0ubuntu0.16.04.1 amd64 Email, RSS and newsgroup client - GNOME support
dpkg -S /usr/share/xsessions/unity8-lxc.desktop
unity8-lxc: /usr/share/xsessions/unity8-lxc.desktop
dpkg -l | grep unity8
ii unity8 8.12+16.04.20160401-0ubuntu1 amd64 Unity 8 shell
ii unity8-common 8.12+16.04.20160401-0ubuntu1 all Unity 8 shell (common files)
ii unity8-desktop-session-mir 1.0.12+15.10.20150609-0ubuntu1 all Unity8 desktop session for Mir
ii unity8-lxc 1.0.5+16.04.20151027-0~81~201604051158~ubuntu16.04.1 all Unity8 LXC integration
ii unity8-private:amd64 8.12+16.04.20160401-0ubuntu1 amd64 Unity 8 private libs
این رو که میزنم
sed -i 's/ubuntu/gnome/g' .dmrc
sudo service lightdm restart
مستقیم باز نمیکنه و صفحه lightdm میاد
اینارو هم که زدم تو محیط tty
sed -i 's/gnome/ubuntu/g' .dmrc
sudo service lightdm restart
lightdm باز همون قبلیه و تغییر نکرد.
من قبلا این مشکل رو نداشتم. توزیع رو که عوض کردیم، قبلش از فایل های deb موجود در کش ، بک آپ گرفته بودم. بعد از نصب اوبونتو، اینارو دوباره با sudo dpkg -i *.deb نصب کردم. بعد دیدم که این مشکل به وجود اومده. gdm رو که نصب میکنم، سیستم کلا بالا نمیاد و تو لوگوی اوبونتو میمونه.
-
میزکار گنوم کامل نصب نشده دستور زیر رو بزنین تا پکیج های اضافی که لازم هستن ولی نصب نشدن ، نصب بشن:
sudo apt update
sudo apt install --reinstall ubuntu-gnome-desktop
بعدش می تونین انتخاب کنین dm تون gdm باشه یا lightdm (تو پروسه ی نصب درخواستش ظاهر می شه)
پکیج unity8-lxc تو مخازن رسمی نیستش اگه می خواین پاکش کنین (که من توصیه ام همینه چون یونیتی 8 به خودی خود ، فعلا پایداری کافی نداره چه برسه به اینکه از ppa بخواد نصب بشه) ولی اگه اصرار دارین ، اونو هم باید دوباره نصبش کنین تا درست بشه :
sudo add-apt-repository ppa:unity8-desktop-session-team/unity8-preview-lxc
sudo apt update
sudo apt install --reinstall unity8-lxc
sudo unity8-lxc-setup
در ضمن من نگفتم با زدن دستور sed -i 's/ubuntu/gnome/g' .dmrc خودکار می رین توی گنوم ! (برای اینکار باید در کنار دستور قبل ، auto-login هم توی کانفیگ lightdm برای یوزر شما تعریف بشه که من چنین کاری نکرده بودم)
گفتم بدون نیاز به تعویض session (از محیط greeter) میرین توی گنوم یعنی اول باید پسوردتون رو بزنین بعدش برین توی گنوم حتی اینو هم نوشته بودم :
حالا بعد وارد کردن رمزتون باید به میزکار گنوم برین اگه همه چی اوکی بود اطلاع بدین
----
ویرایش : اگه دوست دارین unity8 رو تجربه کنین بهتره پکیج unity8-desktop-session-mir رو نصب کنین تا یه پکیج خارج از مخازن :
sudo apt install unity8-desktop-session-mir
-
زدم ابزارهای مورد نیاز گنوم دوباره نصب شه که آخرش اینو داد
Error: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1
-
می شه خروجی رو کامل بذارین دقیقا متن کامل خروجی چی بودش ؟
-
دو بار ریستارت کردم، ارور نمیده الان ولی یه چیز جالب که لوگوی اوبونتو عوض شده! :)
مشکل lightdm هم پا برجاست هنوز
-
عوض شدن اون splash screen مشکلی نداره اگه قبلیه رو دوست دارین می تونین دوباره برگردونینش
ولی در مورد میزکار ، دوباره این دستورات رو تست کنین :
sed -i 's/ubuntu/gnome/g' .dmrc
sudo service lightdm restart
حالا پسوردتون رو بزنین و با یوزرتون لاگین کنین الان سیستم با میزکار گنوم درست بالا میاد ؟
-
نشد باز. روی آیکن اوبونتو در صفحه لاگین که کلیک میکنم تا لیست میزکارها رو نشون بده، هیچی نمیاد.
این فایل رو ببین. اینجوریه
http://uupload.ir/view/t16i_doc_2018-03-25_23-21-31.mp4