LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-11-2005, 07:54 AM   #1
cracidy
LQ Newbie
 
Registered: Oct 2005
Posts: 4

Rep: Reputation: 0
Log into XDM on remote display


Hello everyone,

At our university we sometimes start up a "kiosk-environment" on all our student computers. This is achieved by logging in to a special account with a very restricted fvwm2 environment as its home.

Our current problem is that we physically need to login as the special user at each terminal. I.e. someone has to go from computer to computer and login to the account via an xdm (kdm in our case).

Does any one know how to remotely start up X and login as a specified user?

I've searched the documentation for kdm but have only seen some info on how to login to a remote kdm and get the session on your own box.

(Please note, that the question is not the more common one: how to start up an application on your own computers X server from a remote host.)

Best regards,

Cricidy

Last edited by cracidy; 10-11-2005 at 08:30 AM.
 
Old 10-11-2005, 12:14 PM   #2
djortz
Member
 
Registered: Oct 2005
Location: Netherlands
Distribution: Debian Lenny
Posts: 41

Rep: Reputation: 15
This seems more like a hack than a real solution:

In KDE's Configuration Center you can set to automatticaly login a user. Find the file where this setting is stored and write a script that:
-sets the username in the file
-restarts X
-restore original settings

If you just need to login the same user every time it is sufficient to use the Config Center
 
Old 10-11-2005, 01:48 PM   #3
Oxagast
Member
 
Registered: Aug 2003
Location: Mocksville, NC, USA
Distribution: Gentoo, Slackware.
Posts: 410

Rep: Reputation: 30
I think Xnest can do that.
 
Old 10-12-2005, 03:04 AM   #4
cracidy
LQ Newbie
 
Registered: Oct 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Yes, the kdm patch seems like a quick and easy solution. I think I'll do something like it.

I checked the documentation for Xnest. It seemed to me that Xnest is utility for starting an X server within another X server (thereof the 'nest'). Have you heard about someone using it to start an X server remotely as described in the first post?

Anyhow, thanks a lot for your advice!

Cheers,

Cracidy
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote X Session Help implant25 Linux - Software 1 09-05-2005 08:39 AM
Starting up in KDE session cdc7 Linux - General 2 01-10-2005 12:52 AM
Long delay and error message starting remote X session lotus49 Linux - General 3 10-11-2004 01:20 PM
starting an x session in gentoo franzfranz Linux - Newbie 10 04-27-2004 10:28 AM
X Session not starting gigglesnorter Linux - Newbie 2 04-27-2004 06:45 AM


All times are GMT -5. The time now is 08:07 PM.

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