Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a GTK Linux application which I want to use as an "Accept Terms of Usage" screen prior to the user logging in. The application is simple, a big Box with a Label and an Acknowledge button on the bottom. When the user clicks it the processing continues on to the gdm login screen.

The name of my application is /usr/bin/consent, I am using /usr/libexec/gdmlogin and I have added have added /usr/bin/consent as the last line in the /etc/gdm/Init/Default file.

My Problem:

The application executes fine, before anything else, the user clicks "I Acknowledge" and everything continues on to the gdmlogin screen, BUT, it is almost as if X takes a snapshot of the GTK window and places it in the upper-left corner. So now in the background, I am looking at my Acknowledgement GUI. In a process listing the application is terminated.

Any ideas?

share|improve this question

migrated from Oct 31 '13 at 10:59

This question came from our site for professional and enthusiast programmers.

I found the issue although I'm not sure why gdm behaves this way. I had a gdm background image defined, the gnome foot, so when I went in and removed the login background image from the gdm login screen things worked fine.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.