LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   VNC logon help (https://www.linuxquestions.org/questions/linux-software-2/vnc-logon-help-85834/)

voodoothunder 08-26-2003 08:14 AM

VNC logon help
 
Hey,

Here is my situation. I have VNCserver running on my home Redhat 9.0 linux machine. I'm trying to connect on this WinXP machine. I can connect without any problems but all I get is the 'checkered' X Windows. I can ssh and ftp too.


My question is how can I start KDE (or enlightenment) remotely so I can use VNC. I can connect but I just can't get the Window Manager to load up.

Thanks

JoeDuncan 08-26-2003 08:44 AM

Ok, it's been a while since I've used VNC on linux, but IIRC, there was some configuration you had to set so that the VNC server would start a headless KDE session *before* you connect remotely... (i.e. the KDE session is already started and running without a display before you attempt to establish a connection...)

So my advice would be to read the VNC docs carefully looking for info on how to start up your session before attempting to connect.

IIRC, what I use to do is log in via telnet, start up the KDE session with VNC server and then connect with the client...

voodoothunder 08-26-2003 12:26 PM

OK, thanks, I got it. Again, I should've just opened my eyes more!

VNC sets up a ~/.vnc/xstartup file. All you do is replace the exec command with exec startkde or for enlightenment exec /usr/local/enlightenment/bin/enlightenment

Redhat 9.0 has a funny script. It calls /etc/X11/xinit/xinitrc. So I completely bypass this file all together and just execute kde. Can anyone understand this file for RedHat, I'm thinking it is may be Perl but I'm not sure.

THanks

david_ross 08-26-2003 12:34 PM

The first line of the script usually gives you a clue:
#!/bin/sh

Hence it is a bash script.


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