LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 09-19-2014, 02:48 PM   #1
ferite
Member
 
Registered: Jul 2014
Posts: 30

Rep: Reputation: Disabled
NODM (display manager) doesn't start X in my system.


Hi.

I am seting up a kiosk system, so I followed this tutorial, where it is given the instruction for, starting from a "text only" system (I used a Lubuntu Minimal), you install xorg, and nodm to setup a kiosk.

Now, all went well with xorg. If I run:

Code:
$ startx
my ~/.xsession file get executed (I am using leafpad only as simple test):

Code:
#!/usr/bin/env bash
echo "something" > /root/someFile
leafpad
but when I boot the system, all I got is a black screen and "/root/someFile" is not even created. It is supposed that nodm should trigger an XSession, but something is happening. My /etc/default/nodm is:

Code:
NODM_ENABLED=true

NODM_USER=root

NODM_FIRST_VT='7'

NODM_XSESSION=/etc/X11/Xsession

NODM_X_OPTIONS='-nolisten tcp'

NODM_MIN_SESSION_TIME=60
I have tried with a different (non root) user too, but the result is the same.

If I run:

Code:
$ nodm
X is started and /root/someFile is created.

I hope somebody could give me some help in this regard. Thanks.

Last edited by ferite; 09-19-2014 at 02:58 PM.
 
Old 09-20-2014, 02:56 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
why are you running/logging in as root?
a kiosk system is meant to disable any possibility of making changes to the system, no?
letting the user run as root kind of contradicts that purpose...

anyhow, i'd take a look at
Code:
NODM_XSESSION=/etc/X11/Xsession
i guess that's the file that gets executed, not the one in your home folder.
so either try modifying that file or change the line to
Code:
NODM_XSESSION=$HOME/.xsession

Last edited by ondoho; 09-20-2014 at 02:57 PM.
 
Old 09-27-2014, 02:26 PM   #3
ferite
Member
 
Registered: Jul 2014
Posts: 30

Original Poster
Rep: Reputation: Disabled
Finally I solved my problem following instructions found here
 
Old 09-28-2014, 08:34 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
oh, so you solved it without nodm, good!
would you care to mark it as solved and edit the thread title (because the solution does not involve nodm)?

and just out of curiosity, are you really running a kiosk system as root?
 
Old 09-28-2014, 11:48 PM   #5
ferite
Member
 
Registered: Jul 2014
Posts: 30

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
oh, so you solved it without nodm, good!
would you care to mark it as solved and edit the thread title (because the solution does not involve nodm)?

and just out of curiosity, are you really running a kiosk system as root?
Hi. I have already marked the thread as "SOLVED". Regarding the title, I think it still a valid title as not being able to start X with nodm, was indeed what originated the whole thread.

The system I am setting up is not exactly a Kiosk, but an embedded system, that runs a single custom application that should be capable of change system settings like DHCP, IP, Time Zone, etc.

Thanks for your interest.
 
  


Reply



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
display manager start twice RAFAL SUSE / openSUSE 2 10-06-2012 05:06 AM
[SOLVED] network manager gnome doesn't display wireless connections Knightron Debian 5 10-16-2011 02:37 AM
display manager crashes/wont start (KDE) Avatar Linux - General 3 11-01-2005 09:46 AM
Window manager doesn't start ka7znm Fedora 1 10-03-2004 08:54 AM
SuSe - start a different display manager J_Szucs Linux - Software 0 01-19-2004 09:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:18 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
Open Source Consulting | Domain Registration