View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Oct 12, 2005 2:38 am 
Offline
Joined: Wed Oct 12, 2005 2:25 am
Posts: 7
Location: Portland, OR
The mythtv user created during install and used to run the myth frontend cannot log into the gdm.

When the gdm starts it tries to login as the mythtv user and fails - it then tries every thirty seconds and fails.

I can log in as root, but running the frontend as root causes it to not see and have access to the /dev/video0 it needs to watch or record tv.

Nothing that I know of in the system was changed for the user. I edited the XFConfig-4 and ivtv to make TV-Out work on my PVR-350 - don't think those are related though. I did run the setup scripts here: http://mysettopbox.tv/phpBB2/viewtopic. ... ght=pvr350

* The file system partitions are not full.
* There are not duplicate user or group entries for the mythtv user.
* I do not see anything in the OS logs pertaining to this user.
* The backend log simply states it cannot access /dev/video0
* I reset the password to be sure it was correct.

When I login thru SSH using the mythtv user it is trying to run something that repeatedly returns -sh: /dev/null: Permission denied. - also not sure if this is related. /dev/null reads as: crw-rw-rw- 1 root root 1, 3 Oct 12 00:48 /dev/null - looks correct...

[edit] this is an R5A16 clean install [/edit]

Anyone run into this before?

_________________
-b


Last edited by brundle on Wed Oct 12, 2005 9:41 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 12, 2005 2:54 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Hhmmmm.... Check to enusre your home directory was created.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 12, 2005 9:47 am 
Offline
Joined: Wed Oct 12, 2005 2:25 am
Posts: 7
Location: Portland, OR
yup, home dir exists named mythtv and owned by mythtv.

It contains 3 directories - Desktop, GNUstep, tmp.

_________________
-b


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 12, 2005 6:07 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
What are the permissions on "/dev/video0" and does the mythtv user belong to the right group?
Code:
root@black2:~# ls -al /dev/video0
crw-rw----  1 root video 81, 0 Jun 21 23:12 /dev/video0
root@black2:~# grep video /etc/group
video:!:44:mythtv


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 12, 2005 7:06 pm 
Offline
Joined: Wed Oct 12, 2005 2:25 am
Posts: 7
Location: Portland, OR
Yup, it looks correct:

/dev/video0 = crw-rw-rw- 1 root video 81, 0 May 23 17:50 /dev/video0
group = video:!:44:mythtv

_________________
-b


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 12, 2005 9:01 pm 
Offline
Joined: Wed Oct 12, 2005 2:25 am
Posts: 7
Location: Portland, OR
an update:

This is what I get when I try to start xsession from the command line...

-sh-3.00$ /etc/init.d/xsession start
/etc/init.d/xsession: line 30: /dev/null: Permission denied
Executing /etc/init.d/xsession start:

Starting single X-Window session for User knoppix.
Please stand by a few seconds while the optimal configuration
is being determined.

After this session terminates, the system will automatically shut down.

Starting X11.../etc/init.d/xsession: line 69: /dev/null: Permission denied
/etc/init.d/xsession: line 69: /dev/null: Permission denied
/etc/init.d/xsession: line 69: /dev/null: Permission denied
/etc/init.d/xsession: line 69: /dev/null: Permission denied
/etc/init.d/xsession: line 69: /dev/null: Permission denied
/etc/init.d/xsession: line 69: /dev/null: Permission denied
/etc/init.d/xsession: line 69: /dev/null: Permission denied
/etc/init.d/xsession: line 69: /dev/null: Permission denied
/etc/init.d/xsession: line 69: /dev/null: Permission denied
/etc/init.d/xsession: line 69: /dev/null: Permission denied
/etc/init.d/xsession: line 69: /dev/null: Permission denied
/etc/init.d/xsession: line 69: /dev/null: Permission denied
/etc/init.d/xsession: line 26: cannot redirect standard input from /dev/null: Permission denied
/etc/init.d/xsession: line 100: /dev/null: Permission denied
/etc/init.d/xsession: line 104: /dev/null: Permission denied
/etc/init.d/xsession: line 105: /dev/null: Permission denied
/etc/init.d/xsession: line 106: /dev/null: Permission denied
/etc/init.d/xsession: line 107: /dev/null: Permission denied
./etc/init.d/xsession: line 100: /dev/null: Permission denied
/etc/init.d/xsession: line 104: /dev/null: Permission denied
/etc/init.d/xsession: line 105: /dev/null: Permission denied
/etc/init.d/xsession: line 106: /dev/null: Permission denied
/etc/init.d/xsession: line 107: /dev/null: Permission denied
./etc/init.d/xsession: line 91: /etc/sysconfig/xserver: Permission denied
/etc/init.d/xsession: line 91: /etc/sysconfig/xserver: Permission denied
/etc/init.d/xsession: line 91: /etc/sysconfig/knoppix: Permission denied
/etc/init.d/xsession: line 91: /etc/sysconfig/knoppix: Permission denied

Error: No suitable X-Server found for your card.



This is through an ssh session so obviously it won't start X but it shouldn't be giving those /dev/null errors either - /dev/null is setup and working for everything else in the system.

_________________
-b


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 16, 2005 10:53 pm 
Offline
Joined: Wed Oct 12, 2005 2:25 am
Posts: 7
Location: Portland, OR
Well, never found a solution.

Even a remove and recreate of /dev/null didn't help - always worked for the system use of /dev/null but for some reason no regular users could make use of it - even though permissions were correct.

I ended up re-installing - took less time to reinstall and make things work than the time I spent trying to solve this problem.

_________________
-b


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu