LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Accidently closed Windows Manager in VNC (https://www.linuxquestions.org/questions/linux-networking-3/accidently-closed-windows-manager-in-vnc-317454/)

Rufus330Ci 04-26-2005 05:18 PM

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

Rufus330Ci 04-26-2005 08:05 PM

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.

Rufus330Ci 04-26-2005 08:17 PM

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 :(

Rufus330Ci 04-26-2005 09:01 PM

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.


All times are GMT -5. The time now is 12:48 AM.