View previous topic :: View next topic |
Author |
Message |
John5788 Advocate
Joined: 06 Apr 2004 Posts: 2140 Location: 127.0.0.1
|
Posted: Fri Sep 09, 2011 4:48 pm Post subject: Restarting vino-server from SSH |
|
|
Hello,
How can I restart vino-server from SSH? I had to kill vino-server the other day while I was at home since it was consuming 100% CPU and I forgot to restart it locally. Now I am remote and I cannot start vino-server:
Code: | # /usr/libexec/vino-server --display=:0.0
No protocol specified
Cannot open display: :0.0
Run 'vino-server --help' to see a full list of available command line options |
Any help?
BTW is there a better VNC server to use besides vino? vino sucks alot. _________________ John5788 |
|
Back to top |
|
|
solamour l33t
Joined: 21 Dec 2004 Posts: 698 Location: San Diego, CA
|
Posted: Fri Sep 09, 2011 9:44 pm Post subject: Re: Restarting vino-server from SSH |
|
|
John5788 wrote: | BTW is there a better VNC server to use besides vino? vino sucks alot. |
"Better" is a relative term, so what's better for some people might not be so for others. That said, I use tightvnc, which works quite nicely with both Linux and Windows vnc viewers.
Code: | /etc/portage/package.use
net-misc/tightvnc server
|
Code: | Set VNC password.
$ vncpasswd |
Code: | Adjust according to your window manager.
~/.vnc/xstartup
unset SESSION_MANAGER
/usr/bin/startfluxbox
$ chmod 755 ~/.vnc/xstartup
|
After that, all I need to do is to start the vnc server.
From the vnc viewer, I can connect to the vnc server with "VNC_SERVER_IP:5901". Of course, for security reasons, you might want to consider SSH port-forwarding.
__
sol |
|
Back to top |
|
|
bmbroom n00b
Joined: 06 Jul 2011 Posts: 5
|
Posted: Thu Aug 09, 2012 6:09 am Post subject: Re: Restarting vino-server from SSH |
|
|
The following worked for me. I used it to access my already logged in desktop:
Code: | $ xterm -display :0 /usr/libexec/vino-server |
|
|
Back to top |
|
|
|