CUPS: Unknown Name and Withheld User in the job list








In the recent cups, the document file name and the user name are not displayed:

Solution

To display the job document file name and the user name:
  • Edit /etc/cups/cupsd.conf: change
    JobPrivateValues default
    to
    JobPrivateValues none
  • Restart cupsd:
    sudo /etc/init.d/cups restart



Redhat/CentOS: X11 forwarding request failed on channel 0








Was trying to forward xdisplay back to local computer from the remote a Redhat 6.5 server via SSH,
ssh -X user@remote-redhat-server
xterm
got the following error:
X11 forwarding request failed on channel 0

Solution:

  • Login the remote Redhat server via ssh:
    ssh user@remote-redhat-server
  • Enable X11 forwarding in /etc/ssh/sshd_config:
    sudo vi /etc/ssh/sshd_config
    X11Forwarding yes
    X11UseLocalhost no
  • Install xauthroity:
    sudo yum install xauth
  • Important: Reload ssh server:
    sudo /etc/init.d/ssh reload



VMWare Fusion 6: NAT port forwarding








  • Edit /Library/Preferences/VMware Fusion/vmnet8/nat.conf, in the [incomingtcp] section:
    [incomingtcp]
    # <external port>=<vm ip address>:<vm port>
    8080=192.168.58.130:8080
    
  • NOTE: You MUST restart VMVare Fusion to make it work. (Restarting only the VM will NOT reload the configuration).