LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-26-2005, 05:18 PM   #1
Rufus330Ci
Member
 
Registered: Aug 2002
Location: PA
Distribution: Mandrake Linux v10.2, RHEL3u8, RHEL4u4 & RHEL5 Client Beta2 for desktop
Posts: 59

Rep: Reputation: 15
Accidently closed Windows Manager in VNC


Here's a newb move.... I got VNC to work like a champ. The first day I had my sweet background showing up and everything. Well the next day I run it remotely and I get the horrible red background, supposeably this helps on the speed of VNC, I personally liked the graphic background, so like an ungrateful person I went snoopin around.

Well I went and closed my Windows Manager after changing it around thru a couple IceVm, Zvm, I think they were called. Well the one didn't have a task bar and it asked if i wanted to really close the Windows Manager and I did now, when I connect I have the desktop background and no buttons, icons etc, obviously I closed my desktop manager, how do I bring this back?

Oh, I already restarted VncServer, but don't know how to restart XVnc, and I don't want to have to restart the box, I have PHP, MySQL, Perl and other apps not in the startup configuration :O(

Any help would be greatful, thanks. Mandrake Linux v10.1 distro, using VNC 4.1.1

- Justin
 
Old 04-26-2005, 08:05 PM   #2
Rufus330Ci
Member
 
Registered: Aug 2002
Location: PA
Distribution: Mandrake Linux v10.2, RHEL3u8, RHEL4u4 & RHEL5 Client Beta2 for desktop
Posts: 59

Original Poster
Rep: Reputation: 15
Nevermind, I fixed it. If anyone does a move like this just follow these steps:

log on to root thru SSH/telnet. Issue vncserver -kill :1

1 = <display#>, then just restart an instance of vncserver on that display again, that would be command vncserver :1

Then you'll have your old settings back on your vnc display. I'm still having a problem using more than one display even after allocating vncserver :2, maybe there is a setting inside a config file for this.
 
Old 04-26-2005, 08:17 PM   #3
Rufus330Ci
Member
 
Registered: Aug 2002
Location: PA
Distribution: Mandrake Linux v10.2, RHEL3u8, RHEL4u4 & RHEL5 Client Beta2 for desktop
Posts: 59

Original Poster
Rep: Reputation: 15
Not to beat a dead horse but does anyone know how to change background in an Xvnc session, I want it to look like KDE 3.2 and have my car as the background
 
Old 04-26-2005, 09:01 PM   #4
Rufus330Ci
Member
 
Registered: Aug 2002
Location: PA
Distribution: Mandrake Linux v10.2, RHEL3u8, RHEL4u4 & RHEL5 Client Beta2 for desktop
Posts: 59

Original Poster
Rep: Reputation: 15
Wow I figured it out again by myself lol.

There is a directory .vnc in your home dir, that contains a file xstartup.
In this file you can specify the window manager. This is how I modified
this file to start kde

#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
startkde &

I got this from some other guy, but inside this file you notice it actually calls another file out in etc/X11/xinit/ I'm pretty sure its called xinit.rc or something, go in here and put these lines it will change the setting for root users logging in, which is sorta bad, but mines setup for vnc member to be root ;X. Anyways this will allow kde to load, then just go to configure your desktop and set the background, prepare for it to be EXTREMELY slow as I turned it back to blue background and kept the kde taskbar.
 
  


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 from windows pfunk Linux - Software 2 02-28-2005 05:21 PM
Window manager preferences for remote vnc sessions? dkw Linux - Newbie 1 12-25-2004 08:47 PM
Can't see VNC server from windows bentman78 Linux - Software 6 08-10-2003 02:21 PM
x windows configuration and vnc bobygeorge15 Linux - Newbie 0 07-24-2003 06:52 AM
VNC - Windows - Linux IceOnly Linux - Software 1 05-28-2003 03:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:10 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