You are not logged in.

#1 2012-11-10 11:06:05

richral
Member
Registered: 2012-11-10
Posts: 1

Failing Xterminal controlled by xdm

Hi. I'm a new arch user.
Problems with an X terminal (bertie) connecting to my new arch system. It uses the command:

 X :8 vt08 -ac -query ARCHSYSTEM 

to connect to arch's xdm ok, name and password handled correctly.
xfce4 is used as the session on arch; the session chooser screen shows, but then the X terminal hangs.
The following logs are produced:

auth.log:

Nov  8 16:47:04 richux xdm[12235]: pam_unix(xdm:session): session opened for user guest by (uid=0)
Nov  8 16:47:05 richux sshd[15223]: Connection closed by 127.0.0.1 [preauth]
Nov  8 16:47:06 richux polkitd[446]: Registered Authentication Agent for unix-session:54 (system bus name :1.66 [/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8)
Nov  8 16:47:06 richux xdm[12235]: pam_unix(xdm:session): session closed for user guest
Nov  8 16:47:06 richux polkitd[446]: Unregistered Authentication Agent for unix-session:54 (system bus name :1.66, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8) (disconnected from bus)

xdm.log:

xdm info (pid 2748): executing session /etc/X11/xdm/Xsession
xdm info (pid 338): Starting X server on bertie.foo.bar:8
Warning: translation table syntax error: Unknown modifier name:   CtrlR
Warning: ... found while parsing 'CtrlR:abort-display()'
Warning: String to TranslationTable conversion encountered errors
xdm info (pid 15150): executing session /etc/X11/xdm/Xsession

Config changes from otherwise "standard" system. I am using xdm/xarch.

...xdm/Xaccess:

*    # any host can get a login window

...xdm/xdm-config:

...request port: 0 commented out with ! to get net access

/etc/X11/xinit/xserverrc:

exec /usr/bin/X "$@"

i.e. no "-nolisten tcp"

User guest:
~/.xsession:

#!/bin/sh

#
# ~/.xsession
#
# Executed by xdm/gdm/kdm at login
#

/bin/bash --login -i ~/.xinitrc

~/.xinitrc:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

# exec gnome-session
# exec startkde
exec startxfce4
#twm
# ...or the Window Manager of your choice

On commenting out the startxfce4 line and uncommenting the twm line it appears the twm session works perfectly, but this is not acceptable to the customer, who requires her xfce4 session.

It may not be helpful to point out that all this worked ok on Debian.

Sorry about the long post. I hope it can help.

Later: Reverted  to openbox standalone session, which works fine when the pango-patched fix is applied!

Last edited by richral (2012-11-11 12:44:01)

Offline

Board footer

Powered by FluxBB