LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-30-2004, 03:23 PM   #1
sokar
LQ Newbie
 
Registered: Oct 2003
Posts: 28

Rep: Reputation: 15
VNCserver - how to configure session


When i had RH9 running vncserver, a remote vnc client would have access to a gnome desktop. Now, with Fedora, there is just the plain X desktop (the one where there isn't even a menu bar, and the only menu is accessible by left-clicking the mouse). Is there a way to configure vncserver so that clients can see a gnome desktop?


Or, is there a way to make my desktop controlable, meaning, running vncserver on display 0? (to have the same effect that vncserver has on Windows)

Thanks
 
Old 01-30-2004, 03:47 PM   #2
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
You need to look at ~/user in
.vnc
Here is what mine looks like in redhat 8. Backup your old one and see if that still works to start the regular users desktop. You problably have twm or something like that as the X session.

On the :0 front. I know that VNC connects and grabs the first available, but thought the lowest one was 1. If you do this in a console...

init 3
it should kill X, you can start your VNC and see what desktop number it selects. I don't think it is possible though, to have X open locally, and then start a vnc server that also shares the same desktop number as the local one.

R.O.
 
Old 01-30-2004, 04:16 PM   #3
sokar
LQ Newbie
 
Registered: Oct 2003
Posts: 28

Original Poster
Rep: Reputation: 15
right under my nose

well the solution was in deed in the xstartup file, located in the .vnc directory. I just had to uncomment 2 lines, as explained in the file itself

thanks
 
Old 01-30-2004, 04:22 PM   #4
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
Cool, happy trails.

R.O.
 
Old 02-04-2004, 08:10 AM   #5
patpawlowski
Member
 
Registered: Mar 2003
Location: Centreville, Virginia
Distribution: Mandrak, Red Hat
Posts: 163

Rep: Reputation: 30
I'm having the same sort of problem. However, my xstartup file only has 2 lines:

# Mandrake Linux VNC session startup script
exec /etc/X11/xinit/xinitrc

I would like for it to use the xfce desktop. How can I set this?
 
Old 02-04-2004, 11:43 AM   #6
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
Well, the xintrc is tied to the the user's choice of desktop. So if you use KDE normally, but want to use xfce as the VNC desktop, create a new user, log into the desktop as them, change to xfce, then when that user starts xfce, VNC will use it. Otherwise, you can simply comment out the exec line and the put the desired window manager in the xstartup file. Make sure it is in your path.

hlrguy
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Robust vncserver startup file (rc.vncserver) arobinson74 Slackware 4 05-14-2005 05:33 AM
xfce4-session fails to save session ! OneManArmy Debian 0 12-10-2004 02:14 PM
VNCServer Resolution Question - Running a 1280x1024 vnc session on a 1024x768 system sirejman Linux - Networking 4 08-02-2004 01:09 AM
How do I clear a stale pts session after vncserver? mindmerge Linux - General 0 04-07-2004 12:07 AM
How do I configure my standard Session-type erik_wout_ew2 Linux - Software 4 12-09-2003 11:02 AM


All times are GMT -5. The time now is 02:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration