Systems, installation processes, different confusions, and GEDIT

Source: Internet
Author: User
For details about GEDIT-general Linux technology-Linux technology and application information, see the installation process of the system and installation process. For example, you have just installed the system (all updates have been installed)
The terminal cannot run the gedit command.
The connection permissions mentioned on the Internet can be ruled out as follows:

Root @ xts-Lenovo-G450:/home/xts/download # chmod 777 shell.txt
Root @ xts-Lenovo-G450:/home/xts/download # gedit shell.txt

(Gedit: 27985): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported


** (Gedit: 27985): WARNING **: cocould not connect to session bus

(.. I found that half of my posts were solved.) The problem is solved as follows:

Root @ xts-Lenovo-G450:/home/xts/download # sudo gedit shell.txt
Root @ xts-Lenovo-G450:/home/xts/download # gedit shell.txt

(Gedit: 28341): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported


** (Gedit: 28341): WARNING **: cocould not connect to session bus

Solution: Add sudo in front of gedit
Then continue posting
New linux users:
Why does a superuser need to add sudo to use gedit?






Thank you!
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.