netstat -natup
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
Instead launch the X server using 'startx -- -nolisten tcp'. Here's the netstat output now:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
Better yet, add the following to your .bash_profile to automate this process:
alias startx='startx -- -nolisten tcp'
Tidak ada komentar:
Posting Komentar