This thread may help.
I have looked and tried everything I can find on the net but must be doing something stupid.
Simply put, I have installed Knoppix on my Hard Disk and am trying to get vncserver to run at startup in the same way it does when I run it from a console once logged in - (ie so I see a the same things on my desktop)
I tried using .kde/autostart and placed a link to vncserver in there - this worked ace until I realised that everytime I VNC'd to my Linux box it started another VNC server instance... not good - I ended up with about 20 instances in a day...
I tried changing /etc/X11/xinit/xserverrc by adding the line
exec /usr/bin/vncserver :1
That didn't work.
I tried changing /etc/X11/xdm/Xservers and added the line
:1 local /usr/bin/Xvnc -geometry 1000x730 :1
That didn't work - It can't be that hard <aahhhh>....
Help ?
Thanks
Phil
This thread may help.
Hi Stephen
Thanks but the problem I have is where to launch the vncserver from - which startup file and how... everything I have dont so far wont actually get vncserver launched..
Once its running its fine but I want it to autostart at bootup
Regards
Phil
#/bin/bash
su -c "vncserver -geomtery 1024x768 -name Knoppix:1" knoppix
^ Make a shell script like that. Stick it in /usr/local/bin. Make it owned by you and executable by all.
as root:
ln -s /usr/local/bin/vnc-script_name /etc/rc5.d/S99vnc
Note: I may not have the vncserver command exactly corrent, and there are a lot of options for you to decide on like depth and geometry. I'll have to look at my remastered CD to see what vnc scripts I used.
Thanks - Perfect - did the trick.
Thanks
Phli

MegaRAID 9580-8i8e 16-port 12G SAS/SATA/NVMe 8GB PCIe RAID - 05-50076-00
$1619.30
Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003
$639.69
G-Technology G-SPEED Studio XL 48TB Thunderbolt 2 Storage - Housing Only
$200.00
KTN-STL3 EMC VNX 15-slot Disk Array Expansion, full 15 x 2tb drives 100% health
$360.00
Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller
$64.99
OWC Mercury Elite Pro Quad 4 Bay RAID Storage Enclosure USB 3.1 Gen 2 No Drives
$149.95
LSI 9260-8i 512MB SAS SATA 8-port PCI-E 6Gb RAID Controller Card US
$29.88
Inspur LSI YZCA-00424-101 12Gbps SAS 3.0 RAID Controller CARD HBA HDD
$14.99
BROADCOM 05-50077-01 PCI-E 4.0 x8 PCI-Express MegaRAID 9560-8i RAID Controller
$714.99
Serial ATA two-port SATA PCI card (SiI3112 sil3112 chipset)
$18.99