LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 02-24-2009, 11:24 AM   #1
ctsiow
LQ Newbie
 
Registered: Oct 2007
Location: Isle of Wight, UK
Distribution: Ubuntu 8.10 server - Ubuntu 10.10 Aspire netbook
Posts: 29
Blog Entries: 2

Rep: Reputation: 15
Question stop a user changing from gnome to kde at log on


Just wanted to know if there was anyway of stopping a user from changing a session from gnome to kde when they login. Have a user, youngest son, that is all setup correctly with screen res etc. correct to run childsplay and gcompris under gnome but he then goes and logs out and changes to kde and it all goes wrong! system is ubuntu intrepid with him as desktop user security. (Moved him on to Linux as he messed up a load of pictures in my daughters folder in windose and to stop her killing him i set him up on my machine instead!) Gotta love REAL security eh?
 
Old 02-24-2009, 01:16 PM   #2
SlowCoder
Senior Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Debian based
Posts: 1,250

Rep: Reputation: 164Reputation: 164
What about removing KDE?
 
Old 02-24-2009, 03:27 PM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
http://library.gnome.org/admin/gdm/2...#sessionconfig
Quote:
5.7. GDM Session Configuration

GDM sessions are specified using the FreeDesktop.org Desktop Entry Specification, which can be referenced at the following URL: http://www.freedesktop.org/wiki/Spec...top-entry-spec.

These files are installed, by default, to <etc>/X11/sessions/. For backwards compatibility any desktop files in the <etc>/Sessions, <share>/xsessions, and <share/gdm/BuiltInSessions directories are also recognized by GDM.

A session can be disabled by editing the desktop file and adding a line that says Hidden=true.

Last edited by farslayer; 02-24-2009 at 03:34 PM.
 
Old 02-24-2009, 04:29 PM   #4
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
If he likes KDE better, why not just set up his account under KDE?

What exactly do you mean "everything goes wrong"? I run KDE apps under Gnome, and vice-versa with no problems at all. If you give us specifics, someone might be able to help you correct the problem so your son can use his preferred environment. Just a thought...

Cheers
 
Old 02-24-2009, 06:05 PM   #5
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,819

Rep: Reputation: 229Reputation: 229Reputation: 229
Give him his own with chmod and chown.

If you use your control as root to give your son his own login, password, and /home, you can let him use, change, or be limited to just those applications and files, including one or more desktops, that you choose. If you made his /home a copy of the common /home, he could wreak joyous havoc with the permitted files, learn a good deal and have it all there to be restored if need be.
 
  


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
Can't log in as user in GNOME Debian 4.0 ju_medea Debian 2 05-30-2007 07:01 AM
how to stop admin-user changing file permissions Peter@KKVS Linux - Networking 1 11-10-2006 03:57 AM
Changing from Gnome to KDE? Projectpat21 Fedora 2 10-16-2005 02:20 AM
Should distros stop providing both Gnome and KDE Franklin Linux - Distributions 15 03-01-2005 06:05 PM
Changing KDE Log-in Resolution OverlordManny Linux - Software 5 11-15-2004 05:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 09:07 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