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

One Of A Kind Homemade Vintage Mainframe Computer, Logic Module Wood Bookends
$149.00
Vintage Telex 952003-112 Mechanical Terminal Keyboard IBM 3270 Mainframe DB25
$594.99
Vintage Intel Mainframe Server MCM CPU Substrate Lot Prototyping PGA Validation
$500.00
HP 13210-60001 Disc Drive Interface PCB HP 7900A 7901A Vintage
$157.93
4x Various Brands 8.5" Mainframe 9-Track Reel Computer Data Tape 6250 CPI .5"
$24.99
Vintage Japanese Katakana Double Shot Sperry Univac UTS 4000 Keyboard 1981
$199.99
LOT of 14 DATA 100 Corporation Mainframe Terminal Boards Memory Backplane Gold
$749.99
Vintage UNIVAC Mainframe Circuit Board Lamp - Cyberpunk Tech Geek Industrial Art
$225.00
HP 5060-8359 8K Semiconductor Memory Module 5080-9747 Vintage HP Computer
$157.30
MCSI IND-486DX Industrial ISA SBC PC/104 Motherboard NOS Untested No CPU RAM
$189.99