LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-10-2011, 10:35 PM   #1
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,033

Rep: Reputation: 69
A question about Xnest...


I'm trying to login via xdm on another server by sshing in for security using X11 forwarding and then running Xnest.

I do the following:
Code:
ssh -Y -C hostname
Xnest :0 -query localhost
Then I get the ugly xdm login prompt. However, when I hit the 'r' on the keyboard the cursor goes from the username field down to the password field. So the keyboard map is all off. How do I correct this?

My versions of Xnest do not have the -kb option or -kbmap option.
 
Old 12-14-2011, 02:13 AM   #2
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,033

Original Poster
Rep: Reputation: 69
Turns out the xkb mode was not set. You can set it with setxkbmap command.

I have tested it on a computer and it works great. However, I can get this same setup to work on the other computer. I have even copied the config files form /etc/X11/xdm over just to be sure.

Basically I ssh -Y -C server. Then once in I run Xnest :1 -query localhost. I get the popup window for the xdm login. I put in my credentials and when I hit enter I just get the popup window again. Almost as if the authentication module is disabled. I ran xdm with -debug 5 and here's what I have. Nothing informative though.

Code:
[dix] Could not init font path element /usr/share/fonts/local, removing from list!
[dix] Could not init font path element /usr/share/fonts/CID, removing from list!
5 XSELINUXs still allocated at reset
SCREEN: 0 objects of 52 bytes = 0 total bytes 0 private allocs
DEVICE: 4 objects of 16 bytes = 64 total bytes 0 private allocs
CLIENT: 0 objects of 100 bytes = 0 total bytes 0 private allocs
WINDOW: 0 objects of 48 bytes = 0 total bytes 0 private allocs
PIXMAP: 1 objects of 12 bytes = 12 total bytes 0 private allocs
GC: 0 objects of 16 bytes = 0 total bytes 0 private allocs
CURSOR: 0 objects of 4 bytes = 0 total bytes 0 private allocs
CURSOR_BITS: 0 objects of 4 bytes = 0 total bytes 0 private allocs
DBE_WINDOW: 0 objects of 12 bytes = 0 total bytes 0 private allocs
TOTAL: 5 objects, 76 bytes, 0 allocs
4 DEVICEs still allocated at reset
DEVICE: 4 objects of 16 bytes = 64 total bytes 0 private allocs
CLIENT: 0 objects of 100 bytes = 0 total bytes 0 private allocs
WINDOW: 0 objects of 48 bytes = 0 total bytes 0 private allocs
PIXMAP: 1 objects of 12 bytes = 12 total bytes 0 private allocs
GC: 0 objects of 16 bytes = 0 total bytes 0 private allocs
CURSOR: 0 objects of 4 bytes = 0 total bytes 0 private allocs
CURSOR_BITS: 0 objects of 4 bytes = 0 total bytes 0 private allocs
DBE_WINDOW: 0 objects of 12 bytes = 0 total bytes 0 private allocs
TOTAL: 5 objects, 76 bytes, 0 allocs
1 PIXMAPs still allocated at reset
PIXMAP: 1 objects of 12 bytes = 12 total bytes 0 private allocs
GC: 0 objects of 16 bytes = 0 total bytes 0 private allocs
CURSOR: 0 objects of 4 bytes = 0 total bytes 0 private allocs
CURSOR_BITS: 0 objects of 4 bytes = 0 total bytes 0 private allocs
DBE_WINDOW: 0 objects of 12 bytes = 0 total bytes 0 private allocs
TOTAL: 1 objects, 12 bytes, 0 allocs
1 DAMAGEs still allocated at reset
TOTAL: 0 objects, 0 bytes, 0 allocs
[dix] Could not init font path element /usr/share/fonts/local, removing from list!
[dix] Could not init font path element /usr/share/fonts/CID, removing from list!
5 XSELINUXs still allocated at reset
SCREEN: 0 objects of 52 bytes = 0 total bytes 0 private allocs
DEVICE: 4 objects of 16 bytes = 64 total bytes 0 private allocs
CLIENT: 0 objects of 100 bytes = 0 total bytes 0 private allocs
WINDOW: 0 objects of 48 bytes = 0 total bytes 0 private allocs
PIXMAP: 1 objects of 12 bytes = 12 total bytes 0 private allocs
GC: 0 objects of 16 bytes = 0 total bytes 0 private allocs
CURSOR: 0 objects of 4 bytes = 0 total bytes 0 private allocs
CURSOR_BITS: 0 objects of 4 bytes = 0 total bytes 0 private allocs
DBE_WINDOW: 0 objects of 12 bytes = 0 total bytes 0 private allocs
TOTAL: 5 objects, 76 bytes, 0 allocs
4 DEVICEs still allocated at reset
DEVICE: 4 objects of 16 bytes = 64 total bytes 0 private allocs
CLIENT: 0 objects of 100 bytes = 0 total bytes 0 private allocs
WINDOW: 0 objects of 48 bytes = 0 total bytes 0 private allocs
PIXMAP: 1 objects of 12 bytes = 12 total bytes 0 private allocs
GC: 0 objects of 16 bytes = 0 total bytes 0 private allocs
CURSOR: 0 objects of 4 bytes = 0 total bytes 0 private allocs
CURSOR_BITS: 0 objects of 4 bytes = 0 total bytes 0 private allocs
DBE_WINDOW: 0 objects of 12 bytes = 0 total bytes 0 private allocs
TOTAL: 5 objects, 76 bytes, 0 allocs
1 PIXMAPs still allocated at reset
PIXMAP: 1 objects of 12 bytes = 12 total bytes 0 private allocs
GC: 0 objects of 16 bytes = 0 total bytes 0 private allocs
CURSOR: 0 objects of 4 bytes = 0 total bytes 0 private allocs
CURSOR_BITS: 0 objects of 4 bytes = 0 total bytes 0 private allocs
DBE_WINDOW: 0 objects of 12 bytes = 0 total bytes 0 private allocs
TOTAL: 1 objects, 12 bytes, 0 allocs
1 DAMAGEs still allocated at reset
TOTAL: 0 objects, 0 bytes, 0 allocs
[dix] Could not init font path element /usr/share/fonts/local, removing from list!
[dix] Could not init font path element /usr/share/fonts/CID, removing from list!
Is there anything in particular that I should be searching for? I used ssh -Y -C when logging in so xhost won't have anything to do with it because the "-Y" option overrides it. I can login just fine as that user so the credentials are correct.

Last edited by trist007; 12-14-2011 at 02:17 AM.
 
Old 12-14-2011, 06:19 PM   #3
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,033

Original Poster
Rep: Reputation: 69
Turns out the fontpath was missing. I set it with
xset fp+ unix/:7100

This only works if you have xfs (X Font Server) running on port 7100.

Works great now.
 
  


Reply


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
Another WM with Xnest kalleanka Linux - Software 2 11-15-2006 09:31 AM
Xnest dudeman41465 Linux - Software 4 11-14-2006 11:48 AM
Xnest woes Woodsman Slackware 3 12-13-2005 11:10 PM
XDMCP, Xnest choawk Linux - Networking 0 06-06-2003 02:09 AM
Xnest help anyone? captgoodnight Linux - Software 2 02-04-2003 02:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:26 AM.

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