LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-21-2007, 11:33 PM   #1
Pieter Noom
LQ Newbie
 
Registered: Jul 2006
Distribution: fedora core 5
Posts: 6

Rep: Reputation: 0
Unhappy Startx and file permissions.


G'day all,
I am so new they haven't even taken the plastic wrap offa me yet.
My problem is two fold.
After using Preferences to change the User/Password screen to one I like better than the default, I can now only log in to a text screen. Trying to use startx only gets me a "Permission Denied" trying to reconfigure startx or any other system file gets me the same result. In fact, and this is part two of the problem, I can not even bring up the system file list with dir or ls no matter whether I am user or root.

All I can see Is my personal data in the user directory and in the root directory the only thing to be seen is the Desktop and an anaconda file.

It wouldnt be a problem if I knew how to operate in a text environment, but I don't. I havn't even figured out the back up system. Get the picture?
 
Old 01-21-2007, 11:49 PM   #2
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,318

Rep: Reputation: 126Reputation: 126
"After using Preferences to change the User/Password screen to one I like better than the default"

Can you tell us exactly what you did? What exactly did you change and where? Were you using gnome or kde? Did you change your userid and password or what? If you're using gnome, did you try signing in as root and run "/etc/init.d/gdm start"? It might be easier to just reinstall unless you've managed to put something critical on it.

Last edited by Quakeboy02; 01-21-2007 at 11:51 PM.
 
Old 01-22-2007, 01:13 AM   #3
Pieter Noom
LQ Newbie
 
Registered: Jul 2006
Distribution: fedora core 5
Posts: 6

Original Poster
Rep: Reputation: 0
In gnome I simply used System - Preferences - Login Screen which gave me various different screens as options. I chose the last one on the list.

The problem with listing, let alone accessing, any of the system files started before that though. I have no idea why. I try to stay away from root unless necessary.
 
Old 01-22-2007, 01:40 AM   #4
Pieter Noom
LQ Newbie
 
Registered: Jul 2006
Distribution: fedora core 5
Posts: 6

Original Poster
Rep: Reputation: 0
i forgot to say thanks for the quick reply Quakeboy. I just used your suggestion and as suspected could not access it.

Do you know if it is possible to transfer files between partitions. If so I will take the following path
downsize part/repartition/install on new/transfer files to new/delete old/resize new to fill void

Thanks again
 
Old 01-22-2007, 02:13 AM   #5
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,318

Rep: Reputation: 126Reputation: 126
Since you seem to want to save some stuff, get a copy of Knoppix and boot that. You'll be about to mount any partition you like and copy stuff back and forth. You should even be able to write it to CD/DVD.

But, back to your problem. I think that what you ran is gdmsetup, and somehow that messed things up. Can you tell me exactly what error was printed in response to "gdm start"? Is there anything other than permission denied? At a guess, it sounds like some file that brings up the greeter is no longer marked as executable. I found those files in /etc/gdm on my system. Can you take a look there and see if everything is owned by root, and all the scripts are marked as executable? One option might be to rename /etc/gdm/gdm.conf to gdm.conf.org or something like that and try to restart gdm. The reason I suggest this is because on this system, it somehow got renamed and gdmsetup doesn't actually work anymore. So, the greeter comes up with the default screen. I remember when it happened, and I was doing something similar to what you were doing while I was transitioning from Sarge to Etch. I never missed it, so I didn't even know what/where the problem was until just now. I think I'll leave well enough alone, as this is my main system.
 
Old 01-22-2007, 03:02 AM   #6
cigarstub
Member
 
Registered: Sep 2005
Posts: 145

Rep: Reputation: 15
ftp://ftp.uni-kl.de/pub/linux/knoppi...7-01-04-EN.iso
what I want is hinder by my emotion, getting pass it and I can then help or have my father aim to succeed at stock market
 
Old 01-22-2007, 03:43 AM   #7
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,318

Rep: Reputation: 126Reputation: 126
Well, I went ahead and copied the /etc/gdm directory from the machine where it worked over to the machine that didn't work. Now, I can finally run the gdmsetup program on both machines. If you like, I can get the tar file to you somehow, as that will probably fix your whole problem.
 
Old 01-23-2007, 02:39 AM   #8
cigarstub
Member
 
Registered: Sep 2005
Posts: 145

Rep: Reputation: 15
I tried to download some DownloadManager to get the knoppix, it's a crazy and boring try, I prefer resting with nice dream about being a moderate and fairly meaning-ignorant animal.
 
Old 01-26-2007, 05:16 AM   #9
Pieter Noom
LQ Newbie
 
Registered: Jul 2006
Distribution: fedora core 5
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks QuakeBoy

Ive been away for a few days so pardon my late reply.
Thanks for your help. I intend to try your ideas tomorrow when I recover from the beers i am having now. As to the .tar file., Yes Please.

I have spent my time aweay downloading and trying to learn heaps of shell commands. It's a hard way to go about learning but I'm loving it.

Thanks again

Groucho(Pieter Noom)
 
  


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
file permissions OK, but command permissions? stabu Linux - General 2 10-05-2005 01:00 PM
locking a usage policy file/ftp file permissions gbow Linux - Newbie 0 02-16-2004 06:35 AM
CVS - file permissions and file ownership Osten Linux - Software 3 01-18-2004 05:08 PM
file permissions and file owner won't change Nadim Slackware 5 11-29-2003 07:03 PM
Changing file permissions on a SAMBA file share apenney Linux - Software 0 02-11-2002 05:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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