NO X11 logins are registered (14.2)
Hello,
Iīve installed Slackware 14.2 (64bit) on a friends computer. Booting into runlevel 4. There is no GDM / KDM installed so using XDM instead as itīs enough. But i X11 logins are not registered at all. /etc/X11/xdm/Xstartup #!/bin/sh # Register a login (derived from GiveConsole as follows:) # exec /usr/bin/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x /usr/lib64/X11/xdm/Xservers -l $DISPLAY -h "" $USER /etc/X11/xdm/Xserver has just one line "active" :0 local /usr/bin/X :0 -nolisten tcp I checked with my setup as i am running XDM too and all those have the same content. Thanks for any hints. Tz |
xdm config in slackware is a bit on the "pants" side. if you look in /etc/X11/xdm/xdm-config you'll notice that it has this:
Code:
DisplayManager._0.startup: /usr/lib64/X11/xdm/GiveConsole On my box, I have changed this in /etc/X11/xdm/Xservers: Code:
:7 local /usr/bin/X :7 vt7 |
Why do you need Xstartup? Just reboot at runlevel 4. it should work. At least it does here, I just renamed /ust/bin/kdm as /usr/bin/kdm.orig so xdm be used instead to check.
|
You don't strictly need the sessreg stuff at all, but some folks may like the logins to be logged in utmp:
Code:
test@ws1:~$ who |
Thanks! Comment out the "Give and Take Console" stuff did help !!
|
Cool! So, a careful read of #2 Solved this!
You can mark this as 'Solved', via ThreadTools at top (so future searchers will see that there's a Solution here!) |
All times are GMT -5. The time now is 01:37 PM. |