Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 323952 Details for
Bug 434382
net-misc/tigervnc - init.d script multi-user improvement
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for init script customized user options
tigervnc.initd-customized_users.patch (text/plain), 733 bytes, created by
Rafal Lalik
on 2012-09-15 22:27:26 UTC
(
hide
)
Description:
Patch for init script customized user options
Filename:
MIME Type:
Creator:
Rafal Lalik
Created:
2012-09-15 22:27:26 UTC
Size:
733 bytes
patch
obsolete
>--- files/tigervnc.initd 2010-03-06 17:30:03.000000000 +0100 >+++ files/tigervnc.initd 2012-09-15 23:11:54.291468432 +0200 >@@ -37,7 +37,18 @@ > checkconfig start || return 1 > ebegin "Starting TigerVNC server" > for user in $DISPLAYS; do >- su -s /bin/sh ${user%%:*} -c "cd ~${user%%:*} && vncserver :${user##*:} $VNC_OPTS" &>/dev/null >+ usrname=${user%%:*} >+ usropts=VNC_OPTS_${usrname} >+ usrdisp=${user##*:} >+ usrdispopts=$usropts"["$usrdisp"]" >+ if [ ! -z ${!usrdispopts} ] ; then >+ vnc_opts=${!usrdispopts} >+ elif [ ! -z ${!usropts} ] ; then >+ vnc_opts=${!usropts} >+ else >+ vnc_opts=$VNC_OPTS >+ fi >+ su -s /bin/sh ${user%%:*} -c "cd ~${user%%:*} && vncserver :${user##*:} $vnc_opts" &>/dev/null > done > eend $? > }
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 434382
:
323242
| 323952 |
323954
|
323956