LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   VNC Server on Linux - Which Desktop? (https://www.linuxquestions.org/questions/linux-networking-3/vnc-server-on-linux-which-desktop-210441/)

Echo Kilo 07-27-2004 09:52 PM

VNC Server on Linux - Which Desktop?
 
So I have tight VNC running on my Mandrake Linux Box, but when I connect, it does not use my default X window manager (KDE) in the client.

Instead, it uses ICE WM, sometimes KDE, sometimes not. How do I control which Windows Manager it will use?

What is the configuration file called in tight VNC?

You are the best. :)

netcrusher88 07-27-2004 10:37 PM

I'm not sure, but I think that VNC uses your ~/.xinitrc file and starts an X server with only a pseudo-display, and then allows clients to view this display. So, then, your ~/.xinitrc should control what WM VNC starts.

Simon_6162 07-28-2004 06:37 AM

on my system VNC uses ~/.vnc/xstartup for its config information

mine starts KDE every time with this

#!/bin/sh

unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
startkde &


All times are GMT -5. The time now is 10:12 AM.