/srv/irclogs.ubuntu.com/2015/06/14/#ubuntu-gnome.txt

LinDolhi all00:49
LinDolgood morning :)00:49
austin4123Hi! I would appreciate if you guys could help me out. Here is the problem I'm facing:05:46
austin4123So I am trying to get the Vino VNC Server to startup on boot, meaning I don't have to login to have the VNC Server start. I am on Ubuntu GNOME 15.04, and I have already added "/usr/lib/vino/vino-server" to 'Startup Applications'.05:46
austin4123However, the VNC Server still won't start as soon as I boot up. I have to login in order for the VNC Server to start. What should I do?05:46
darkxstaustin4123, "startup applications" are user only06:00
darkxstyou will want a systemd unit if your on 15.0406:00
darkxstor an upstart session prior versions to that06:00
darkxstaustin4123, you can also try set org.gnome.desktop.remote-access enabled in dconf-editor06:04
austin4123darkxst it is enabled already in dconf07:51
austin4123darkxst what do you mean by systemd unit? How do I configure it so that Vino can start up automatically?07:52
darkxstaustin4123, I don't know if vino ships with one, but if it does its just a case of doing something `systemctl enable vino`08:28
darkxstif not you will need to create one08:28
austin4123darkxst I have searched through the systemd folder, and there is none for vino08:28
darkxsthttp://www.freedesktop.org/software/systemd/man/systemd.unit.html08:29
austin4123darkxst I'm really noob, and I have almost no idea what that article is talking about. Do you know if there are any existings one that have existed?08:30
austin4123I have been googling for a couple hours, but still can't find a solution08:31
darkxstaustin4123, this would be close to what you want http://www.itzgeek.com/how-tos/linux/centos-how-tos/configure-vnc-server-on-centos-7-rhel-7.html08:31
darkxstsee the bit half way done where they create a .service file08:31
darkxstI think you could just swap vncserver with vino-server08:32
austin4123Could you guide me on how I can do it? I have almost no idea what it means...08:34
darkxstaustin4123, or try nx nomachine, it uses virtualGL and should actually work better with gnome-shell08:35
darkxsthttps://www.nomachine.com/08:36
austin4123darkxst The reason I went with Vino is because it is already installed by default, and because of how I planned my server out, I need to remain with Vino...08:37
darkxstaustin4123, that is way faster than VNC though, especially over DSL type lines with crappy upload speeds08:38
austin4123darkxst, I know there are a ton of VNC servers out there and I really don't like Vino too, but again I'm kinda stuck on Vino...08:39
darkxstnomachine is not VNC server08:39
austin4123darkxst I haven't really went into detail on what it exactly does, but I need to use Vino for remote desktop access..08:41
darkxstthen go and make a systemd unit file, as per my other link08:43
austin4123I came here because I don't know how to make a systemd unit file08:44
darkxstaustin4123, I am not going to do it for you, read the page I linked, it has an example unit file08:45
darkxstand you should just need to replace vncserver with vino-server08:45
austin4123darkxst what does "@:5.service" in "vncserver@:5.service" mean?08:46
darkxstat a guess its telling to use display :508:50
austin4123when i ran the command "cp /lib/systemd/system/vinoserver@.service /etc/systemd/system/vino-server@:5.service", it returned:08:51
austin4123cp: cannot stat '/lib/systemd/system/vino-server@.service': No such file or directory08:52
darkxstyou may need to grab the file from centos packages!08:53
austin4123darkxst So first of all I need to find out where the vinoe-server.service file is right?08:53
austin4123huh?08:53
darkxstperhaps just cut+paste text from page, it seens complete enough08:55
darkxsti gtg, you nay have better luck in #ubuntu or so, this is nothing specific to Ubuntu GNOME08:56
austin4123ok. tried there, no response08:56
darkxstubuntuforums then perhaps08:58
austin4123tried there too.09:00
darkxstaustin4123, sorry but I do not have time to provide individual user support09:00
austin4123alright09:01
darkxstI barely have time to run Ubuntu GNOME atm09:01
darkxsts/run/lead/09:01
austin4123I just tried it, but it didn't work. I saved the file as "vino-server@.service" (without quotes). Did I did it correctly or should it be saved as other names?09:13
darkxstaustin4123, that name should be fine09:32
darkxstbut you need to enable the service with systemctl also09:33
austin4123I got the error "Failed to start vino-server@.service: Unit name vino-server@.service is not valid."09:38
austin4123, when I typed "systemctl start vino-server@.service" into the terminal09:39
darkxst@ maybe globbed, try \@ or just remove ti from filename09:41
meetingologydarkxst: Error: "maybe" is not a valid command.09:41
austin4123darkxst Error: "Failed to start vino-server.service: Unit vino-server.service failed to load: Invalid argument. See system logs and 'systemctl status vino-server.service' for details."09:44
austin4123Running systemctl status vino-server.service gives me:09:46
austin4123http://i.imgur.com/loKHrPe.png09:47
darkxstyou probably messed up the execstart.execstop lines somewhoe09:49
darkxstsomehow09:50
austin4123http://i.imgur.com/A3GUTq0.png09:54
austin4123I copied and pasted the code, replaced "vncserver" with "vino-server", replace <USER> with "b", my username09:55
darkxstaustin4123, the "quotes" have gone funny09:55
austin4123lol09:55
darkxstfix those and it will probably work better!09:56
austin4123almost a same error: http://i.imgur.com/F8Fjc5d.png10:03
austin4123I've rebooted the system10:03
austin4123could it be because vino-server is not in /usr/bin?10:03
darkxstyou need to use the correct path10:06
darkxst/usr/lib/vino/vino-server10:06
austin4123Changed the paths, got the same error: http://i.imgur.com/loKHrPe.png10:10
darkxstaustin4123, the error is probably because your quotes are messed up10:11
austin4123darkxst http://i.imgur.com/sRPKrsT.png10:12
austin4123btw when i tried to save the file, i got this: "(gedit:1980): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files"10:13
darkxstaustin4123, execstop opens with " but closes with '10:14
darkxstaustin4123, also [Install] should probably be on a new line10:21
darkxstaustin4123, also possibly might need to be using backticks `, since its passing to the shell10:23
austin4123so use ` for both opening and closing?10:24
darkxstaustin4123, maybe, though probably the most important bit is that open and closing match10:27
darkxst"some string' is never going to work ever10:28
austin4123darkxst alright so i tried copying and pasting the quotes directly. this is the current code: http://i.imgur.com/RmtJEvK.png10:29
austin4123it gives me this error: "(gedit:2139): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files" when i tried to save it10:29
darkxstaustin4123, you do not want wordproccesor friendly quotes in a script10:30
darkxstI would try ' for exec start/stop and if that dont work then `10:30
austin4123darkxst ok.10:30
darkxstbash probably doesnt even understand unicode quotes10:31
darkxstdash definately wont10:31
austin4123darkxst just tried ' for both exec start and exec stop and it didnt work: http://i.imgur.com/n5nidql.png10:34
austin4123trying ` now10:34
austin4123darkxst using backticks: http://i.imgur.com/G2aO5Ec.png gave me this error: "(gedit:2335): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files"10:35
austin4123when i tried to save it10:36
austin4123the current filename is "vino-server.service"10:37
* darkxst goes, must eat10:40
=== `nodedfree is now known as nodedfree
Noskcajdarkxst, Can we sync g-o-a or does it switching to webkit2gtk break stuff?21:52
darkxstNoskcaj, webkit switch is probably ok, but not sure if the yahoo removal will affect g-c-c23:18

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!