Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61852 - startxfce4: X listens on tcp
Summary: startxfce4: X listens on tcp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-26 13:27 UTC by Geoff
Modified: 2006-06-05 15:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
nolisten-tcp.patch (nolisten-tcp.patch,703 bytes, patch)
2006-06-05 15:14 UTC, Samuli Suominen (RETIRED)
Details | Diff
patch for xfce-utils-4.2.3.ebuild (xfce-utils-4.2.3.ebuild.patch,668 bytes, patch)
2006-06-05 15:23 UTC, Samuli Suominen (RETIRED)
Details | Diff
patch for xfce-utils-4.3.90.1.ebuild (xfce-utils-4.3.90.1.ebuild.patch,608 bytes, patch)
2006-06-05 15:24 UTC, Samuli Suominen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Geoff 2004-08-26 13:27:12 UTC
The /usr/bin/startxfce4 script calls xinit with the wrong parameters.  It (improperly) starts the X server listening to tcp

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




The proper call would be this:

  if [ -x $HOME/.xfce4/xinitrc ]; then
        exec xinit $HOME/.xfce4/xinitrc -- -nolisten tcp$*
  else
        exec xinit /etc/xfce4/xinitrc -- -nolisten tcp$*
  fi
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-04 10:27:46 UTC
Anybody out there? Is this even relevant still?
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2006-06-05 15:14:25 UTC
Created attachment 88476 [details, diff]
nolisten-tcp.patch

Patch for xfce-utils-4.2.3 and xfce-utils-4.3.90.1.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2006-06-05 15:15:09 UTC
And for both ebuilds,

src_unpack() {
        unpack ${A}
        cd ${S}
        epatch ${FILESDIR}/nolisten-tcp.patch
}

I'll post these as patches too.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2006-06-05 15:16:34 UTC
Same has been done for startx.

See, /usr/portage/x11-apps/xinit/files/nolisten-tcp-and-black-background.patch
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2006-06-05 15:23:36 UTC
Created attachment 88479 [details, diff]
patch for xfce-utils-4.2.3.ebuild
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2006-06-05 15:24:31 UTC
Created attachment 88480 [details, diff]
patch for xfce-utils-4.3.90.1.ebuild
Comment 7 Stefan Schweizer (RETIRED) gentoo-dev 2006-06-05 15:37:17 UTC
Thanks, fixed for drac :)