LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-09-2013, 06:38 PM   #1
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 800

Rep: Reputation: 100Reputation: 100
Need help with xdm


Ok, so I've decided to sort of make one of my RPi's into my desktop a la thin client. So I found a post from AlienBob (here's the link). I set up /etc/X11/xdm/{Xaccess, xdm-config} just how he explains. When I run
Code:
X -query myhost :1
I get a login, but when I put in my user and pass, it just acts like it's gonna log me in, then back to the login screen. The very first time I tried it, it worked. I didn't change anything between it working and not either.
 
Old 03-09-2013, 07:58 PM   #2
maciuszek
Member
 
Registered: Nov 2010
Location: Toronto, Ontario
Distribution: Slackware + FreeBSD
Posts: 59

Rep: Reputation: 17
have a look at your .xsession for the user youre trying to log in with or the general xinit ( ur choice ) .. for when the session is being exec'd play with the clp's: exit-with*, dbus-lauch* .. ive had the same thing happening with i3 n removing stuff fixed it
 
Old 03-09-2013, 09:09 PM   #3
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 800

Original Poster
Rep: Reputation: 100Reputation: 100
Unfortunately, I don't have any .xsession files except .xsession-errors-*. I deleted those, and the .Xauthority file. The .xinitrc is just a symlink to /etc/X11/xinit/xinitrc.blackbox. There isn't much in that file, but I'll try to shave some stuff out of it.

edit: Well, I'll have to put this problem under solved for now. I tried to log in on the machine locally, and it did the same thing. I have something else going on here.

Last edited by manwichmakesameal; 03-09-2013 at 09:13 PM.
 
Old 03-09-2013, 10:01 PM   #4
maciuszek
Member
 
Registered: Nov 2010
Location: Toronto, Ontario
Distribution: Slackware + FreeBSD
Posts: 59

Rep: Reputation: 17
you can always generate them with xwmconfig!
but from my assumption, without any research, i think all that does is change that symlink you mentioned and bases the invoking users .x[session,initrc] on that.

this is how i handled my i3 which was also dieing right away ( it maybe..probably has everything to do with --exit-with-session and the wm not being happy with this ):
Code:
#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# Merge in defaults and keymaps
[ -f $sysresources ] && /usr/bin/xrdb -merge $sysresources
[ -f $sysmodmap ] && /usr/bin/xmodmap $sysmodmap
[ -f $userresources ] && /usr/bin/xrdb -merge $userresources
[ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap

xscreensaver -nosplash &
hsetroot -fill ~/Pictures/ws_Smoothy_grey_1280x1024.jpg &
xcompmgr -cfF &

# Start i3
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
    exec ck-launch-session /usr/bin/i3
else
    exec /usr/bin/i3
fi

Last edited by maciuszek; 03-09-2013 at 10:22 PM.
 
  


Reply

Tags
rpi, thin client, xdm


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] xdm init script problem - /var/run/xdm.pid is gone ? Vilius Debian 2 09-16-2010 03:06 AM
[SOLVED] xdm init script problem - "invoke-rc.d xdm start" fails ? Vilius Debian 2 09-13-2010 12:15 AM
disabling XDM-AUTHORIZATION-1 in xdm shpenat Linux - Desktop 0 03-18-2009 09:11 AM
xdm.. miguetoo Slackware 3 07-08-2004 03:19 AM
XDM opens XDM after login jpbarto Linux - Software 1 01-26-2004 10:23 PM


All times are GMT -5. The time now is 12:30 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration