Re: [X2Go-User] integrated X-Server and AltGr/right Alt key [Solved]

2018-03-28 Thread Joachim Hartmann

Hi Uli,

Am 27.03.2018 um 23:41 schrieb Joachim Hartmann:

Hi Uli,

Am 26.03.2018 um 22:40 schrieb Ulrich Sibiller:

OK, I see you are trying to login using root. Does it work better if
you take normal user (root sessions can be special)?


If I log in as a normal user the combination AltGr+0 displays die 
correct symbol "}". But now the rest works not correct, the application 
needs root rights




Now it works, by using sudo!
- Starting visudo as root
- Adding " ALL = NOPASSWD: 
- on the client I changed the  to 

Thanks for helping!

--
Gruß aus der Stadt der CeBIT
Jochen
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] integrated X-Server and AltGr/right Alt key

2018-03-27 Thread Joachim Hartmann

Hi Uli,

Am 26.03.2018 um 22:40 schrieb Ulrich Sibiller:

OK, I see you are trying to login using root. Does it work better if
you take normal user (root sessions can be special)?


If I log in as a normal user the combination AltGr+0 displays die 
correct symbol "}". But now the rest works not correct, the application 
needs root rights



You should also
remove /etc/x2go/keystrokes.cfg; your version is outdated. Removing
does not hurt as x2go will then use the builtin defaults which are
largely the same you have - minus the previously broken ones ;-)


This action have no effect.

--
Gruß aus der Stadt der CeBIT
Jochen
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] integrated X-Server and AltGr/right Alt key

2018-03-27 Thread Joachim Hartmann

Am 26.03.2018 um 22:40 schrieb Ulrich Sibiller:

 setxkbmap -I. -print


Sorry, my fault. I meant -query, not -print


@09:10:43#/usr/share/X11/xkb# setxkbmap -I. -query
rules:  xfree86
model:  null
layout: null



On the client system - windows 7 - I found no nx-libs. x2go-Client (V.
1.1.1) is installed (latest version)


Hmm, current versiom is 4.1.1.1




Sorry, I have forgotten the leading Four, I was fixed to the count of 
ones! The correct answer is:

x2go-Client (V. 4.1.1.1) is installed (latest version)




@21:52:26#~# dpkg -l | grep libnx
ii  libnx-x11-6:amd64 2:3.5.99.16-1+git20180317.2985+8.main.1amd64
nxagent's libNX_X11 client-part library


These are all old, you should drop them.



I think they are up to date for jessie, have a look to 
http://packages.x2go.org/debian/dists/jessie/main/binary-amd64/Packages





OK, I see you are trying to login using root. Does it work better if
you take normal user (root sessions can be special)? You should also
remove /etc/x2go/keystrokes.cfg; your version is outdated. Removing
does not hurt as x2go will then use the builtin defaults which are
largely the same you have - minus the previously broken ones ;-)


I will test this later, I have to leave now.


--
Gruß aus der Stadt der CeBIT
Jochen
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] integrated X-Server and AltGr/right Alt key

2018-03-26 Thread Joachim Hartmann

Hi Uli,

Am 26.03.2018 um 20:24 schrieb Ulrich Sibiller:

Hi Joachim,

some questions:

- do you have /usr/share/X11/xkb/ (which is from the xkb-data package)?


Yes, I founf it.


- If you have that dir, please try the following:
cd  /usr/share/X11/xkb/
setxkbmap -I. -print
  and post the output.


@21:40:21#/usr/share/X11/xkb# setxkbmap -I. -print
xkb_keymap {
xkb_keycodes  { include "xfree86+aliases(qwerty)"   };
xkb_types { include "complete"  };
xkb_compat{ include "complete"  };
xkb_symbols   { include "pc+null"   };
xkb_geometry  { include "pc(pc104)" };
};

