[00:49] <LinDol> hi all
[00:49] <LinDol> good morning :)
[05:46] <austin4123> Hi! I would appreciate if you guys could help me out. Here is the problem I'm facing:
[05:46] <austin4123> So 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] <austin4123> However, 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?
[06:00] <darkxst> austin4123, "startup applications" are user only
[06:00] <darkxst> you will want a systemd unit if your on 15.04
[06:00] <darkxst> or an upstart session prior versions to that
[06:04] <darkxst> austin4123, you can also try set org.gnome.desktop.remote-access enabled in dconf-editor
[07:51] <austin4123> darkxst it is enabled already in dconf
[07:52] <austin4123> darkxst what do you mean by systemd unit? How do I configure it so that Vino can start up automatically?
[08:28] <darkxst> austin4123, 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] <darkxst> if not you will need to create one
[08:28] <austin4123> darkxst I have searched through the systemd folder, and there is none for vino
[08:29] <darkxst> http://www.freedesktop.org/software/systemd/man/systemd.unit.html
[08:30] <austin4123> darkxst 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:31] <austin4123> I have been googling for a couple hours, but still can't find a solution
[08:31] <darkxst> austin4123, 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.html
[08:31] <darkxst> see the bit half way done where they create a .service file
[08:32] <darkxst> I think you could just swap vncserver with vino-server
[08:34] <austin4123> Could you guide me on how I can do it? I have almost no idea what it means...
[08:35] <darkxst> austin4123, or try nx nomachine, it uses virtualGL and should actually work better with gnome-shell
[08:36] <darkxst> https://www.nomachine.com/
[08:37] <austin4123> darkxst 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:38] <darkxst> austin4123, that is way faster than VNC though, especially over DSL type lines with crappy upload speeds
[08:39] <austin4123> darkxst, 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] <darkxst> nomachine is not VNC server
[08:41] <austin4123> darkxst I haven't really went into detail on what it exactly does, but I need to use Vino for remote desktop access..
[08:43] <darkxst> then go and make a systemd unit file, as per my other link
[08:44] <austin4123> I came here because I don't know how to make a systemd unit file
[08:45] <darkxst> austin4123, I am not going to do it for you, read the page I linked, it has an example unit file
[08:45] <darkxst> and you should just need to replace vncserver with vino-server
[08:46] <austin4123> darkxst what does "@:5.service" in "vncserver@:5.service" mean?
[08:50] <darkxst> at a guess its telling to use display :5
[08:51] <austin4123> when i ran the command "cp /lib/systemd/system/vinoserver@.service /etc/systemd/system/vino-server@:5.service", it returned:
[08:52] <austin4123> cp: cannot stat '/lib/systemd/system/vino-server@.service': No such file or directory
[08:53] <darkxst> you may need to grab the file from centos packages!
[08:53] <austin4123> darkxst So first of all I need to find out where the vinoe-server.service file is right?
[08:53] <austin4123> huh?
[08:55] <darkxst> perhaps just cut+paste text from page, it seens complete enough
[08:56] <darkxst> i gtg, you nay have better luck in #ubuntu or so, this is nothing specific to Ubuntu GNOME
[08:56] <austin4123> ok. tried there, no response
[08:58] <darkxst> ubuntuforums then perhaps
[09:00] <austin4123> tried there too.
[09:00] <darkxst> austin4123, sorry but I do not have time to provide individual user support
[09:01] <austin4123> alright
[09:01] <darkxst> I barely have time to run Ubuntu GNOME atm
[09:01] <darkxst> s/run/lead/
[09:13] <austin4123> I 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:32] <darkxst> austin4123, that name should be fine
[09:33] <darkxst> but you need to enable the service with systemctl also
[09:38] <austin4123> I got the error "Failed to start vino-server@.service: Unit name vino-server@.service is not valid."
[09:39] <austin4123> , when I typed "systemctl start vino-server@.service" into the terminal
[09:41] <darkxst> @ maybe globbed, try \@ or just remove ti from filename
[09:41] <meetingology> darkxst: Error: "maybe" is not a valid command.
[09:44] <austin4123> darkxst 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:46] <austin4123> Running systemctl status vino-server.service gives me:
[09:47] <austin4123> http://i.imgur.com/loKHrPe.png
[09:49] <darkxst> you probably messed up the execstart.execstop lines somewhoe
[09:50] <darkxst> somehow
[09:54] <austin4123> http://i.imgur.com/A3GUTq0.png
[09:55] <austin4123> I copied and pasted the code, replaced "vncserver" with "vino-server", replace <USER> with "b", my username
[09:55] <darkxst> austin4123, the "quotes" have gone funny
[09:55] <austin4123> lol
[09:56] <darkxst> fix those and it will probably work better!
[10:03] <austin4123> almost a same error: http://i.imgur.com/F8Fjc5d.png
[10:03] <austin4123> I've rebooted the system
[10:03] <austin4123> could it be because vino-server is not in /usr/bin?
[10:06] <darkxst> you need to use the correct path
[10:06] <darkxst> /usr/lib/vino/vino-server
[10:10] <austin4123> Changed the paths, got the same error: http://i.imgur.com/loKHrPe.png
[10:11] <darkxst> austin4123, the error is probably because your quotes are messed up
[10:12] <austin4123> darkxst http://i.imgur.com/sRPKrsT.png
[10:13] <austin4123> btw 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:14] <darkxst> austin4123, execstop opens with " but closes with '
[10:21] <darkxst> austin4123, also [Install] should probably be on a new line
[10:23] <darkxst> austin4123, also possibly might need to be using backticks `, since its passing to the shell
[10:24] <austin4123> so use ` for both opening and closing?
[10:27] <darkxst> austin4123, maybe, though probably the most important bit is that open and closing match
[10:28] <darkxst> "some string' is never going to work ever
[10:29] <austin4123> darkxst alright so i tried copying and pasting the quotes directly. this is the current code: http://i.imgur.com/RmtJEvK.png
[10:29] <austin4123> it 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 it
[10:30] <darkxst> austin4123, you do not want wordproccesor friendly quotes in a script
[10:30] <darkxst> I would try ' for exec start/stop and if that dont work then `
[10:30] <austin4123> darkxst ok.
[10:31] <darkxst> bash probably doesnt even understand unicode quotes
[10:31] <darkxst> dash definately wont
[10:34] <austin4123> darkxst just tried ' for both exec start and exec stop and it didnt work: http://i.imgur.com/n5nidql.png
[10:34] <austin4123> trying ` now
[10:35] <austin4123> darkxst 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:36] <austin4123> when i tried to save it
[10:37] <austin4123> the current filename is "vino-server.service"
[10:40]  * darkxst goes, must eat
[21:52] <Noskcaj> darkxst, Can we sync g-o-a or does it switching to webkit2gtk break stuff?
[23:18] <darkxst> Noskcaj, webkit switch is probably ok, but not sure if the yahoo removal will affect g-c-c