niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » BSD » NetBSD
Can't login in XDM + keyboard layout questions
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
Ulrich Hobelmann
*nix forums addict


Joined: 01 Apr 2005
Posts: 53

PostPosted: Wed Aug 24, 2005 11:46 am    Post subject: Can't login in XDM + keyboard layout questions Reply with quote

Hi, I just installed NetBSD/i368 2.0.2 in Qemu on my Mac (and I've used
1.6 in the past).

My problem is: I can't login in XDM.

The .xsession-errors in my home directory says
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Error: Can't open display: :0

with the default xsession.

I only set XDM=YES in rc.conf. If I don't do that, startx from the
console works perfectly. Any ideas on this?

I've got another unrelated question: I'm using the dvorak keyboard
layout and currently have it set in XF86Config. Is there a way to set
the layout only on a user basis? I know there's xmodmap, but I can
think of better ways to spend an afternoon than remapping every single
key by hand (even downloading a prepared xmodmap file doesn't look too
clean to me; there should be a better way that's more user-friendly than
searching the web for modmaps). By the way: how can I set the console
to dvorak-layout? It's been a few years. Back then I set it to German
layout, but can't remember how.

--
I believe in Karma. That means I can do bad things to people
all day long and I assume they deserve it.
Dogbert
Back to top
Bjarne Bäckström
*nix forums beginner


Joined: 24 Aug 2005
Posts: 2

PostPosted: Wed Aug 24, 2005 12:30 pm    Post subject: Re: Can't login in XDM + keyboard layout questions Reply with quote

Ulrich Hobelmann <u.hobelmann@web.de> wrote:

Quote:
Hi, I just installed NetBSD/i368 2.0.2 in Qemu on my Mac (and I've used
1.6 in the past).

My problem is: I can't login in XDM.

The .xsession-errors in my home directory says
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Error: Can't open display: :0

with the default xsession.

I only set XDM=YES in rc.conf. If I don't do that, startx from the
console works perfectly. Any ideas on this?

I seem to remember that you'll have to comment out the line that
says: "DisplayManager.requestPort: 0" in
/usr/X11R6/lib/X11/xdm/xdm-config .
--
http://www.flexusergroup.com/
Back to top
Ulrich Hobelmann
*nix forums addict


Joined: 01 Apr 2005
Posts: 53

PostPosted: Wed Aug 24, 2005 2:27 pm    Post subject: Re: Can't login in XDM + keyboard layout questions Reply with quote

Bjarne Bäckström wrote:
Quote:
I seem to remember that you'll have to comment out the line that
says: "DisplayManager.requestPort: 0" in
/usr/X11R6/lib/X11/xdm/xdm-config .

Yes, there's a line in there that suggests that. Unfortunately it
doesn't seem to do a thing. My xsession starts, but the X clients say
that the connection is refused.

--
I believe in Karma. That means I can do bad things to people
all day long and I assume they deserve it.
Dogbert
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Fri Jan 09, 2009 8:59 am | All times are GMT
navigation Forum index » *nix » BSD » NetBSD
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts pyqt scrollview layout Felix Steffenhagen python 1 Fri Jul 21, 2006 9:54 am
No new posts Login problem Y.BulentAVCI Debian 1 Fri Jul 21, 2006 9:20 am
No new posts bind keyboard POWER button to start some program Vladi Lemurov Debian 1 Fri Jul 21, 2006 6:00 am
No new posts Capturing user login Information of windows sachin PHP 3 Fri Jul 21, 2006 5:44 am
No new posts Last login date Evan Ehrenhalt Server 1 Thu Jul 20, 2006 10:07 pm

Remortgages | MPAA | Loans | Loans | Free File Hosting
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1947s ][ Queries: 16 (0.1120s) ][ GZIP on - Debug on ]