Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 586502 Details for
Bug 611669
xrdp: execute startwm.sh under a login shell
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Have correct environment, even when using xinitrc
xrdp-spec-bash-l.patch (text/plain), 939 bytes, created by
Bojan Smojver
on 2012-05-24 01:14:53 UTC
(
hide
)
Description:
Have correct environment, even when using xinitrc
Filename:
MIME Type:
Creator:
Bojan Smojver
Created:
2012-05-24 01:14:53 UTC
Size:
939 bytes
patch
obsolete
>diff --git a/xrdp.spec b/xrdp.spec >index 9f40992..d861835 100644 >--- a/xrdp.spec >+++ b/xrdp.spec >@@ -54,6 +54,13 @@ terminal server / remote desktop clients. > # increase encryption to 128 bit's > %{__sed} -i 's/crypt_level=low/crypt_level=high/g' xrdp/xrdp.ini > >+# create 'bash -l' based startwm, to pick up PATH etc. >+echo '#!/bin/bash -l >+. %{_sysconfdir}/xrdp/startwm.sh' > sesman/startwm-bash.sh >+ >+# set 'bash -l' based startwm script as default >+%{__sed} -i -e 's/DefaultWindowManager=startwm.sh/DefaultWindowManager=startwm-bash.sh/' sesman/sesman.ini >+ > %build > ./bootstrap > >@@ -88,6 +95,9 @@ touch %{buildroot}%{_localstatedir}/log/xrdp-sesman.log > touch %{buildroot}%{_sysconfdir}/xrdp/rsakeys.ini > %{__chmod} 0600 %{buildroot}%{_sysconfdir}/xrdp/rsakeys.ini > >+#install 'bash -l' startwm script >+%{__install} -Dp -m 755 sesman/startwm-bash.sh %{buildroot}%{_sysconfdir}/xrdp/startwm-bash.sh >+ > > %post > if [ $1 -eq 1 ] ; then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 611669
:
469292
| 586502