LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-02-2005, 02:41 AM   #1
lukebeales
Member
 
Registered: Oct 2003
Location: Australia
Distribution: Slackware/LFS/Ubuntu
Posts: 89

Rep: Reputation: 15
gdm as a background daemon


Hi all,
I have a startup script on my server which shows a menu and asks what the user wants, which could be anything from a console to an x session. I want to enable XDMCP though to enable network clients to connect, but this will only currently work while the server itself has started the gdm graphical session.

What I want to know is, Is it possible to run gdm as a background daemon in a startup script, so the server can be in console mode, or it can log in using XDMCP to itself. That will also allow the network clients to log in to XDMCP and create a unified interface.

Any ideas?
 
Old 08-03-2005, 03:51 AM   #2
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
What I think you need to do is to configure gdm not to run automatically for display :0 (the console) - which will allow remote clients to log in using it, and allow it to be started on display :0 if necessary. I'm not sure how you do this - have a look at the X11 config files maybe (/etc/X11).
 
Old 08-03-2005, 08:37 AM   #3
lukebeales
Member
 
Registered: Oct 2003
Location: Australia
Distribution: Slackware/LFS/Ubuntu
Posts: 89

Original Poster
Rep: Reputation: 15
That sounds like the right way but I tried a little test and it didn't seem to work. I'll try again in a while just incase I did something wrong. There is a line in the gdm.conf like the following:

command=/usr/X11R6/bin/X -audit 0

After reading a vnc/gdm website they changed that to the vnc Xserver, which of course doesn't physically show any picture. So I looked at the help for X, which says the following:

use: X [:<display>] [option]

I changed the line to have a :0 in it, but that didn't make any difference. Now I realise I may have had the :0 in the wrong order so that's what I'll try.

Edit: the order doesn't seem to matter.

Last edited by lukebeales; 08-03-2005 at 08:45 AM.
 
  


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
gdm background will not change hughes28105 Suse/Novell 0 06-20-2005 11:15 AM
Change background in solaris and Xterm background also EvilAngel Solaris / OpenSolaris 2 01-31-2005 11:25 AM
Splash screen background in GDM bayat Linux - General 3 11-05-2004 10:09 AM
how to run any binary in background - background process tej Linux - Newbie 1 08-16-2004 12:27 AM
gdm overwrites /etc/gdm/Session/fluxbox _flaab_ Mandriva 0 12-21-2003 10:58 AM


All times are GMT -5. The time now is 11:25 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