diff options
-rw-r--r-- | net-misc/tigervnc/ChangeLog | 5 | ||||
-rw-r--r-- | net-misc/tigervnc/files/tigervnc.initd | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/net-misc/tigervnc/ChangeLog b/net-misc/tigervnc/ChangeLog index 139149bd2fec..4eac7d266e83 100644 --- a/net-misc/tigervnc/ChangeLog +++ b/net-misc/tigervnc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-misc/tigervnc # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/tigervnc/ChangeLog,v 1.139 2012/09/16 16:14:17 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/tigervnc/ChangeLog,v 1.140 2012/09/16 17:46:15 armin76 Exp $ + + 16 Sep 2012; Raúl Porcel <armin76@gentoo.org> files/tigervnc.initd: + Do a source /etc/profile, bug #307773 *tigervnc-1.2.0 (16 Sep 2012) diff --git a/net-misc/tigervnc/files/tigervnc.initd b/net-misc/tigervnc/files/tigervnc.initd index 1c706670a8fc..6848cf03cb5b 100644 --- a/net-misc/tigervnc/files/tigervnc.initd +++ b/net-misc/tigervnc/files/tigervnc.initd @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-misc/tigervnc/files/tigervnc.initd,v 1.4 2012/09/16 16:14:18 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/tigervnc/files/tigervnc.initd,v 1.5 2012/09/16 17:46:15 armin76 Exp $ depend() { need net @@ -53,7 +53,7 @@ start() { echo $usrshell $shell fi - su ${shell} ${user%%:*} -c "cd ~${user%%:*} && vncserver :${user##*:} $vnc_opts" &>/dev/null + su ${shell} ${user%%:*} -c "source /etc/profile && cd ~${user%%:*} && vncserver :${user##*:} $vnc_opts" &>/dev/null done eend $? } @@ -70,4 +70,4 @@ stop() { restart() { svc_stop svc_start -}
\ No newline at end of file +} |