Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X VNC question (SOLVED)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
GoofballJM1
Guru
Guru


Joined: 22 Mar 2004
Posts: 392
Location: Denver, CO USA

PostPosted: Wed Jun 29, 2005 11:25 pm    Post subject: X VNC question (SOLVED) Reply with quote

I have my vnc server up and running just fine, only problem is I get a default X environment, no XFCE4 that I usually run when I am in front of the computer. How do I change this?
_________________
"Great spirits have often encountered violent opposition from weak minds." - Albert Einstein


Last edited by GoofballJM1 on Sat Jul 02, 2005 3:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
Big Jim Slade
Apprentice
Apprentice


Joined: 04 May 2005
Posts: 197
Location: Washington State

PostPosted: Thu Jun 30, 2005 2:00 am    Post subject: Reply with quote

In your home folder (whichever home you are running the vncserver from) there will be a hidden directory called .vnc and in there is the xstartup file. This is essentially your startup script, and at the end is a line to start twm. Comment this out and add (or replace it with) startxfce4 & Like this (ex. ~/.vnc/xstartup):
Code:
#!/bin/sh

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


I comment out the xterm line as well, so I don't get a terminal window everytime I launch it...
Back to top
View user's profile Send private message
GoofballJM1
Guru
Guru


Joined: 22 Mar 2004
Posts: 392
Location: Denver, CO USA

PostPosted: Sat Jul 02, 2005 3:19 pm    Post subject: Reply with quote

Hey that fixed it! Thanks a lot! :)
_________________
"Great spirits have often encountered violent opposition from weak minds." - Albert Einstein
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum