[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: VNC-setup: newbie



>
> #!/bin/sh
>
> #xrdb $HOME/.Xresources
> #xsetroot -solid grey
> #nxterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
> #twm &
> #control-panel &
> #xfm &
> exec /etc/X11/xinit/xinitrc &
>
First things first, I don't know if you know what the # does but just in case 
I will tell you that it makes any line that starts with it a comment and is 
ignored in the running of the program.  The exception to this is the very 
first line which tells the system which shell to use to run the program.

My xstartup looks like this:

#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
blackbox &

The first 3 lines are setting up what you will see when you use the VNCViewer, 
the last line is my window manager.  You may use KDE, Gnome etc.  I wouldn't 
recomend that you run either KDE or Gnome as they are big window managers.
The default on my system was twm but I prefere blackbox as you can see.

I would change yours to look like:

xrdb $HOME/.Xresources
xsetroot -solid grey
nxterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &
#control-panel &
#xfm &
exec /etc/X11/xinit/xinitrc &

Try that and see if it works.  You should see some changes but I can't 
remember what they will look like.

Craig



Reply to: