Vnc4server
Eamonn Sullivan
eamonn.sullivan at gmail.com
Fri Apr 15 05:59:10 UTC 2005
On 4/14/05, Vincent Labreche <vincent.dev at gmail.com> wrote:
> I tried some different ways, and thus this is what i currently do:
>
> Wake-on-lan the server.
> Wait for it to boot up to the session manager
> SSH into it with putty and log into my account
> Start the vnc4server
> Start thightVnc on my comp and connect to the server.
>
> But now, all i got is a blank background and a terminal session opened...
> What i need is a way to log in my server graphicaly even if no session
> are started kinda like... well i do at work to windows NT and 2003...
>
You need to create an xstartup file in ~/.vnc (the ".vnc" folder in
your home directory). Mine looks like this:
-----------------------------
#!/bin/sh
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
gnome-session &
------------------------
Then make the file executable:
chmod +x xstartup
Then restart vnc4server
-Eamonn
More information about the ubuntu-users
mailing list