Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 08-02-2005, 02:41 AM   #1
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
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
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.


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 / openSUSE 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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:46 AM.

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