Difference between revisions of "Rock/vnc"
< Rock
(→Setting up the vnc servier) |
|||
Line 41: | Line 41: | ||
root@radxa:~# '''vncserver -kill :1''' | root@radxa:~# '''vncserver -kill :1''' | ||
root@radxa:~# '''vncserver -geometry 1280x800 :1''' | root@radxa:~# '''vncserver -geometry 1280x800 :1''' | ||
+ | |||
+ | Now the vnc server is running on rock with resolution 1280x800. | ||
== Access the desktop remotely == | == Access the desktop remotely == |
Revision as of 02:51, 27 March 2014
Setting up the vnc servier
You can access your radxa rock desktop from the network remotely by setting up the VNC (Virtual Network Computing) server. Install the vncserver if you haven't install it on your rock
sudo apt-get install tightvncserver
Run it the first time to setup the password:
root@radxa:~# vncserver You will require a password to access your desktops. Password: #(input your password here) Warning: password truncated to the length of 8. Verify: #(repeat the password) Would you like to enter a view-only password (y/n)? n #(input n here) xauth: file /root/.Xauthority does not exist New 'X' desktop is radxa:1 Creating default startup script /root/.vnc/xstartup Starting applications specified in /root/.vnc/xstartup Log file is /root/.vnc/radxa:1.log
Now edit ~/.vnc/xstartup file and add one line after the x-window-manager, it's like this:
#!/bin/sh xrdb $HOME/.Xresources xsetroot -solid grey #x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & #x-window-manager & startlubuntu & # Fix to make GNOME work export XKL_XMODMAP_DISABLE=1 /etc/X11/Xsession
Now let's restart the vnc server
root@radxa:~# vncserver -kill :1 root@radxa:~# vncserver -geometry 1280x800 :1
Now the vnc server is running on rock with resolution 1280x800.