Bug#632970: cannot set keyboard layout for vserver

2011-07-23 Thread Samuel Thibault
reassign 632970 xserver-xephyer
thanks

Cyril Brulebois, le Fri 22 Jul 2011 20:15:42 +0200, a écrit :
 Samuel Thibault sthiba...@debian.org (22/07/2011):
  KiBi wrote:
   Xephyr is not X, and uses us by default.
  
  Why should it be cast into stone?
 
 I didn't say a thing about that.

Ok.

  us seems to me a bad default for most (that is, no-us) people,
  compared to simply inheriting the underlying X server layout or
  reading /etc/default/keyboarD.
 
 That's still not a bug in keyboard-configuration,

Sure. I just apparently failed to Bcc control my reassignment.

 Also, putting me in Cc could be nice…

It would have been done by the bts if I hadn't failed my Bcc.

Samuel



--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110723070421.GB9084@const



Bug#632970: cannot set keyboard layout for vserver

2011-07-23 Thread Samuel Thibault
Julien Cristau, le Fri 22 Jul 2011 20:21:00 +0200, a écrit :
  or reading /etc/default/keyboard.
  
 No.

Why not?

Samuel



--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110723071239.GA16508@const



Bug#632970: cannot set keyboard layout for vserver

2011-07-23 Thread Samuel Thibault
Samuel Thibault, le Sat 23 Jul 2011 09:12:39 +0200, a écrit :
 Julien Cristau, le Fri 22 Jul 2011 20:21:00 +0200, a écrit :
   or reading /etc/default/keyboard.
   
  No.
 
 Why not?

(From a user point of view, it's similar to running startx, the default
system keyboard layout should be used).

Samuel



--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110723071651.GA17576@const



Processed: Re: Bug#632970: cannot set keyboard layout for vserver

2011-07-23 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 reassign 632970 xserver-xephyer
Bug #632970 [keyboard-configuration] cannot set keyboard layout for vserver
Bug reassigned from package 'keyboard-configuration' to 'xserver-xephyer'.
Warning: Unknown package 'xserver-xephyer'
Warning: Unknown package 'xserver-xephyer'
Bug No longer marked as found in versions console-setup/1.68+squeeze2.
Warning: Unknown package 'xserver-xephyer'
Warning: Unknown package 'xserver-xephyer'
Warning: Unknown package 'xserver-xephyer'
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
632970: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632970
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.131140467220612.transcr...@bugs.debian.org



Bug#632970: cannot set keyboard layout for vserver

2011-07-22 Thread Harald Dunkel
On 07/22/11 01:13, Samuel Thibault wrote:
 
 Err, it looks plain wrong to me to configure the keyboard on the server
 side. 

This bug report is not about configuring the keyboard-configuration
package on a remote machine, but on the client, i.e. the host with
the keyboard attached.

 If I want to connect to the same server from another machine
 which has another keyboard layout, the layout is bogus.  So it should be
 configured on the client side, since that's where the keyboard is. And
 you can do it, e.g.
 
 Xephyr -keybd ephyr,,,xkbmodel=evdev,xkblayout=de :3 -screen 1280x1024 -query 
 vserver1 -terminate
 


I completely agree, but actually I just want to tell the local(!)
keyboard-configuration package which keyboard is connected. X, Xnest,
Xephyr and all other local XWindow servers could use this information,
which would disburden the user from remembering complex command
line options like

-keybd ephyr,,,xkbmodel=evdev,xkblayout=de


Regards

Harri



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e297afe.7060...@aixigo.de



Bug#632970: cannot set keyboard layout for vserver

2011-07-22 Thread Samuel Thibault
Harald Dunkel, le Fri 22 Jul 2011 15:28:30 +0200, a écrit :
 On 07/22/11 01:13, Samuel Thibault wrote:
  Err, it looks plain wrong to me to configure the keyboard on the server
  side. 
 
 This bug report is not about configuring the keyboard-configuration
 package on a remote machine, but on the client, i.e. the host with
 the keyboard attached.

