LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-16-2003, 02:30 PM   #1
cmfarley19
Member
 
Registered: Nov 2002
Location: Central VA
Distribution: Ubuntu/Debian
Posts: 228

Rep: Reputation: 32
VNC - Selecting different WindowManagers with VNC


I would like to be able to select from different window managers via VNC. I've done some searching and found that I shoule be able to set up my xstartup file something like:
#!/bin/sh
xrdb $HOME/.Xresources
xterm -geometry 80x24+10+10 -ls &
case "$VNCDESKTOP" in
kde)
startkde &
;;

twm)
xsetroot -solid grey
twm &
;;

icewm)
xsetroot -solid grey
icewm &
;;
esac

then do:
cfarley@gcnpd:~$ vncserver -name kde
or
cfarley@gcnpd:~$ vncserver -name twm

This doesn't seem to work. It will always launch what ever is in my ~/.xsession file:
#!/bin/sh

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

-------------------------------
Any thoughts?
 
  


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
vnc pulisubs Linux - Newbie 4 12-21-2004 11:23 AM
need VNC to allow 'logout/login' from Gnome (gnome & VNC runs fine) spudler Linux - Networking 3 11-14-2004 10:02 AM
Vnc socks Linux - Software 0 07-11-2004 08:09 PM
other than vnc JROCK1980 Linux - Software 1 07-07-2004 10:41 PM
Vnc... Cruz Linux - Software 2 01-05-2003 05:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:42 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration