LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-04-2009, 02:16 PM   #1
bbennett
LQ Newbie
 
Registered: Feb 2008
Posts: 12

Rep: Reputation: 0
XDMCP - Can login & get wallpaper, but nothing else.


Hello. I apologize if this question doesn't belong here.

I have a box running Fedora 8 (?) and I've basically followed the xdmcp Howto to the best of my knowledge. I have a thin client which only understands xdmcp, otherwise I'd use RDP instead.

Now, the box isn't running any firewalls, so the entries for iptables are really not applicable.

I have two machines, one is an IBM Netstation 300 and the other is a Windows Vista machine running Xming.

Now, I found a script online which I placed into init.d which starts xdm automatically. The box is headless, but it does go into runlevel 5 upon boot.

Both machines seem to have the same problem.

I can connect via xdmcp and get a login screen. It does confirm that my login does work. (If I try and login as root, it says that it's already in use. Sorry, I can get a more precise error in here later.)

However, After I login, all I get is the KDE wallpaper and that's it.

No windows open up. Right and left clicking doesn't work. Nothing seems to work. I know I'm about 90 percent there.

I know something is working because I'm not getting the dreaded grey screen with "X" mouse. I am getting a mouse pointer and wallpaper.

Now, this stays open infinately until I close the session. Both the Netstation and the Vista box do this.

What am I missing here? Does anyone have any suggestions? Let me know which config files you'd like to see and I'll post them here.
 
Old 03-05-2009, 11:15 AM   #2
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Lenny
Posts: 351

Rep: Reputation: 47
Are you sure you are not setting the variable DISPLAY= in your shell startup files
The connection and wallpaper may be successful but the session will be trying to connect to somewhere else
classically set as DISPLAY=:0.0

Also, can you check what is given as session ? are you successfully able to login to console terminal X display ?
 
Old 03-05-2009, 02:07 PM   #3
bbennett
LQ Newbie
 
Registered: Feb 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Are you sure you are not setting the variable DISPLAY= in your shell startup files
OK, I'll have to look for that. Where would I find it? ~/.bashrc ?

Here's what I've found so far:

Code:
[root@xxx ~]# find . | xargs grep DISPLAY=
grep: ./.kde/socket-xxx: No such file or directory
grep: ./.kde/tmp-xxx: No such file or directory
[root@xxx ~]# cd /home/someuser
[root@xxx someuser]# find . | xargs grep DISPLAY=
grep: ./.kde/socket-xxx: No such file or directory
grep: ./.kde/tmp-xxx: No such file or directory
Quote:
classically set as DISPLAY=:0.0
OK, Should I set it to something like DISPLAY=:1:0 or something like that?

Quote:
Also, can you check what is given as session ? are you successfully able to login to console terminal X display ?
Well, the server is headless, so there really isn't a console. But yeah, when I was prepping the machine, I was able to login into the console just fine.

Perhaps this might be of use? I saw this in the process list and it's probably related to X running on the console itself.

Code:
root      2582  0.0  0.0   1752   360 ?        Ss   Mar04   0:00 /usr/libexec/gdmopen -l /bin/sh -c /usr/bin/dialog --yesno 'There already appears to be an X server running on display :0.  Should another display number by tried?  Answering no will cause GDM to attempt starting the server on :0 again.  (You can change consoles by pressing Ctrl-Alt plus a function key, such as Ctrl-Alt-F7 to go to console 7.  X servers usually run on consoles 7 and higher.)' 16 70
root      2583  0.0  0.0   1752   192 tty7     Ss+  Mar04   0:00 /usr/libexec/gdmopen -l /bin/sh -c /usr/bin/dialog --yesno 'There already appears to be an X server running on display :0.  Should another display number by tried?  Answering no will cause GDM to attempt starting the server on :0 again.  (You can change consoles by pressing Ctrl-Alt plus a function key, such as Ctrl-Alt-F7 to go to console 7.  X servers usually run on consoles 7 and higher.)' 16 70
 
Old 03-08-2009, 02:01 PM   #4
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Lenny
Posts: 351

Rep: Reputation: 47
1. The DISPLAY env will not be set usually by the system unless you have manually edited it.
If you had'nt then you can assume that it would be correct.
2. From the output i guess you are running gdm.

May be you can try this
a) Login via some other terminal into the machine.
b) As usual login to the machine via XDMCP from other box.
c) check if you are getting errors in .xsession-errors file in your home directory.
this will give most of the clues on what is going wrong.
d) Just export the DISPLAY as :1.0 (or whatever is appropriate which opened the XDMCP
in the guest machine)
e) manually start KDE by giving command
$ startkde
f) This must give you the complete session. Here, again you will get information on the
terminal on what is happening to the applications getting started


PS: I would first experiment on a light weight window manager like twm or something just
to check if things are working fine and then go for more bulky window managers.

sorry for the delay in replying...
 
  


Reply


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
XDMCP problem, can not login from remote sarmadys SUSE / openSUSE 3 08-02-2006 08:31 AM
Computer only wants XDMCP login - How can I get back to local login? fldavem Linux - Software 0 06-07-2006 10:08 AM
remote X login through XDMCP asifqaiyum Linux - Networking 3 07-28-2005 03:54 PM
Sound with XDMCP remote login? chrisknight Linux - Software 0 02-21-2005 06:54 AM
Getting sound when you login remotely with XDMCP yelo Linux - Networking 1 06-21-2004 11:25 AM


All times are GMT -5. The time now is 01:50 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration