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
HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD
$69.99
Western Digital WD60PURZ 6TB Hard Drive SATA6 Gb/s 64MB Cache 3.5 Inch
$109.99
WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F
$25.00
Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive
$169.99
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$82.99
Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive
$29.99
2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive
$26.85
Western Digital WD5000LPLX 500GB 2.5" SATA 32MB 6Gb/s 7200RPM Laptop Hard Drive
$7.99
Seagate Exos 14 TB SATA 6Gb/s 256 MB 7200 rpm Hard Drive HDD
$130.00
Seagate 12TB 7.2K SAS 12G 3.5" Hard Drive HDD ST12000NM004J WL
$85.00