Ah, ok. Since you said for a vserver, I thought you were talking about
the server.

  If I want to connect to the same server from another machine
  which has another keyboard layout, the layout is bogus.  So it should be
  configured on the client side, since that's where the keyboard is. And
  you can do it, e.g.
  
  Xephyr -keybd ephyr,,,xkbmodel=evdev,xkblayout=de :3 -screen 1280x1024 
  -query vserver1 -terminate
 
 I completely agree, but actually I just want to tell the local(!)
 keyboard-configuration package which keyboard is connected. X, Xnest,
 Xephyr and all other local XWindow servers could use this information,
 which would disburden the user from remembering complex command
 line options like
 
   -keybd ephyr,,,xkbmodel=evdev,xkblayout=de

So it'd be a matter of xserver-xephyr defaulting to the underlying X
server layout, or reading /etc/default/keyboard.

KiBi wrote:
 Xephyr is not X, and uses us by default.

Why should it be cast into stone? us seems to me a bad default for most
(that is, no-us) people, compared to simply inheriting the underlying X
server layout or reading /etc/default/keyboarD.

Samuel



--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110722135711.ga4...@const.famille.thibault.fr



Bug#632970: cannot set keyboard layout for vserver

2011-07-22 Thread Cyril Brulebois
Samuel Thibault sthiba...@debian.org (22/07/2011):
 KiBi wrote:
  Xephyr is not X, and uses us by default.
 
 Why should it be cast into stone?

I didn't say a thing about that.

 us seems to me a bad default for most (that is, no-us) people,
 compared to simply inheriting the underlying X server layout or
 reading /etc/default/keyboarD.

That's still not a bug in keyboard-configuration, which is already what
I said, but you stripped that part in your “reply”.

Anyway, see that in xorg-server:
$ git grep keymap -- hw/kdrive/ephyr

If you wish, try and get the layout in addition to the keymap (xkb to
the rescue I suppose?).

Also, putting me in Cc could be nice…

Mraw,
KiBi.


signature.asc
Description: Digital signature


Bug#632970: cannot set keyboard layout for vserver

2011-07-22 Thread Julien Cristau
On Fri, Jul 22, 2011 at 15:57:11 +0200, Samuel Thibault wrote:

 So it'd be a matter of xserver-xephyr defaulting to the underlying X
 server layout,

Maybe.  Except there's no reliable way to do that.

 or reading /etc/default/keyboard.
 
No.

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110722182100.gg32...@radis.liafa.jussieu.fr



Bug#632970: cannot set keyboard layout for vserver

2011-07-21 Thread Samuel Thibault
reassign 632970 xserver-xephyr
thanks

Harald Dunkel, le Fri 08 Jul 2011 08:57:26 +0200, a écrit :
 The Linux Vserver server in the computer room is running
 Squeeze with kernel 2.6.32-5-vserver-amd64. It provides
 5 identical versers.
 
 The vservers are running squeeze. Using xdmcp and kdm
 they are supposed to provide virtual desktops to one or
 more users each.
 
 The clients (e.g. my desktop PC) is running Squeeze,
 too. To access a vserver I use a command line like
 
 Xephyr :3 -screen 1280x1024 -query vserver1 -terminate

Err, it looks plain wrong to me to configure the keyboard on the server
side.  If I want to connect to the same server from another machine
which has another keyboard layout, the layout is bogus.  So it should be
configured on the client side, since that's where the keyboard is. And
you can do it, e.g.

Xephyr -keybd ephyr,,,xkbmodel=evdev,xkblayout=de :3 -screen 1280x1024 -query 
vserver1 -terminate

Samuel



--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110721231336.gb4...@const.famille.thibault.fr



Bug#632970: cannot set keyboard layout for vserver

2011-07-08 Thread Harald Dunkel
The Linux Vserver server in the computer room is running
Squeeze with kernel 2.6.32-5-vserver-amd64. It provides
5 identical versers.

The vservers are running squeeze. Using xdmcp and kdm
they are supposed to provide virtual desktops to one or
more users each.

The clients (e.g. my desktop PC) is running Squeeze,
too. To access a vserver I use a command line like

Xephyr :3 -screen 1280x1024 -query vserver1 -terminate

