Problems encountered when compiling gtk programs in linux

Source: Internet
Author: User
Problems encountered when compiling gtk programs in linux-general Linux technology-Linux programming and kernel information. The following is a detailed description. Because it is too dish, when you write a gtk interface program, start this program from the console and find that if it is a program created by a common user, however, when you switch to the root permission in the console to run a program with an interface, you will always find the following prompt, but it can also run, so you have never been concerned about it and can run it anyway.

(Xdown: 3362): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason: None of the authentication protocols specified are supported and host-based authentication failed.
Loading simple Config module...
Creating backend...
Loading socket FrontEnd module...
Starting SCIM as daemon...

Later, I found a hero who said that the su command was used. It was originally necessary to add a minus sign "-" When su went to root so that the root environment variable could be taken over, so with this su, you will find that your current directory is in the root home directory, and then there will be no problem when running the gtk program. The reason for a deeper level should be the desktop system settings, which needs to be further investigated.
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.