Changeset eca7a58 for lxde/desktop
- Timestamp:
- 09/25/2015 01:11:15 AM (9 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 7.10, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gimp3, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- c81d34a
- Parents:
- 1c2bec77
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lxde/desktop/lxde-common.xml
r1c2bec77 reca7a58 139 139 140 140 <para> 141 You can start <application>LXDE</application> from runlevel 3, using 142 <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager, 143 such as <xref linkend="sddm"/>. 144 </para> 145 146 <para> 141 147 To start <application>LXDE</application> using <xref linkend="xinit"/>, 142 148 run the following commands: … … 144 150 145 151 <screen><userinput>cat > ~/.xinitrc << "EOF" 146 startlxde 152 <literal>ck-launch-session dbus-launch --exit-with-session startlxde</literal> 147 153 EOF 148 154 149 155 startx</userinput></screen> 150 156 151 <note> 152 <para> 153 When <xref linkend="consolekit"/> was built, if you did not use the 154 recommended <xref linkend="linux-pam"/> dependency or did not rebuild 155 <xref linkend="shadow"/> with Linux-PAM, ~/.xinitrc should have the 156 entry: 157 </para> 158 159 <screen><userinput>ck-launch-session startlxde</userinput></screen> 160 161 <para>to obtain the appropriate permissions for system functions.</para> 162 163 <para> 164 To test if ck-launch-session is needed, run 165 <command>ck-list-sessions</command> fropm the command line. If a session 166 associated with the current tty is present that is both 'active' and 167 'local' then <command>ck-launch-session</command> is not needed. 168 </para> 169 </note> 157 <para> 158 The X session starts on the first unused virtual terminal, normally vt7. 159 You can switch to a vtn (n=1, 2, ...) simultaneously pressing the keys 160 Ctrl-Alt-Fn. To switch back to the X session, normally started at vt7, 161 use Ctrl-Alt-F7. If started from vt1 (the usual case), you will see many 162 messages there, including X starting messages, applications automatically 163 started with the session, and eventually, some warning and error 164 messages. You may prefer to redirect those messages to a log file, which 165 not only will keep vt1 uncluttered, but also can be used for debug 166 purposes. This can be done starting X with: 167 </para> 168 169 <screen><userinput>startx &> ~/.x-session-errors</userinput></screen> 170 171 <para> 172 You may wish to drop consolekit and/or dbus-launch, e.g., just using 173 startlxde in .~/.xinitrc, but some functionalities such as mount/umount 174 file systems from a file manager will not be possible, or the reboot 175 option will be absent or not functioning, between other problems. 176 </para> 177 178 <para> 179 Because X is (normally) on vt7, when you shutdown the vt is switched back 180 to that one where the command starting it was executed. In this case, if 181 you wish to see the shutdown messages, simultaneously press keys Alt-F7, 182 because normally those messages appear on the vt where X was running. 183 </para> 170 184 171 185 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.