As written before, all hosts involved have been configured
to provide a German keyboard layout:

# egrep -v ^#\|^\$ /etc/default/keyboard
XKBMODEL=pc105
XKBLAYOUT=de
XKBVARIANT=
XKBOPTIONS=terminate:ctrl_alt_bksp


Regards

Harri



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e16aa56.3050...@aixigo.de



Processed (with 5 errors): Re: Bug#632970: cannot set keyboard layout for vserver

2011-07-08 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 reopen 632970
Bug #632970 {Done: Cyril Brulebois k...@debian.org} [keyboard-configuration] 
cannot set keyboard layout for vserver
 On 07/08/11 10:05, Cyril Brulebois wrote:
Unknown command or malformed arguments to command.

 
Unknown command or malformed arguments to command.

  Xephyr is not X, and uses us by default. AFAICT you need to run
Unknown command or malformed arguments to command.

  setxkbmap yourself, so there's no bug in keyboard-configuration.
Unknown command or malformed arguments to command.

  Closing this bug report accordingly.
Unknown command or malformed arguments to command.

Too many unknown commands, stopping here.

Please contact me if you need assistance.
-- 
632970: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632970
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.13101299321910.transcr...@bugs.debian.org



Bug#632970: cannot set keyboard layout for vserver

2011-07-08 Thread Harald Dunkel
On 07/08/11 10:05, Cyril Brulebois wrote:
 
 Xephyr is not X, and uses us by default. AFAICT you need to run
 setxkbmap yourself, so there's no bug in keyboard-configuration.
 Closing this bug report accordingly.
 

Sorry to say, but this is not reasonable. setxkbmap wouldn't
work if Xephyr wouldn't be a XWindow server. Not to mention
that I get the same problem using xorg's Xnest.

About running setxkbmap: This is not an option, since
it requires to login first, but user authentication
requires a (correctly configured) keyboard. The remote
kdm doesn't know the user's keyboard, either.

I understand that you didn't take this into account on
designing keyboard-configuration, but I cannot help it.
Personally I am using a qwerty keyboard to avoid this
kind of problem. But fact is, there are pretty many
national keyboards out there.

My suggestion would be to open this bug report again
and to try a more constructive approach.


Many thanx

Harri



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e17006c.1010...@aixigo.de



Bug#632970: cannot set keyboard layout for vserver

2011-07-08 Thread Anton Zinoviev
On Fri, Jul 08, 2011 at 03:04:44PM +0200, Harald Dunkel wrote:
 
 I understand that you didn't take this into account on
 designing keyboard-configuration, but I cannot help it.

From the description of the package:

 This package maintains the keyboard preferences in
 /etc/default/keyboard.  Other packages can use the information
 provided by this package in order to configure the keyboard on the
 console or in X Window.

Hence, it is not a job of keyboard-configuration to configure the 
keyboard.  The other packages can (but don't have to) use the 
information provided by keyboard-configuration in order to configure the 
keyboard.

Anton Zinoviev



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110708194318.ga10...@debian.lan



Bug#632970: cannot set keyboard layout for vserver

2011-07-07 Thread Harald Dunkel
Package: keyboard-configuration
Version: 1.68+squeeze2


If I try to define a German keyboard layout for a vserver,
then this setting is ignored. I still get qwerty for the
XWindow session running on the vserver, even though all
real or virtual hosts involved have been configured for a
German layout. All are running Squeeze (6.0.2).


Regards

Harri



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e15bbff.1000...@aixigo.de



Bug#632970: cannot set keyboard layout for vserver

2011-07-07 Thread Samuel Thibault
Harald Dunkel, le Thu 07 Jul 2011 16:00:31 +0200, a écrit :
 If I try to define a German keyboard layout for a vserver,
 then this setting is ignored. I still get qwerty for the
 XWindow session running on the vserver, even though all
 real or virtual hosts involved have been configured for a
 German layout. All are running Squeeze (6.0.2).

Please describe more precisely how you actually run your XWindow server
and session.

Samuel



--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110707180329.gf4...@const.famille.thibault.fr