Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Difference between revisions of "Rock/vnc"

Line 24: Line 24:
 
  Starting applications specified in /root/.vnc/xstartup                           
 
  Starting applications specified in /root/.vnc/xstartup                           
 
  Log file is /root/.vnc/radxa:1.log
 
  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
 +
~

Revision as of 02:44, 27 March 2014


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

~