Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-25-2008, 02:11 AM   #1
Registered: Apr 2007
Distribution: suse 10.2
Posts: 324

Rep: Reputation: 31
GDM: How can I open xvkbd at login?

Hi, I have a tablet PC, and at the GDM graphical login screen, I'd like the option of using xvkbd or a similar on-screen keyboard to enter my username and password.

Is there a way I can tell GDM to add a button that will start an on-screen keyboard? Thanks in advance for suggestions!

Old 02-01-2008, 02:18 PM   #2
Registered: Apr 2007
Distribution: suse 10.2
Posts: 324

Original Poster
Rep: Reputation: 31
Hey did I stump everyone? I tried looking up how to do this, but all I found was a similar thread here that remained unanswered. If anyone can at least help point me to instructions, that'd be great!

Old 03-13-2009, 06:42 AM   #3
LQ Newbie
Registered: Dec 2004
Location: Michigan
Distribution: Ubuntu, Fedora, OpenSUSE
Posts: 1

Rep: Reputation: 0
Using xvkbd at log-in


If you are still looking for an answer, here is how I did it (on an HP TC4400 running Ubuntu 8.10 Intrepid Ibex 32-bit desktop).

1) Change the log-in screen to 'Plain', i.e., no themes. The xvkbd keyboard will not show up in a themed log-in. Do change log in to plain,
a) Click System -> Administration -> Login Window.
b) Select the 'Local' tab.
c) From the drop-down list under 'Style', select 'Plain'
d) When you select plain, a set of choices (different fro[CODE]m the themed log in choice) appears. Set screen position to x 100 and y 100. (You can change the position later by editing '/etc/gdm/gdm.conf-custom', but should leave it alone at this time.)
e) Close Login Window app.

2) Edit '/etc/gdm/Init/Default' (you will need to fire up your editor with 'sudo', as in 'sudo gedit /etc/gdm/Init/Default'). The last line should read 'exit 0'. Just before this line, insert the following -
        ## Present the xvkbd for entering credentials.  The 'sleep' ensures that the keyboard starts AFTER the log in screen and thus is not hidden behind it!
        sleep 10 && /usr/bin/xvkbd -secure -geometry -5-5 &
The '&' at the end of the 'sleep' line is essential. (I don't mean to imply that you would miss it, but I have screwed up such things before in my life, and wasted hours scratching my head afterwards.) You should tweak the 10 in 'sleep 10' after you observe how your computer reacts to it - I shortened the time considerably.

The set-up is done. Restart the X (control-alt-backspace). When you see the log-in screen for the first time, the keyboard will NOT appear immediately - remember the 'sleep 10'. Once the keyboard does appear, you should be able to use your tablet pen (or whatever pointing device you use) to enter user name and password.

Let me know if it works. If it does not, I'd like to help figure out what is not working and set it right. Good luck!



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
gdm DOUBLE LOGIN syedabdul Linux - Software 0 11-25-2006 05:28 AM
cant login via gdm linuxmandrake Ubuntu 4 02-15-2006 04:01 PM
gdm login help moschi Linux - Newbie 2 07-03-2004 12:30 PM
root cannot login through gdm bahadur Linux - Security 1 06-10-2004 01:31 AM
X login using GDM koyi Slackware 2 07-24-2003 11:00 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration