Page 1 of 1

SSH question

Posted: Mon Sep 16, 2013 7:21 pm
by The Russian
I am trying to SSH and when i type startx i get erroor from xkbcomp are not fatal to the x server.

Re: SSH question

Posted: Mon Sep 16, 2013 8:45 pm
by The Russian
Oh,hmm is there anotherway to get graphic remotley from raspberry OS?

Re: SSH question

Posted: Mon Sep 16, 2013 9:22 pm
by pluggy
You can install an X server on the remote machine and use SSH : Most linux distros will do it with a bit of tweaking, windows needs extra software. Whole ,thread about it : http://www.raspberrypi.org/phpBB3/viewt ... 76#p120876

Windows how to : http://www.straightrunning.com/XmingNotes/pixming.php

More fiddly to get going than VNC or remote desktop but a much better experience running it, particularly on something with limited power (like a Pi).

Re: SSH question

Posted: Mon Sep 16, 2013 11:13 pm
by The Russian
Thanks I will read the links.

Re: SSH question

Posted: Wed Sep 18, 2013 8:23 pm
by The Russian
Ok so I have installed VNC on pi,but trying to access it from windows I get connection refused (10061).
I have the right ip and VNC is running on pi,what is wrong?

Re: SSH question

Posted: Thu Sep 19, 2013 2:29 pm
by The Russian
Got it working...

Re: SSH question

Posted: Thu Sep 19, 2013 2:41 pm
by The Russian
After the ip adress I wrote :1 to indicate what port I was using,here´s the guide I found:

http://learn.adafruit.com/adafruit-rasp ... alling-vnc

Re: SSH question

Posted: Sun Sep 22, 2013 10:01 am
by The Russian
Now I´m trying to get VNC to start at boot,I´ve maid a file in the autostart folder with the txt:
[Desktop Entry]
Type=Application
Name=TightVNC
Exec=vncserver :1
StartupNotify=false

but it doesn´t start at boot,why?

Re: SSH question

Posted: Sun Sep 22, 2013 2:59 pm
by crazyskeggy
Try the following on the command line:

Code: Select all

sudo update-rc.d script enable
where "script" is the script file located in the "/etc/init.d" directory.

Re: SSH question

Posted: Sun Sep 22, 2013 4:07 pm
by The Russian
error can´t find a LSB script for script

Re: SSH question

Posted: Sun Sep 22, 2013 6:28 pm
by AndrewS
Looks like you're talking at cross-purposes... TheRussian is talking about a desktop application autostart script... crazyskeggy is talking about a system service autostart script...

@TheRussian - this question pops up loads of times on the forums, so I'm sure the answer can't be hard to find if you try searching for it...