- what version of the nx-libs package do you have (on both client 


On the client system - windows 7 - I found no nx-libs. x2go-Client (V. 
1.1.1) is installed (latest version)




and server)?


@21:52:26#~# dpkg -l | grep libnx
ii  libnx-x11-6:amd64 
2:3.5.99.16-1+git20180317.2985+8.main.1amd64nxagent's 
libNX_X11 client-part library
rc  libnx-xcomposite1:amd64 
2:3.5.0.33-0x2go1+git20180204.776+8.main.1 amd64nx-X11 Composite 
extension library
rc  libnx-xdamage1:amd64 
2:3.5.0.33-0x2go1+git20180204.776+8.main.1 amd64nx-X11 damaged 
region extension library
rc  libnx-xdmcp6:amd64 
2:3.5.0.33-0x2go1+git20180204.776+8.main.1 amd64nx-X11 Display 
Manager Control Protocol library
rc  libnx-xext6:amd64 
2:3.5.0.33-0x2go1+git20180204.776+8.main.1 amd64nx-X11 
miscellaneous extension library
rc  libnx-xfixes3:amd64 
2:3.5.0.33-0x2go1+git20180204.776+8.main.1 amd64nx-X11 
miscellaneous 'fixes' extension library
rc  libnx-xinerama1:amd64 
2:3.5.0.33-0x2go1+git20180204.776+8.main.1 amd64nx-X11 Xinerama 
extension library
rc  libnx-xpm4:amd64 
2:3.5.0.33-0x2go1+git20180204.776+8.main.1 amd64nx-X11 pixmap 
library
rc  libnx-xrandr2:amd64 
2:3.5.0.33-0x2go1+git20180204.776+8.main.1 amd64nx-X11 RandR 
extension library
rc  libnx-xrender1:amd64 
2:3.5.0.33-0x2go1+git20180204.776+8.main.1 amd64nx-X11 Rendering 
Extension client library
rc  libnx-xtst6:amd64 
2:3.5.0.33-0x2go1+git20180204.776+8.main.1 amd64nx-X11 Testing 
-- Record extension library





- does setxkbmap work when you run it inside putty?

No it does not:
@22:08:14#/usr/share/X11/xkb# setxkbmap -I. -print
Cannot open display "default display"



- while the session/xterm is running, have a look at the latest
~/.x2go/C-* dir on the server. You will find a file called options,
one called keyboard and a session.log. Please attach them.


Attached



Thanks,

Uli




--
Gruß aus der Stadt der CeBIT
Jochen
rules="xorg"
model="pc105"
layout="de"
variant=","
options="grab:break_actions"
nx/nx,link=adsl,pack=16m-jpeg-9,limit=0,root=/tmp/.x2go-root/C-root-50-1522093078_stRxterm_dp32,cache=8M,images=32M,type=unix-kde-depth_32,id=root-50-1522093078_stRxterm_dp32,cookie=361ead85fc5c89fb6f1f1ddd14b64ce6,errors=/tmp/.x2go-root/C-root-50-1522093078_stRxterm_dp32/session.log,kbtype=null/null,geometry=800x600,xinerama=0,resize=1,fullscreen=0,accept=localhost,listen=39531,clipboard=both,client=linux,menu=0,state=/tmp/.x2go-root/C-root-50-1522093078_stRxterm_dp32/state:50

NXAGENT - Version 3.5.99.16

Copyright (c) 2001, 2011 NoMachine (http://www.nomachine.com)
Copyright (c) 2008-2014 Oleksandr Shneyder 
Copyright (c) 2011-2016 Mike Gabriel 
Copyright (c) 2014-2016 Ulrich Sibiller 
Copyright (c) 2014-2016 Mihai Moldovan 
Copyright (c) 2015-2016 Qindel Group (http://www.qindel.com)
See https://github.com/ArcticaProject/nx-libs for more information.

Info: Agent running with pid '5870'.
Session: Starting session at 'Mon Mar 26 21:38:01 2018'.
Info: Proxy running in client mode with pid '5870'.
Info: Using errors file 
'/tmp/.x2go-root/C-root-50-1522093078_stRxterm_dp32/session.log'.
Info: Using stats file 
'/tmp/.x2go-root/C-root-50-1522093078_stRxterm_dp32/C-root-50-1522093078_stRxterm_dp32/stats'.
Loop: WARNING! Unrecognized session type 'unix-kde-depth_32'. Assuming agent 
session.
Warning: Unrecognized session type 'unix-kde-depth_32'. Assuming agent session.
Info: Waiting for connection from 'localhost' on socket 'tcp:*:39531'.
Info: Accepted connection from '127.0.0.1'.
Info: Connection with remote proxy completed.
Info: Using ADSL link parameters 1408/24/1/0.
Info: Using agent parameters 5000/10/50/0/0.
Info: Using cache parameters 4/4096KB/8192KB/8192KB.
Info: Using pack method '16m-jpeg-9' with session 'unix-kde-depth_32'.
Info: Using ZLIB data compression 1/1/32.
Info: Using ZLIB stream compression 4/4.
Info: No suitable cache file found.
Info: Listening to X11 connections on display ':50'.
Info: Established X client connection.
Info: Using shared memory parameters 1/1/0/0K.
Info: Using alpha channel in render extension.
Info: Not using local device configuration changes.
Warning: Cannot read keystroke file '/root/.nx/config/keystrokes.cfg'.
Info: 

[X2Go-User] integrated X-Server and AltGr/right Alt key [now with attachment]

2018-03-26 Thread Joachim Hartmann

Hello,

I come from the Windows world and run a Debian server (jessie) without a 
graphical interface (no X server installed), keyboard and screen. 
Operation is normally via putty from the windows7-PC (German QWERTZU 
keyboard). On the Linux console all characters of the third level (AltGr 
or right Alt key) are displayed correctly! If I call xterm via 
x2go-Client (V. 1.1.1) the AltGr key has no effect!


- The automatic keyboard recognition is activated at the client!
- The files $HOME/.Xmodmap-x2go and $HOME/.Xkbmap-x2go do not exist on 
the server. The result of


  @09:56:57#~# xmodmap -pke
  keycode   8 = Mode_switch NoSymbol Mode_switch
  keycode   9 = Escape NoSymbol Escape
  keycode  10 = 1 exclam 1 exclam onesuperior exclamdown onesuperior
  keycode  11 = 2 quotedbl 2 quotedbl twosuperior oneeighth twosuperior
  keycode  12 = 3 section 3 section threesuperior sterling threesuperior
  keycode  13 = 4 dollar 4 dollar onequarter currency onequarter
  keycode  14 = 5 percent 5 percent onehalf threeeighths onehalf
  keycode  15 = 6 ampersand 6 ampersand notsign fiveeighths notsign
  keycode  16 = 7 slash 7 slash braceleft seveneighths braceleft
  keycode  17 = 8 parenleft 8 parenleft bracketleft trademark bracketleft
  keycode  18 = 9 parenright 9 parenright bracketright plusminus 
bracketright

  keycode  19 = 0 equal 0 equal braceright degree braceright
  ...
  keycode 113 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift
  ...

  But AltGr+0 do not display curly braces. For the sake of 
completeness,  this information:


  @10:07:13#~# xmodmap
  xmodmap:  up to 4 keys per modifier, (keycodes in parentheses):
  shift   Shift_L (0x32),  Shift_R (0x3e)
  lockCaps_Lock (0x42)
  control Control_L (0x25),  Control_R (0x6d)
  mod1Alt_L (0x40),  Meta_L (0x9c)
  mod2Num_Lock (0x4d)
  mod3
  mod4Super_L (0x73),  Super_R (0x74),  Super_L (0x7f), Hyper_L 
(0x80)

  mod5Mode_switch (0x8),  ISO_Level3_Shift (0x7c)

- Starting xev on the server an pressing the AltGr key displays
  KeyPress event, serial 31, synthetic NO, window 0x41,
root 0x6b, subw 0x0, time 1033835042, (-99,-134), root:(662,1193),
state 0x10, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), 
same_screen YES,

XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

- The directory /etc/X11/xkb on the server is empty, so setxkbmap 
reports an error under xterm!


- For the pros among you, I will attach the log file to the following 
session:

  * starting the x2go client
  * start from xterm
  * Key sequence QWERTZU[ENTER] AltGr+7[ENTER] exit[ENTER]
  * closing the x2go-client

Someone an idea?
--
Greetings from the home of CeBIT
Jochen

PS: English is not my mother tongue and school time is already nearly 
half a century past.
x2go-INFO-1> "Starting X2Go Client 4.1.1.1..."
x2go-INFO-4> "Translator: :/i18n/x2goclient_de_de found."
x2go-INFO-4> "Übersetzung: :/i18n/qt_de_de gefunden."
x2go-DEBUG-../src/onmainwindow.cpp:10589> Getting X.Org Server settings.
x2go-INFO-3> "X2GoClient wurde gestartet."
x2go-DEBUG-../src/onmainwindow.cpp:583> "$HOME=C:/Users/Jochen"
x2go-DEBUG-../src/onmainwindow.cpp:2420> Reading 3 sessions from config file.
x2go-DEBUG-../src/sessionbutton.cpp:342> Creating QPixmap with session icon: 
":/img/icons/128x128/x2gosession.png".
x2go-DEBUG-../src/sessionbutton.cpp:342> Creating QPixmap with session icon: 
":/img/icons/128x128/x2gosession.png".
x2go-DEBUG-../src/sessionbutton.cpp:342> Creating QPixmap with session icon: 
":/img/icons/128x128/x2gosession.png".
x2go-DEBUG-../src/onmainwindow.cpp:13086> libssh not initialized yet. 
Initializing.
x2go-DEBUG-../src/pulsemanager.cpp:369> pulseaudio --version 
returned:"pulseaudio 7.1

"

x2go-DEBUG-../src/onmainwindow.cpp:10492> Starting helper servers for Windows 
...
x2go-DEBUG-../src/onmainwindow.cpp:10659> "/cygdrive/C/Users/Jochen/.x2go/var" 
cygwin var path
x2go-DEBUG-../src/onmainwindow.cpp:10742> 
"C:/Users/Jochen/.x2go/etc/sshd_config created."
x2go-DEBUG-../src/onmainwindow.cpp:10252> Resolved localhost.
x2go-DEBUG-../src/onmainwindow.cpp:10274> Port is free: 7022
x2go-DEBUG-../src/onmainwindow.cpp:11092> Logging cygwin sshd to: 
"C:/Users/Jochen/.x2go/sshLogs/Hp6932.log"
x2go-DEBUG-../src/onmainwindow.cpp:11106> Creating desktop: x2go_Jochen
x2go-DEBUG-../src/onmainwindow.cpp:10252> Resolved localhost.
x2go-DEBUG-../src/onmainwindow.cpp:10280> Port already in use: 7022
x2go-DEBUG-../src/onmainwindow.cpp:10252> Resolved localhost.
x2go-DEBUG-../src/onmainwindow.cpp:10280> Port already in use: 7022
x2go-DEBUG-../src/onmainwindow.cpp:11203> User mode OpenSSH server started 
successfully.
x2go-DEBUG-../src/pulsemanager.cpp:227> pulse started with arguments 
("--exit-idle-time=-1", "-n", "-F", "C:\Users\Jochen\.x2go\pulse\config.pa", 
"-p", "C:\Program Files\x2goclient\pulse\lib\pulse-7.1\modules", 
"--log-level=debug", "--verbose",