Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Restarting vino-server from SSH
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
John5788
Advocate
Advocate


Joined: 06 Apr 2004
Posts: 2099
Location: 127.0.0.1

PostPosted: Fri Sep 09, 2011 4:48 pm    Post subject: Restarting vino-server from SSH Reply with quote

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
View user's profile Send private message
solamour
Guru
Guru


Joined: 21 Dec 2004
Posts: 495
Location: San Diego, CA

PostPosted: Fri Sep 09, 2011 9:44 pm    Post subject: Re: Restarting vino-server from SSH Reply with quote

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:
emerge -v tightvnc


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.
Code:
$ vncserver :1


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
View user's profile Send private message
bmbroom
n00b
n00b


Joined: 06 Jul 2011
Posts: 5

PostPosted: Thu Aug 09, 2012 6:09 am    Post subject: Re: Restarting vino-server from SSH Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum