top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to start a vncserver on reboot on fedora19

0 votes
366 views

I cannot manage to get fedora 19 to start a vnc server on reboot. I have tried various approaches:

a) edit /etc/systemd/system/vncserver@:1.service It does not work. It kills any vncserver I am running at :1, but *never* starts a new one.
systemctrl status vncserver@:1.service reports the service as dead, but without any error message.

b) I wrote a small bash script that starts vncserver at :1, and set a cronjob on the user. The server runs ok when I run the script from the terminal (I can see gnome desktop in it), but gnome does not start from the cronjob. (I have even set a sleep of 30 seconds to delay the start of the vncserver). The vncserver starts, but it is empty.

Method b worked in fedora 18, but not anymore in fedora 19. What is the way to start a tiger vnc server at reboot for a user?

posted Aug 12, 2013 by Sanketi Garg

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

Perhaps a bug? The service script has changed, so you might want to take a fresh copy from /lib/systemd/system/vncserver@.service.

answer Aug 12, 2013 by anonymous
Similar Questions
+1 vote

I am getting the error message below on a Fredora 19 system when attempt to start VirualBox Any help will be greatly appreciated :

Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing '/etc/init.d/vboxdrv setup' as root.

0 votes

The login screen provided by lightdm (do I have this right?) on Fedora 19 is not as attractive as the one provided by Fedora 17 (not lightdm)? Is there any way to configure for a different image.

0 votes

I have added a new service which starts a second httpd instance in fedora 19. The pid of the process is stored in /run/http-xxx directory, and my problem is that this directory disappears after each reboot.

How can I stop the system from deleting this folder in /run?

+1 vote

Does anyone know what happened to the calculator? I upgraded to F19 and now the calculator shows up like a 2.00 simple calculator.

0 votes

I'm having trouble starting transmission-daemon. When I try to start it with systemctl, it hangs:

 # systemctl start transmission-daemon.service

If I let it be for a few minutes (~5), it finishes with a failure. The log is extremely unhelpful. This is very strange because it was working just fine until a few days ago.

...