Changeset 27373006 for x/installing/xinit.xml
- Timestamp:
- 08/01/2019 07:17:08 PM (5 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 9.0, 9.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 9fffa917
- Parents:
- d9951ba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
x/installing/xinit.xml
rd9951ba r27373006 82 82 <title>Installation of xinit</title> 83 83 84 <para revision='sysv'>First, modify <command>startx</command>, hence the X85 session starts on the first unused virtual terminal, which normally is86 vt7:</para>87 <!--Apparently, this should not be done for systemd systems-->88 89 <screen revision='sysv'><userinput>sed -e '/$serverargs $vtarg/ s/serverargs/: #&/' \90 -i startx.cpp</userinput></screen>91 92 <note revision='sysv'>93 <para>94 If you have already installed this package without the sed above, there95 is no need to reinstall. Just modify the installed96 <command>startx</command>, issuing, as the <systemitem97 class="username">root</systemitem> user:98 <command>sed -i '/$serverargs $vtarg/ s/serverargs/: #&/'99 $XORG_PREFIX/bin/startx</command>100 </para>101 </note>102 103 84 <para>Install <application>xinit</application> by running the 104 85 following commands:</para> … … 114 95 <screen role="root"><userinput>make install && 115 96 ldconfig</userinput></screen> 97 98 <note revision='sysv'> 99 100 <para>If starting Xorg from the command line, the default instructions 101 above starts Xorg on the current virtual terminal. It may be convenient 102 to see Xorg and associated application messages on the current virtual 103 terminal, normally tty1, and start the graphical environment on the first 104 available unused virtual terminal, normally tty7. To do this, set the suid bit 105 on the Xorg application as the <systemitem 106 class="username">root</systemitem> user:</para> 107 108 <screen><userinput>chmod u+s $XORG_PREFIX/libexec/Xorg</userinput></screen> 109 110 <para>At this point you can start Xorg on virtual terminal 7 with 111 <command>startx <client arguments> -- vt7</command>. Now 112 you can toggle between tty1 and tty7 with the Ctrl-Alt-F1 and 113 Ctrl-Alt-F7 key combinations.</para> 114 115 <para>To automatically start Xorg on the first available virtual terminal, 116 modify the <command>startx</command> script as the <systemitem 117 class="username">root</systemitem> user with:</para> 118 119 <screen><userinput>sed -e '/$serverargs $vtarg/ s/serverargs/: #&/' $XORG_PREFIX/bin/startx</userinput></screen> 120 121 <para>After this change, the virtual terminal does not need to be 122 specified on the startx command line.</para> 123 124 </note> 116 125 117 126 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.