Debian :: Make Vncserver Starts On Boot ?
Feb 25, 2011
Hi all,
how can I make vncserver starts on boot?
Realvnc was installed by "apt-get install vnc-server" command.
There in NO start-stop script in /etc/init.d/ (is it ok? ), so I can't use update-rc.d. When placing
vncserver
or
/bin/bash -c "cd /root/ && vncserver :1" 2> /tmp/vncstart &
in rc.local it starts nothing but "vncpasswd //.vnc/passwd" (and YES, there is password in /root/.vnc/passwd)
Please, help!
View 3 Replies
ADVERTISEMENT
Nov 26, 2010
in Debian Lenny, using TightVNC 1.3.9 I can setup a VNC server manually by using
Code:
vncserver -query localhost -once -geometry 1024x768 -depth 16 :1
But then, as I have read is a better option, I use xinetd with the following configuration:
Code:
service vnc-1024x768x16
{
protocol = tcp
socket_type = stream
wait = no
[Code].....
In fact, I was considering that the problem was with xinetd, but I have other services setted up with it (telnet & ftp for example) and I can use them correctly.
So now I'm lost with this, what else am I not considering with VNC service through xinetd? Where can I find logs or useful information to get a clue about this problems?
View 11 Replies
View Related
Apr 29, 2011
dear, in centos / fedora, I can config to start a permanent vnc session by setting the /etc/sysconfig/vncserver file when the system starts. Is there any similar configuration in opensuse which give me a permanent session?
View 6 Replies
View Related
May 21, 2009
I am currently using FC10 on a Dell 4600 with 2GB of ram. I love Linux as it is the most stable OS around. My end goal is to have the machine boot and start the vncserver automatically, eventually using an ssh tunnel to make it secure. My main problem is the vncserver is not starting on boot, I must login as a user then it works great. the error I get is
[Code]....
Basically what happens is the vncserver fails on boot however, if I login to the Fedora box I am able to connect and I get the GDM login screen. I have read many, many posts but have not been able to get over the boot issue. I really want to make this a headless box I can put in another room so I have more room for my musical gear.
View 1 Replies
View Related
Jun 21, 2009
configured /etc/sysconfig/vncserver, used vncpasswd as the user im trying to log in as to set passwd, disabled firewalls, set chkconfig --add vncserver but still whenever i try to connect to the vnc server I get "unable to connect to host: Connection refused (10061)". If I run the "vncserver" command as my normal user, I can connect fine then. This really wearing on me, any help is greatly appreciated. It is weird if I try to stop vncserver it says [ok] and then if I try to stop again it says [Failed] but if I check the status of vncserver it says Xvnc is running..
View 8 Replies
View Related
May 2, 2011
I installed 11.04 after Windows 7. when the GRUB boot menu starts up there is an option for Win 7 boot but it will not boot windows. When that option is selected the screen changes colour for 2 seconds and then reverts to the GRUB menu. Ubuntu boots fine.I downloaded the Boot Info Script and ran it, the results are
Code:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================[code].....
View 3 Replies
View Related
Dec 3, 2010
I'm not really sure what the problem is here, but sshd does seem to start on system boot. tty1 does list "OpenBSD Secure Shell server" at least. Also, # service --status-all; indicates that sshd is running, but if I try and actually ssh into my box, I get a "Connection refused" response.
I am, however able to restart the service manually and everything magically works again. Odd...?
View 1 Replies
View Related
Aug 9, 2010
How can I make slackware startx whenever it starts instead of having to go login as root and type startx each time?
View 6 Replies
View Related
May 27, 2011
My old computer started randomly rebooting so I went out yesterday and bought a new one. It's a standard Intel 64 architecture with 2gb ram etc.The old computer was running Lenny however I'm happy to upgrade, so I just went to the main Debian download site and downloaded:debian-6.0.1a-ia64.netinst.iso (this didn't work, apparently ia64 is for itanium and my machine is definitely not that), so I downloaded: debian-6.0.1a-amd64-netinst.iso, burnt the CD and ran the install. First time through I had a power failure.
Second time through (a complete fresh start - new partition and everything) it went all the way through to completion and reboot.Clicked 'Continue' to reboot and the machine reset as it would normally and the Grub loader started okay, prompted for the "Debian amd64" standard boot image, selected that and the first 6 lines appeared normal, then the messages wizzed by so fast that only superman could read them. Then they stop - here is some of the content...
[3.816673] Kernel panic - not syncing: Attempted to killl init!
Call trace:
get_empty_filp
panic
[code].....
Running it again I get similar stack stuff but it's a different place: [3.541816], [3.427502] And sometimes if I wait for a minute or two it will continue on further but appear to crash again. Hardware details (everything is onboard - no added cards):
G41M-S3
Intel G41 + ICH7 chipsets
CPU: LGA 775 for Intel Core 2 Extreme
[code]......
Is the amd64 the wrong image? Should I try i386? Is it a blip and I should just rerun the entire install again?
View 14 Replies
View Related
Mar 27, 2011
Is there a quick and easy way to make sure apache always starts with a certain nice value?
View 1 Replies
View Related
Jun 15, 2011
I've installed MongoDB and I want init to start the database with the --journal flag. I'm quite rusty on how init works, but I know it involves the /etc/init and /etc/rc directories.I've found /lib/init/upstart-job and someone in the chat is suggesting that I just edit that bash script, but I can see it's involved with more than half the system service, so I'm a little hesitant to edit it. In fact, I'm pretty sure if I followed that advice I'd really screw up my system and then the person "helping" me would just stop responding.
View 1 Replies
View Related
Mar 16, 2011
I know that boot partition is possible to create within debian distribution that has grub 2.0, as I have done before with ubuntu. I have been trying many different options with my preseed file but it keeps taking the boot partition out of LVM and creating and extended partition too and then creates the LVM primary partition.
### Partitioning.
# you can specify a disk to partition. The device name can be given in either
# devfs or traditional non-devfs format. For example, to use the first disk
[code]....
View 1 Replies
View Related
Oct 13, 2010
To make Ubuntu work on my computer I need to select the noapic option NOW How do I make certain that the noapic option is selected always when ubuntu starts after ubuntu has been installed?I would like to install Ubuntu 10.10 on my computer togheter with windows 7
View 4 Replies
View Related
Mar 16, 2011
I know that boot partition is possible to create within debian distribution that has grub 2.0, as I have done before with ubuntu. I have been trying many different options with my preseed file but it keeps taking the boot partition out of LVM and creating and extended partition too and then creates the LVM primary partition. My preseed file is below:
code:
View 1 Replies
View Related
Mar 16, 2011
I know that boot partition is possible to create within debian distribution that has grub 2.0, as I have done before with ubuntu. I have been trying many different options with my preseed file but it keeps taking the boot partition out of LVM and creating and extended partition too and then creates the LVM primary partition. My preseed file is below:
code:
View 1 Replies
View Related
Oct 16, 2009
How to make firefox online by default. It always starts in offlin mode.
View 2 Replies
View Related
Aug 16, 2010
I have a Redhat Enterprise Linux system and I want to re-make it as Debian. I downloaded the Debian netinst iso but can't seem to make a bootable CD out of it, and I haven't found any adequate explanations anywhere.
I tried burning the iso directly to a disk. i set up the boot order in my BIOS but when I restart the machine it spins the CD drive a few times and then moves on to the hard drive.
I tried expanding the iso into a directory, and then copying all those files into into the "Blank CD-R Disc" on my Gnome Desktop, burnt the CD, and still no boot.
I found some instructions using X3b, but X3b was giving me errors.
View 8 Replies
View Related
Sep 14, 2010
I just installed Debian on the unused part of my HDD. It did not pick up the other OS I have on this PC, but the installer said I could later edit GRUB to make the other OS boot again. I have looked around and done some searches with no luck.
View 14 Replies
View Related
Aug 20, 2015
I would like to make a boot RAID0 LVM on a pair of SSDs (sdc and sdd). The system is already running off of a HDD. I built the RAID0 through the Asus BIOS on the Intel controller. I see:
# cat /proc/mdstat
Personalities : [raid0]
md124 : active raid0 sdc[1] sdd[0]
59346944 blocks super external:/md126/0 32k chunks
md125 : active raid0 sda[1] sdb[0]
222715904 blocks super external:/md127/0 32k chunks
[code]....
My challenge is that when I open Gparted, it only show one disk at a time. I would like to learn how to use Gparted to partition this RAID0 with a UEFI sector and LVM for the rest.
View 2 Replies
View Related
Jan 5, 2010
so as my title implies I like to login to my headless debian box after it reboots yet havent found any info on that. Can someone please tell me of script which I suppose would be used to make vino start as a process right after boot
View 2 Replies
View Related
Mar 3, 2010
I like to login to my headless debian box after it reboots yet havent found any info on that. Can someone please tell me of script which I suppose would be used to make vino start as a process right after boot.
View 3 Replies
View Related
Jun 2, 2011
I have a Dell PowerEdge SC1425 with two SCSI-disks, that I have tried installing Debian Squeeze on. This machine has previously been running Lenny (with grub 1), and the upgrade was done by booting a live-cd, mounting the root partition and moving everything in / to /oldroot/, then booting the netinstall (from USB), selecting expert install and setting up everything (not formatting the partition).
Both disks have identical partition tables:
/dev/sda1 7 56196 de Dell Utility
/dev/sda2 8 250 1951897+ fd Linux raid autodetect
/dev/sda3 * 251 9726 76115970 fd Linux raid autodetect
/dev/sda1 and /dev/sdb1 contain a Dell Utility, that I have left in place.
/dev/sda2 and /dev/sdb2 are members of a Raid-1 for swap.
/dev/sda3 and /dev/sdb3 are members of a Raid-1 for / formatted with reiserfs.
After installation, grub loads, but fails with the following message:
GRUB loading.
Welcome to GRUB!
error: no such disk.
Entering rescue mode...
grub rescue>
Doing "ls" shows:
(md0) (hd0) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1)
I can do the following to get grub to boot:
set root=(hd0,3)
set prefix=(hd0,3)/boot/grub
insmod normal
normal
This will bring me to the grub menu, and the system boots.
It appears that grub has only found md0, which I believe is the swap partition, because ls (md0)/ returns error: unknown filesystem. I have installed grub to both sda, sdb and md1, and tried dpkg-reconfigure grub-pc and dpkg-reconfigure mdadm, as well as update-grub.
I manually added (md1) /dev/md1
to /boot/grub/device.map, but still no result.
I have run the boot_info_script.sh, but unfortunately I cannot attach the RESULTS.txt, because the forum aparently does not allow the txt-extension. Instead I have placed it here: [URL]. I am tempted to go back to grub-legacy, but it seems I am quite close to getting the system working with grub2.
View 6 Replies
View Related
Mar 14, 2011
I have an old version of DSL installed, followed by XP. On a further partition I installed Debian 6. Installation of Debian went smoothly, including the final detection of the other two OS for Grub. I had expected that the Debian-version of Grub would override/overwrite the one that came when I installed DSL.
It did not - when I boot, Grub comes up with the old DSL menu, in which Debian is not included.
From what I've been reading about Grub, there's two "fases", first in MBR, that points to the second part where the actual boot-commands are given, in my case stored in DSL.
When I open the Grub config-file in Debian, both DSL and XP are correctly listed.
Now I'm not sure what to do - I'm a bit hesitant to try and point grub-fase-1 to Debian (if I can write the correct lines at all, I'm very insecure on that) - if that fails, I cannot boot at all. But I'm not really sure either how to formulate a new rule in the DSL-grub, to make Debian boot from the existing menu.
View 9 Replies
View Related
Oct 12, 2010
When I start linux, sometimes it boots to kde login screen and sometimes it boots to terminal login. I can login on a user, startx and all is up and running again, so it's not a great problem... but I'm curious about what could be happening.I'm not very used to linux,
View 1 Replies
View Related
Mar 17, 2010
Just over the past few days Firefox 3.5.8 now starts as soon as the desktop has loaded - it's not set to do this in 'Startup Applications' - how do I stop it starting on boot?Also, over the same period, if I click a javascript link, nothing happens, it no longer opens the relevant page or image; so I click it again and still nothing, however several minutes later the page/image may open, but not always.Also if I close Firefox, then later click a link in an email it no longer opens Firefox - I then have to go into 'System Monitor > Processes', find and then 'end process' for Firefox (cause it's sleeping) before I can actually start it.I've gone in Synaptic and 'reinstalled' Firefox, but it made no difference. I cleared the cache and all cookies as well - could something have got into Firefox, and if so how can I fix it ?
I'm using karmic 9.10 32 bit with kernel 2.6.31-20-generic-pae update - it appears it's a javascript problem within Firefox as I can no longer open the popup window for online banking from my banks webpage link - I can do this in other browsers such as Epiphany, Google Chrome and Opera, but not in Firefox
View 6 Replies
View Related
May 1, 2011
I have been using 11.04 for about a day, I go to boot up and it goes into busybox initramfs instead of booting into Ubuntu. The options to my boot in grub, and the errors I get when booting into initramfs are in the pictures attached to this post.
View 2 Replies
View Related
Feb 2, 2010
I can make a connection to the vpn server, the connection starts, but nothing happens! My IP address remains the same as previous! There is nothing added to my Knetworkmanager, I'm a beginner I should use a pcf file for my vpn connection. I use it properly, I'm sure because the connection starts and an icon is added to my panel and remains until I disconnect.
I checked it via ifconfig -a, the last part (which is for vpn) is:
Code:
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:141.213.169.76 P-t-P:141.213.169.76 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1390 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
View 2 Replies
View Related
Jun 1, 2011
I have installed windows on c: and the ubuntu on d: drive..Is it poossible to make ubuntu as first option when computer starts?
View 3 Replies
View Related
Jun 11, 2009
One of the screens in the installer( middle of screen) will show what systems are on the grub menu, and one will be marked the default.
If the vista is not there (usually indicated by other), then click the add and select the correct boot partition (sda for vista) and change it's label to Windows Vista.
If other is there, click the edit button and change other to Windows Vista.
Finally, click the check box for the one you want to be the default boot. (you can always change that in the grub.conf later.)
View 14 Replies
View Related
Dec 28, 2009
I'm attempting to install F12 64 bit. I currently have F10 running on this system. I'd like to do a clean install. I'm using the DVD. I boot the computer with the DVD in. I choose the first option (Install or upgrade). It starts the boot process and then it hangs. [URL]
After asking at #Fedora I was given the advice to boot with `intel_iommu=off`. That gets me slightly further in the process. It gets to the point where anaconda is starting. Then all heck breaks loose. It appears the monitor loses the signal from the computer (power light turns red just like if the computer was off). The caps lock and the scroll lock lights on the keyboard blink about once a second. The DVD drive continues to spin for about a minute and then stops. Since I have no display, I have no idea what's going on.
View 2 Replies
View Related