LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   VNC Always xterm (https://www.linuxquestions.org/questions/linux-software-2/vnc-always-xterm-357576/)

Gerardoj 08-27-2005 02:40 PM

VNC Always xterm
 
HI Guys:

I have a problem with my vncserver, I already change my xstartup script as:

Code:

#!/bin/sh

[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
gnome-session &

But I still have the problem that when I run vncviewer as: vncviewer 192.168.1.100:1 I get xterm console. Even if I delete all the script and I leave xstartup in blank I get the xterm.
What can be the problem in this case?

Thanks a lot for your help.

Hangdog42 08-28-2005 09:58 AM

At the risk of asking the brutally obvious, are you editing the right xstartup file? It should be in the ~/.vnc directory of the user that starts the vncserver.

Gerardoj 08-28-2005 10:37 PM

Yeah off course I changed the file on my /home/user/.vnc/ dir dir. When I start my vncserver I get:

Code:

user@r0oTer:~$ vncserver

New 'r0oTer:1 (user)' desktop is r0oTer:1

Starting applications specified in /home/user/.vnc/xstartup
Log file is /home/user/.vnc/r0oTer:1.log

I really don't know what could be the problem?

actually I did a search for xstartup and I just got it on my /home/user/.vnc/ dir

Hangdog42 08-29-2005 07:33 AM

This is weird. Your xstartup file looks fine, and it seems to be in the right place. The only thing I can think of is to look in your r0oter:1.log file and see if there are any clues.


All times are GMT -5. The time now is 12:11 PM.