Linux Junkie

Just Another Addict

Repace VINO With X11vnc on Login

| Comments

Quick guide how to use VINO server and install x11vnc…

1
2
3
4
sudo apt-get purge vino
sudo killall -9 vino-server
sudo apt-get install x11vnc
x11vnc -storepasswd
  • edit file /etc/gdm/custom.conf
1
2
## add right below [daemon]
KillInitClients=false`
  • edit file /etc/gdm//Init/Default
1
2
# add right before the end of the file "exit 0"
/usr/bin/x11vnc -rfbauth  -o /var/log/x11vnc.log -shared -forever -bg -rfbport 5900`

Ubuntu 10.04 Lucid 5.1 HDMI Audio (Intel G45) – Boxee 5.1 HDMI Audio

| Comments

First of all. This is for a Asus P5Q-EM motherboard with Intel G45 onboard. This doc could work for others, but of course I have no clue!

You can verify the hardware first by running :  aplay -l

1
2
3
4
5
6
7
8
9
10
11
 aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC1200 Analog [ALC1200 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC1200 Digital [ALC1200 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: INTEL HDMI 0 [INTEL HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0

VMware Errors – FC6 And/or 2.6.19 Kernel

| Comments

If you are using 2.6.19 kernel, then you will notice some errors with the vmware-config.pl script. If… actually, you better be using the 2.6.19 kernel now, or whatever the latest release is as of now

1
2
3
4
5
6
7
8
9
10
11
 Error runninging vmware-config.pl :  
 /tmp/vmware-config2/vmnet-only/userif.c: In function ‘VNetCopyDatagramToUser’:  
 /tmp/vmware-config2/vmnet-only/userif.c:629: error: ‘CHECKSUM_HW’ undeclared (first use in this function)  
 /tmp/vmware-config2/vmnet-only/userif.c:629: error: (Each undeclared identifier is reported only once  
 /tmp/vmware-config2/vmnet-only/userif.c:629: error: for each function it appears in.)  
 make[2]:   [/tmp/vmware-config2/vmnet-only/userif.o] Error 1  
 make[1]:   [\_module\_/tmp/vmware-config2/vmnet-only] Error 2  
 make[1]: Leaving directory `/usr/src/kernels/2.6.19-1.2911.fc6′  
 make: [vmnet.ko] Error 2  
 make: Leaving directory `/tmp/vmware-config2/vmnet-only’  
 Unable to build the vmnet module.

It seems CHECKSUM_HW has been remove from 2.6.19 and replaced with CHECKSUM_PARTIAL. You can either replace any CHECKSUM_HW lines with CHECKSUM_PARTION, or you can use the patch that Robin Kearney (usefulthings.org.uk) has writtenHow to use the Patch:

Secure FTP (ProFTPD With TLS)

| Comments

I always wondered how hard it might be to get ftp running with encryption (preferably proFTPd since that has always been my choice ftp server).

I did realize how easy it was. Of course again this documentation really only refers to Fedora Core 5. I am sure you can take this info and put it towards any other linux os.

proFTPd TLS extremely mini howto

  • edit /etc/proftpd.conf
1
2
3
4
5
6
7
8
9
10
## Add the Following lines.. or uncomment them# TLS  
# Explained at http://www.castaglia.org/proftpd/modules/mod_tls.html  
TLSEngine on  
TLSRequired on  
TLSRSACertificateFile /etc/pki/tls/certs/proftpd.pem  
TLSRSACertificateKeyFile /etc/pki/tls/certs/proftpd-key.pem  
TLSCipherSuite ALL:!ADH:!DES  
TLSOptions NoCertRequest  
TLSVerifyClient off  
TLSLog /var/log/proftpd/tls.log