Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have read about changing permissions until I'm cross-eyed, and maybe my 12 medications don't help either! Could someone give me a specific entry for changing a file and then I'll work my way from there?
The file is "etc" in FILE SYSTEM with a location of /, volume /. (I have recently added Kubuntu to my Ubuntu Dapper and the DEFAULT DISPLAY MANAGER file is in the "X11" file within the "etc" file.)
When I open the "etc" file and click on permissions, it says I don't have ownership.
Could you give me the exact command to change the root permission for this file please? I'm still pretty new, 100% Linux now, but do have some issues grasping things until they click..thanks.
well back up and explain what you actually want to acheive... what's the end goal here? your user in ubuntu is not root, and shouldn't be, as such you are not meant to "own" /etc (a directory, not a file btw...) if you did, things would probably break a lot...
You shouldn't probably be changing the permissions of /etc directory (which is a file, that's correct, but a special kind of file) nor anything under it. If you need to change something, use either root account (in Ubuntu you'll need to first unlock it) or simply sudo which is better in cases like this. For example you can run this command to edit some file that you don't have permissions for, if you have sudo configured (and you do, if you're using the first user account created during Ubuntu setup):
..then it asks for your (own) password and once you type it in, the file is opened with 'gedit'. Works for clear-text files. If you're not interested in graphical editors, use 'sudo' instead of 'gksudo' (the latter one is graphical dialog) and a command-line text editor.
Thank you all for your input, bouncer gave me a command and that is what I needed.
Here is what I was trying to do, based on KUBUNTU instructions:
"To change default from KDE to GNOME you need to change this file:
/etc/X11/default-display-manager
The default can always be changed later by modifying the:
/etc/X11/default-display-manager file
For KDM, the file should read /usr/bin/kdm;
for GDM, the file should read /usr/sbin/gdm"
So, When I want to change this default from KDE to GNOME, I had to get permission to do this, which prompted my question. Secondly, I was previously successful in changing this from GDM TO KDM, SO I did something right, but when trying to change it back I draw a blank.
Also, now that I have KDE, I'm not sure I like the overall features compared to Ubuntu so would like to uninstall it, but when use Synaptic Manager and uninstall all KDE items, I still am getting the KDE log-in screen after my initial brown Ubuntu screen appears and the system loads. Thx agin
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.