Editing
MoreUbuntu
(section)
From Linix VServer
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== KDE Desktop Manager === Change following settings in kdmrc (only relevant parts are shown, leave others unchanged) * For standard X server command add -novtswitch -sharevts vtN, e.g. <pre class="code">[X-:*-Core] ServerCmd=/usr/X11R6/bin/X -br -novtswitch -sharevts vt7 TerminateServer=true</pre> Note N is console number assigned to corresponding seat. * kdm/Xsetup, add following lines to this file to reduce guest's capabilities on login <pre class="code">/sbin/reducecap --cap CAP_SYS_TTY_CONFIG /bin/true /sbin/reducecap --cap CAP_NET_ADMIN /bin/true /sbin/reducecap --cap CAP_NET_RAW /bin/true /sbin/reducecap --cap CAP_SYS_BOOT /bin/true /sbin/reducecap --cap CAP_MKNOD /bin/true /sbin/reducecap --cap CAP_QUOTACTL /bin/true</pre> Note:<br /> Due to how kdm works, Xorg must be terminated after each session and the CAP_SYS_RAWIO and CAP_SYS_ADMIN capabilities may not be reduced, This is a major security risk. I hope that kdm will address this issue in the near future. One possible workaround is to use gdm to start KDE session. <span id="future-works"></span>
Summary:
Please note that all contributions to Linix VServer may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Linix VServer:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
About
Overview
Paper
News
Developers
Donations
Search
Getting Started
Downloads
FAQs
Documentation
Support
Participate
How to participate
Report a Bug
Communicate
Teams/Projects
Hall of Fame
Resources
Archives
Recent Wiki Changes
Pastebin
Related Projects
VServer Hosting
Happy VServer Users
Tools
What links here
Related changes
Special pages
Page information